mirror of https://github.com/apache/maven.git
setting the artifact versionRange instead of the version itself for artifacts created as a result of relocation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348467 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bb5c7568d4
commit
07c2c719a4
|
@ -154,7 +154,7 @@ public class MavenMetadataSource
|
|||
}
|
||||
if ( relocation.getVersion() != null )
|
||||
{
|
||||
artifact.setVersion( relocation.getVersion() );
|
||||
artifact.setVersionRange( VersionRange.createFromVersion( relocation.getVersion() ) );
|
||||
}
|
||||
|
||||
if ( artifact.getDependencyFilter() != null &&
|
||||
|
|
Loading…
Reference in New Issue