hello,
is there a way to access properties of the "current" node? situation: i am
currently using maven-dependency-plugin:copy to copy various maven artifacts
to a special folder in my webapp and i want the final name of the current
artifactItem to consist of "groupId"+"."+"artifactId"+"_"+"version". of
course when using the properties like below i only get the coordinates of
the project itself. the original file name in nexus is
svg_1.1.0-v200806040011.jar. Any ideas? Thanks.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<outputAbsoluteArtifactFilename>true</outputAbsoluteArtifactFilename>
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/platform/plugins</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<artifactItems>
<artifactItem>
<groupId>org.w3c.dom</groupId>
<artifactId>svg</artifactId>
<version>1.1.0-v200806040011</version>
<destFileName>${groupId}.${artifactId}_${version}</destFileName><!-- WANT IT
TO RESOLVE TO org.w3c.dom.svg_1.1.0-v200806040011.jar -->
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
--
View this message in context:
http://www.nabble.com/accessing-properties-%22current%22-node-tp23964005p23964005.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]