You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephen Connolly (JIRA)" <ji...@codehaus.org> on 2014/01/17 12:42:50 UTC
[jira] (MNG-3825) Dependencies with classifier should not always
require a version.
[ https://jira.codehaus.org/browse/MNG-3825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Connolly updated MNG-3825:
----------------------------------
Fix Version/s: (was: 3.2)
Issues to be reviewed for 4.x
> Dependencies with classifier should not always require a version.
> -----------------------------------------------------------------
>
> Key: MNG-3825
> URL: https://jira.codehaus.org/browse/MNG-3825
> Project: Maven 2 & 3
> Issue Type: Improvement
> Components: Dependencies
> Reporter: Paul Gier
> Fix For: Issues to be reviewed for 4.x
>
>
> If I have two dependencies one with a classifier and one without, that look something like this:
> {code:xml}
> <dependency>
> <groupId>com.mycompany</groupId>
> <artifactId>project1</artifact>
> <version>1</version>
> </dependency>
> <dependency>
> <groupId>com.mycompany</groupId>
> <artifactId>project1</artifact>
> <classifier>client</classifier>
> <version>1</version>
> </dependency>
> {code}
> Currently I need to specify versions for both of them. If I specify the versions in dependency management, I should only have to specify the non-classifier version. The dependency with the classifier should default to the same version as the one without the dependency. This would save a lot of extra configuration for some projects.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira