maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject alias for dependencies
Date Wed, 11 Sep 2013 13:25:23 GMT
Hi guys,

i don't think we can but it would be great to be able to alias
dependencies. For instance:

in a dependencyManagement i could define:

<dependency>
 <artifactId>...</>
 <groupId>...</>
 <version>...</>
 <alias>foo</alias>
</dependency>

then later in children poms use:

<dependency> <!--  an attribute would be better here -->
    <alias>foo</alias>
</dependency>

It would allow:
1) to get smaller dependencies (less verbosity)
2) (this one is much more important) dynamic dependencies

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message