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
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