Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display-dependency-updates does not substitute properties #1146

Open
onacit opened this issue Sep 23, 2024 · 0 comments
Open

display-dependency-updates does not substitute properties #1146

onacit opened this issue Sep 23, 2024 · 0 comments

Comments

@onacit
Copy link
Contributor

onacit commented Sep 23, 2024

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

    <version.org.junit.jupiter>5.11.0</version.org.junit.jupiter>
    <version.org.junit>${version.org.junit.jupiter}</version.org.junit>
  </properties>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.junit</groupId>
        <artifactId>junit-bom</artifactId>
        <version>${version.org.junit}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
</project>
$ mvn -DprocessDependencyManagementTransitive=false versions:display-dependency-updates

[INFO] --- versions:2.16.2:display-dependency-updates (default-cli) @ kftc-financial-institution-info ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.fasterxml.jackson:jackson-bom ............... 2.17.2 -> 2.18.0-rc1
[INFO]   org.hibernate.orm:hibernate-platform ..... 7.0.0.Alpha3 -> 7.0.0.Beta1
[INFO]   org.junit:junit-bom ........... ${version.org.junit.jupiter} -> 5.11.0 <<<<<<<<<<<<<<<<<<<<
[INFO] 
[INFO] No dependencies in Dependencies have newer versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant