Closed
Description
If th groupId of an dependency is defined in a property and this property-variable is used in the dependency the execution of mvn versions:display-dependency-updates
shows some problems.
eg. following pom.xml snippet
...
<properties>
<archunitGroupId>com.tngtech.archunit</archunitGroupId>
<archunit.version>1.1.0</archunit.version>
</properties>
...
<dependency>
<groupId>${archunitGroupId}</groupId>
<artifactId>archunit</artifactId>
<version>${archunit.version}</version>
</dependency>
will lead to this console output:
[INFO] --- versions-maven-plugin:2.16.0:display-dependency-updates (default-cli) @ myProject---
Downloading from nexus: http://myNexusRepo/nexus/content/groups/public/$%7BarchunitGroupId%7D/archunit/maven-metadata.xml
As you can see, the GroupId was not correctly determined.
Excpected behaviour is a correct usage of variables even for groupId an artifactId.