[
https://jira.codehaus.org/browse/MNG-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Benedict updated MNG-2742:
-------------------------------
Fix Version/s: (was: Issues to be reviewed for 3.x)
> Using a version range in a plugin dependency causes "failure to resolve
> artifact" error
> ---------------------------------------------------------------------------------------
>
> Key: MNG-2742
> URL: https://jira.codehaus.org/browse/MNG-2742
> Project: Maven
> Issue Type: Bug
> Components: Dependencies
> Affects Versions: 2.0.4
> Environment: Windows XP SP2, java version "1.5.0_08"
> Reporter: Matthew Adams
> Attachments: mvn.txt, pom.xml
>
>
> If I declare a dependency in a plugin using an exact version, Maven correctly
> resolves the artifact. If, however, I change the dependency's version to a
> version range, Maven no longer resolves the artifact. I'm using the very
> same artifact and version range in my project's dependencies and everything
> works ok. See my attached pom.xml file for details, in particular, the
> comments "<!-- Using version range here ok -->" and "<!-- Can't use version
> range here! -->".
> I am using the "major.minor.revision-buildNumber" version string syntax as
> described on the wiki.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)