Hello,
try this
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasegenerate-sources/phase
configuration
tasks
echo message=Properties Configured
--/
hi Marco
Thanks for your replay now i am able to run the ant task in
maven 2.0.4
Regards
Neeraj
On 10/5/06, Marco Mistroni [EMAIL PROTECTED] wrote:
Hello,
try this
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
hi all
i want to include ant task in my pom (maven 2.0.4 ) but how i can
proceed , i do not know
i did googling and find some link on apache site
http://maven.apache.org/plugins/maven-antrun-plugin/usage.html
but here it is not clear and i tried i did not get any error and also i am
hello,
check what is the actual value of ${maven.build.dir}/${pom.artifactId}-${
pom.currentVersion}.jar by echoing...
maven will result in a success regardless the outcome of copy (pls anyone
correct me if i m mwrong, but i have experienced same behaviour)..
hth
marco.
On 10/4/06, Neeraj
First off, your XML is not well-formed. echo.../ant:echo doesn't
look like valid XML, so I'm not surprised its not working right for
you. Also you enclosed the echo/ node inside an ant node but then
the copy/ node was outside it. So you need to make the XML proper
before proceeding. Follow the
hi Wayne
Thanks for your link
Actully i am not geeting any ant error ,maven should have to give the error
if we are wrong
yes you are right that i have wrong syntex
but still maven show build succesfully i am not able to understand why this
is happening
and still in delima how i call ant task
Hello,
maven2 will result in an error if the execution of your ant task fails..
try to use this in your pom.xml, you'll see that maven will error out
taskdef name=webdoclet classname=xdoclet.modules.web.WebDocletTask/
webdoclet destdir=./
if you havent imported proper dependencies and defined
hi Macro
Actuly ${maven.build.dir}/${pom.artifactId}-${ pom.currentVersion}.jar
this is working fine in maven 1.X and it will give you the location of your
target folder and give the name of your jar file like
src
target(${maven.build.dir}/)
my-1.0.jar(${pom.artifactId}-${