You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pino Silvaggio <pi...@gmail.com> on 2011/12/07 04:52:21 UTC

[ANN] dependencypath Maven Plugin 1.1.0 Released

      dependencypath-maven-plugin (avaliable from the Maven central
      repository)

Documentation: 
http://bitstrings.github.com/sites/dependencypath-maven-plugin 
<http://bitstrings.github.com/sites/dependencypath-maven-plugin/index.html>
github: https://github.com/bitstrings/dependencypath-maven-plugin

Sets a property pointing to the artifact file for each selected project 
dependency. Each property name will have a base name in form of 
groupId:artifactId:type:[classifier][.relative][.suffix]. This is 
similar to the /dependency:properties/ goal but with additional 
features, like setting a relative path and filtering.

*(this version contains the lifecycle mapping for use with m2e 1.1.0)*


      What exactly does this plugin do?

Basically it sets a property which value is the path to a artifact of a 
dependency:

junit:junit:jar=/home/user/.m2/repository/junit/junit/4.8.2/junit-4.8.2.jar

or

junit:junit:jar.relative=../../../.m2/repository/junit/junit/4.8.2/junit-4.8.2.jar


---

<plugin>
<groupId>org.bitstrings.maven.plugins</groupId>
<artifactId>dependencypath-maven-plugin</artifactId>
<version>1.1.0</version>
<executions>
<execution>
<id>set-all</id>
<goals>
<goal>set</goal>
</goals>
</execution>
</executions>
</plugin>