Hello, I am invoking some ant targets using maven antrun plugin but I cant
see how to pass maven properties to Ant build file. For example, I have the
following maven property:
properties
jws.pathsrc/main/javawebstart/jws.path
/properties
But this properties is not accessible in ant build.
Marcos Silva Pereira wrote:
how to pass maven properties to Ant build file.
This can be found in a frillion places, including googling for your
subject ;-)
configuration
tasks
property name=foobar value=${foobar}/
You can use other attributes instead of value, check the docos around.
This can be found in a frillion places, including googling for your
subject ;-)
Really, sorry. :-)
configuration
tasks
property name=foobar value=${foobar}/
You can use other attributes instead of value, check the docos around.
Anyway, this is a quite verbose, especially for maven