Try this:
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-antrun-plugin/artifactId
version1.0/version
executions
execution
idant-install/id
phaseinstall/phase
Kaare
I have a similar issue where I want to add a jar to the test classpath,
before running the tests.
The jar is generated dynamically (at runtime), so I can't make a static
declaration in the pom.
I need to do something like:
testResources
testResource
Is there a built-in property in Maven2 that gives path to the local
repository ?
Thanks
-H
NB: Replaying message, as the mail client messed-up the xml extract of the
previous message
Hi Chris
Had my first go at the lists, but hasn't been very lucky there :(
I first tried this:
ant antfile=build/ant-build.xml dir=${basedir} inheritRefs=true
target name=generate-sources/
/ant
Hi
I'm using Maven 2.0.1 and trying to use a non-standard Ant task
(scriptdef), in my pom.xml. It's giving me
this error:
Embedded error: Could not create task or type of type: scriptdef.
Looks like the Maven classpath is not being used by Ant...
Just to confirm, I have the required
Hi Chris
Had my first go at the lists, but hasn't been very lucky there :(
I first tried this:
ant antfile=build/ant-build.xml dir=${basedir} inheritRefs=true
target name=generate-sources/
/ant
It didn't work, so now I'm directly embedding my ant script inside the
pom.xml. Which is: