You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Vincent Massol <vm...@pivolis.com> on 2005/03/10 14:33:53 UTC
maven:get not always working?
Hi,
Here's some simple code:
<goal name="jarexec:run">
<maven:get var="manifest" plugin="maven-jar-plugin"
property="maven.jar.manifest"/>
<maven:get var="defaultJarName" plugin="maven-jar-plugin"
property="maven.jar.final.name"/>
<echo>(1) = ${manifest}</echo>
<echo>(2) = ${defaultJarName}</echo>
</goal>
Running it prints:
(1) = [...]/conf/Manifest.mf
(2) =
(1) is as expected showing that first maven:get has worked properly. However
(2) is not right. It should not be empty.
Any idea why? Looking at the jar plugin I don't see any difference between
the 2 properties.
I must be missing something very obvious... :-)
Thanks
-Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org