versions icon indicating copy to clipboard operation
versions copied to clipboard

display-property-updates doesn't notice what display-dependency-updates does

Open THausherr opened this issue 7 years ago • 1 comments

From a build on Sept 21:

--- versions-maven-plugin:2.7:display-dependency-updates (default) @ MavenSpring31Test --- artifact org.springframework:spring-core: checking for updates from central artifact com.google.protobuf:protobuf-java: checking for updates from central artifact mysql:mysql-connector-java: checking for updates from central artifact commons-dbcp:commons-dbcp: checking for updates from central The following dependencies in Dependencies have newer versions: org.springframework:spring-context .... 5.0.9.RELEASE -> 5.1.0.RELEASE org.springframework:spring-core ....... 5.0.9.RELEASE -> 5.1.0.RELEASE --- versions-maven-plugin:2.7:display-property-updates (default) @ MavenSpring31Test --- Major version changes allowed Major version changes allowed The following version properties are referencing the newest available version: ${log4j2.version} ............................................ 2.11.1 ${spring.version} ..................................... 5.0.9.RELEASE All version properties are referencing the newest version available.

So display-property-updates didn't notice that spring isn't up to date. relevant pom segments:

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <spring.version>5.1.0.RELEASE</spring.version>
        <log4j2.version>2.11.1</log4j2.version>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
    </properties>
    
...
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.2</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jdbc</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <version>${spring.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>commons-dbcp</groupId>
            <artifactId>commons-dbcp</artifactId>
            <version>1.4</version>
        </dependency>
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>8.0.12</version>
        </dependency>       
        <dependency>
            <groupId>com.google.protobuf</groupId>
            <artifactId>protobuf-java</artifactId>
            <version>3.6.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-core</artifactId>
            <version>${log4j2.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-api</artifactId>
            <version>${log4j2.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-jcl</artifactId>
            <version>${log4j2.version}</version>
        </dependency>
    </dependencies>

....
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>versions-maven-plugin</artifactId>
                <version>2.7</version>
                <executions>
                    <execution>
                        <phase>install</phase>
                        <goals>
                            <goal>display-plugin-updates</goal>
                            <goal>display-dependency-updates</goal>
                            <goal>display-property-updates</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin> 

THausherr avatar Nov 29 '18 19:11 THausherr

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Oct 02 '22 03:10 github-actions[bot]