You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/08/06 05:37:26 UTC
[jira] Updated: (MNG-3633) Dependency Management Wildcards
[ http://jira.codehaus.org/browse/MNG-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-3633:
------------------------------
Fix Version/s: 2.x
I don't agree with using wildcards, but I can't find the feature request for dependency grouping/templating in general so keeping this to represent that.
> Dependency Management Wildcards
> -------------------------------
>
> Key: MNG-3633
> URL: http://jira.codehaus.org/browse/MNG-3633
> Project: Maven 2
> Issue Type: Improvement
> Components: Inheritance and Interpolation
> Reporter: Geoffrey Wiseman
> Fix For: 2.x
>
>
> I'd love to have the option of wildcards in dependency management. When you're working with a lot of dependencies that share a common version, it's really irritating to have to add each one to the dependency management.
> For instance:
> {code:xml}
> <dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-*</artifactId>
> <version>2.5.4</version>
> </dependency>
> </dependencies>
> </dependencyManagement>
> {code}
> Instead of:
> {code:xml}
> <properties>
> <springVersion>2.5.4</springVersion>
> </properties>
> <dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>com.feedroom.feedroom-commons</groupId>
> <artifactId>common</artifactId>
> <version>1.2-SNAPSHOT</version>
> </dependency>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-orm</artifactId>
> <version>${springVersion}</version>
> </dependency>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-test</artifactId>
> <version>${springVersion}</version>
> </dependency>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-beans</artifactId>
> <version>${springVersion}</version>
> </dependency>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-aop</artifactId>
> <version>${springVersion}</version>
> </dependency>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-jdbc</artifactId>
> <version>${springVersion}</version>
> </dependency>
> </dependencies>
> </dependencyManagement>
> {code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira