Hi Chris,
what is your build.xml actually doing?! Is it creating sources than this
is supported by the maven-antrun-plugin. If it is creating a JAR you
might be able to upload it to your repo. So the main question is which
build system is in charge ....
Cheers,
Siegfried Goeschl
Chris Miner wrote:
Hi All
I am trying to integrate my maven 2.0 oriented build system with another
project which uses ant. So I thought to use the maven-antrun-plugin to
execute an ant task during the compile phase, and thus take advantage of the
existing build.xml file.
The problems come at jar creation time. My jar is empty because no content
was marked for inclusion, and the empty jar ends up under target, along with
all the results from the ant build.
How can I get the ant produced content in my maven produced jar? Is it a
problem at jar creation time for Maven to be writing to the same target
directory?
And finally, Is there better documentation regarding how to integrate legacy
ant builds into a Maven 2.0 build system than can be found at:
http://maven.apache.org/plugins/maven-antrun-plugin/introduction.html
Cheers,
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]