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:
John Dennis Casey 2005-11-23 15:49:36 +00:00
parent bb5c7568d4
commit 07c2c719a4
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ public class MavenMetadataSource
} }
if ( relocation.getVersion() != null ) if ( relocation.getVersion() != null )
{ {
artifact.setVersion( relocation.getVersion() ); artifact.setVersionRange( VersionRange.createFromVersion( relocation.getVersion() ) );
} }
if ( artifact.getDependencyFilter() != null && if ( artifact.getDependencyFilter() != null &&