Ant plugin changes dIon Gillard Arnaud Heritier Ant script looks for dependencies in several remote repositories. Add License file to jar META-INF. "get-deps" target store downloads to the default local maven repository ( ${user.home}/.maven/repository). Allow URL substitutions in generated build.xml files. Obey jar override and not attempt to download relative jars. Ant user can set proxy settings. New property maven.ant.compatibility if you want a script compatible with ant 1.5 (actually for proxy settings). Use relative paths in test resources filesets. Add ant's setproxy tag. Use relative paths in directory properties. Compile tests and run them only if Junit is present in ANT (display a warning otherwise). Resources are correctly copied to the specified targetPath. Corrects also NumberFormatException. pom.build.unitTest.resourcesis made up of several resourceelements. Remove NumberFormatException if pom.build.unitTest.resourcesdoesn't exist. Change plugin tests to use 'assert' tags Replace use of 'target' directory with appropriate variables Use relative path for javadoc. Check unit test source dir exists before making relative path Make relative paths output for various pom values. Added test project Separate build.xml template from plugin.jelly Allow dependencies other than 'jars' to be downloaded Use first remote repo the user has specified for gets Added the new maven.ant.excludedTests property If a project has no test source, the test targets are empty.

Fixing a chicken-and-egg problem. The "test" and "compile-tests" tasks were putting target/${final.name}.jar into the classpath.

But... the "jar" target that creates that jarfile is dependent upon those two targets.

So, there was no way for the first two to succeed since the jarfile couldn't be created. Now, the first two include target/classes in the classpath and all is well.

Added the maven.ant.generatebuild.file property and docs Added more documentation on properties and supported SCM systems
Fix documentation Generated ant build should execute the unit tests before generating a jar. Original release for Maven 1.0-beta6