You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Basil James Whitehouse III (JIRA)" <ji...@codehaus.org> on 2008/06/27 17:13:26 UTC

[jira] Commented: (MNG-3633) Dependency Management Wildcards

    [ http://jira.codehaus.org/browse/MNG-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139812#action_139812 ] 

Basil James Whitehouse III commented on MNG-3633:
-------------------------------------------------

Or even to be able to wildcard on the groupid:
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>*</artifactId>
			<version>2.4.5</version>
		</dependency>


> 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