4.0.0 org.aspectj aspectj-parent 1.9.22-SNAPSHOT lib This module downloads + installs libraries used by many tests, especially those running as Ant jobs. You should not build this module during every build because it is somewhat slow, downloading stuff from 3rd-party websites, unzipping some libraries (e.g. a full Ant distribution) and creating new ZIP files (e.g. source JARs, compound JARs containing multiple libraries). So just run 'mvn compile' once after cloning the AspectJ repository and you should be all set to subsequently build AspectJ itself. If you forget this step, a Maven Enforcer rule in the AspectJ root POM will fail the build and remind you to build this module. Normally you never have to call 'mvn clean' here, but if for some reason the installed libraries are in an inconsistent state (e.g. after an incomplete download), you can do so and then run 'mvn compile' again. BTW, running 'mvn compile' multiple times will not repeat any download via Maven Dependency or Download Maven plugins, but repeat all zip/unzip steps in TrueZIP Maven plugin. So try not to call it unnecessarily. provisioned.marker apache-ant ${lib.ant.name}-${lib.ant.version} provision-libs ${lib.provisioned.marker} com.googlecode.maven-download-plugin download-maven-plugin 1.6.7 true download-ant-binaries generate-resources wget https://archive.apache.org/dist/ant/binaries/${lib.ant.artifact}-bin.zip ant 3fa9f816a0c4c63249efad8e6225f2e83794f0c0 download-ant-sources generate-resources wget https://archive.apache.org/dist/ant/source/${lib.ant.artifact}-src.zip ant b9f3c8c31bb6c9069ad5b655059a17769af12f20 org.apache.maven.plugins maven-dependency-plugin 3.1.2 copy generate-resources copy org.aspectj org.eclipse.jdt.core ${jdt.core.version} jar false jdtcore-aj jdtcore-for-aspectj.jar org.aspectj org.eclipse.jdt.core ${jdt.core.version} java-source sources false jdtcore-aj jdtcore-for-aspectj-src.zip com.googlecode.jarjar jarjar 1.3 jar false jarjar jarjar-1.3.jar junit junit 3.8.1 jar false junit junit.jar junit junit 3.8.1 jar false ant/lib junit.jar junit junit 3.8.1 jar sources false junit junit-src.zip org.codehaus.mojo truezip-maven-plugin unzip-ant-binaries process-resources copy true ant/${lib.ant.artifact}-bin.zip/${lib.ant.artifact} ant zip-ant-sources process-resources copy true ant/${lib.ant.artifact}-src.zip/${lib.ant.artifact}/src/main ant/ant-src.zip org.codehaus.mojo build-helper-maven-plugin create-marker-file process-resources bsh-property org.aspectj org.eclipse.jdt.core clean-libs org.apache.maven.plugins maven-clean-plugin clean-up-libs clean clean . ${lib.provisioned.marker} ant/** jarjar/** jdtcore-aj/** junit/** false org.apache.maven.plugins maven-enforcer-plugin enforce-libraries-exist compile enforce There is an inconsistency in module subdirectory 'lib'. Please run 'mvn --projects lib -P clean-libs clean compile'. This should take care of cleaning and freshly downloading all necessary libraries to that directory, where some tests expect them to be. ${lib.provisioned.marker} ant/bin/ant.bat ant/lib/junit.jar jarjar/jarjar-1.3.jar jdtcore-aj/jdtcore-for-aspectj.jar junit/junit.jar true