</dependency>
<dependency>
+ <!-- Identical to lib/ant/lib/ant.jar, a former system-scoped dependency -->
<groupId>ant</groupId>
<artifactId>ant</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/ant.jar</systemPath>
+ <version>${lib.ant.version}</version>
</dependency>
</dependencies>
<artifactId>libx</artifactId>
<properties>
- <ant.name>apache-ant</ant.name>
- <ant.version>1.6.3</ant.version>
- <ant.artifact>${ant.name}-${ant.version}</ant.artifact>
+ <lib.ant.name>apache-ant</lib.ant.name>
+ <lib.ant.artifact>${lib.ant.name}-${lib.ant.version}</lib.ant.artifact>
</properties>
<build>
<goal>wget</goal>
</goals>
<configuration>
- <url>https://archive.apache.org/dist/ant/binaries/${ant.artifact}-bin.zip</url>
+ <url>https://archive.apache.org/dist/ant/binaries/${lib.ant.artifact}-bin.zip</url>
<outputDirectory>ant</outputDirectory>
<sha1>3fa9f816a0c4c63249efad8e6225f2e83794f0c0</sha1>
</configuration>
<goal>wget</goal>
</goals>
<configuration>
- <url>https://archive.apache.org/dist/ant/source/${ant.artifact}-src.zip</url>
+ <url>https://archive.apache.org/dist/ant/source/${lib.ant.artifact}-src.zip</url>
<outputDirectory>ant</outputDirectory>
<sha1>b9f3c8c31bb6c9069ad5b655059a17769af12f20</sha1>
</configuration>
<!-- Binary is identical to committed version -->
<groupId>regexp</groupId>
<artifactId>regexp</artifactId>
- <version>1.2</version>
+ <version>${lib.regexp.version}</version>
<type>jar</type>
<overWrite>false</overWrite>
<outputDirectory>regexp</outputDirectory>
This is why we use the TrueZIP plugin: It can seamlessly copy out of or into ZIP files as if they
were normal file system paths. No additional moves and deletes with Antrun are necessary.
-->
- <directory>ant/${ant.artifact}-bin.zip/${ant.artifact}</directory>
+ <directory>ant/${lib.ant.artifact}-bin.zip/${lib.ant.artifact}</directory>
<outputDirectory>ant</outputDirectory>
</fileset>
</configuration>
This is why we use the TrueZIP plugin: It can seamlessly copy out of or into ZIP files as if they
were normal file system paths. No additional moves and deletes with Antrun are necessary.
-->
- <directory>ant/${ant.artifact}-src.zip/${ant.artifact}/src/main</directory>
+ <directory>ant/${lib.ant.artifact}-src.zip/${lib.ant.artifact}/src/main</directory>
<outputDirectory>ant/ant-src.zip</outputDirectory>
</fileset>
</configuration>
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/xml-apis.jar</systemPath>
+ <!-- Identical to lib/ant/lib/xml-apis.jar, a former system-scoped dependency -->
+ <groupId>xerces</groupId>
+ <artifactId>xmlParserAPIs</artifactId>
+ <version>${lib.ant.xerces.version}</version>
</dependency>
<dependency>
- <groupId>xercesImpl</groupId>
+ <!-- Identical to lib/ant/lib/xercesImpl.jar, a former system-scoped dependency -->
+ <groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/xercesImpl.jar</systemPath>
+ <version>${lib.ant.xerces.version}</version>
</dependency>
<dependency>
<groupId>jrockit</groupId>
<scope>system</scope>
<systemPath>${project.basedir}/../lib/ext/jrockit/jrockit.jar</systemPath>
</dependency>
-
+
<dependency>
- <groupId>ant</groupId>
+ <!-- Identical to lib/ant/lib/ant.jar, a former system-scoped dependency -->
+ <groupId>ant</groupId>
<artifactId>ant</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/ant.jar</systemPath>
+ <version>${lib.ant.version}</version>
</dependency>
</dependencies>
-<!--
+<!--
<build>
<plugins>
<plugin>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <properties>
- <revision>1.9.7.BUILD-SNAPSHOT</revision>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
<groupId>org.aspectj</groupId>
<artifactId>aspectj-parent</artifactId>
<packaging>pom</packaging>
<version>1.9.7.BUILD-SNAPSHOT</version>
<name>AspectJ Parent Project</name>
+ <properties>
+ <revision>1.9.7.BUILD-SNAPSHOT</revision>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <lib.ant.version>1.6.3</lib.ant.version>
+ <lib.ant.xerces.version>2.6.2</lib.ant.xerces.version>
+ <lib.regexp.version>1.2</lib.regexp.version>
+ </properties>
+
<modules>
<module>util</module>
<module>bridge</module>
<systemPath>${project.basedir}/../lib/commons/commons.jar</systemPath>
</dependency>
<dependency>
+ <!-- Identical to lib/ant/lib/ant.jar, a former system-scoped dependency -->
<groupId>ant</groupId>
<artifactId>ant</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/ant.jar</systemPath>
+ <version>${lib.ant.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<systemPath>${project.basedir}/../lib/jdiff/jdiff.jar</systemPath>
</dependency>
<dependency>
+ <!-- Identical to lib/ant/lib/ant-launcher.jar, a former system-scoped dependency -->
<groupId>ant</groupId>
<artifactId>ant-launcher</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/ant-launcher.jar</systemPath>
+ <version>${lib.ant.version}</version>
</dependency>
</dependencies>
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/xml-apis.jar</systemPath>
+ <!-- Identical to lib/ant/lib/xml-apis.jar, a former system-scoped dependency -->
+ <groupId>xerces</groupId>
+ <artifactId>xmlParserAPIs</artifactId>
+ <version>${lib.ant.xerces.version}</version>
</dependency>
<dependency>
- <groupId>xercesImpl</groupId>
+ <!-- Identical to lib/ant/lib/xercesImpl.jar, a former system-scoped dependency -->
+ <groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/xercesImpl.jar</systemPath>
+ <version>${lib.ant.xerces.version}</version>
</dependency>
<dependency>
+ <!-- Identical to lib/ant/lib/ant.jar, a former system-scoped dependency -->
<groupId>ant</groupId>
<artifactId>ant</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/ant.jar</systemPath>
+ <version>${lib.ant.version}</version>
</dependency>
</dependencies>
</project>
<systemPath>${project.basedir}/../lib/jdiff/jdiff.jar</systemPath>
</dependency>
<dependency>
+ <!-- Identical to lib/ant/lib/ant.jar, a former system-scoped dependency -->
<groupId>ant</groupId>
<artifactId>ant</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/ant.jar</systemPath>
+ <version>${lib.ant.version}</version>
</dependency>
<dependency>
- <groupId>jakarta-regexp</groupId>
- <artifactId>jakarta-regexp</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/regexp/jakarta-regexp-1.2.jar</systemPath>
+ <!-- Identical to lib/regexp/jakarta-regexp-1.2.jar, a former system-scoped dependency -->
+ <groupId>regexp</groupId>
+ <artifactId>regexp</artifactId>
+ <version>${lib.regexp.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<type>test-jar</type>
</dependency>
<dependency>
- <groupId>xercesImpl</groupId>
- <artifactId>xercesImpl</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/xercesImpl.jar</systemPath>
+ <!-- Identical to lib/ant/lib/xml-apis.jar, a former system-scoped dependency -->
+ <groupId>xerces</groupId>
+ <artifactId>xmlParserAPIs</artifactId>
+ <version>${lib.ant.xerces.version}</version>
</dependency>
<dependency>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/xml-apis.jar</systemPath>
+ <!-- Identical to lib/ant/lib/xercesImpl.jar, a former system-scoped dependency -->
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ <version>${lib.ant.xerces.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<type>test-jar</type>
</dependency>
<dependency>
+ <!-- Identical to lib/ant/lib/ant.jar, a former system-scoped dependency -->
<groupId>ant</groupId>
<artifactId>ant</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/ant.jar</systemPath>
+ <version>${lib.ant.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<version>${project.version}</version>
</dependency>
<dependency>
+ <!-- Identical to lib/ant/lib/ant-launcher.jar, a former system-scoped dependency -->
<groupId>ant</groupId>
<artifactId>ant-launcher</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/../lib/ant/lib/ant-launcher.jar</systemPath>
+ <version>${lib.ant.version}</version>
</dependency>
<dependency>
<groupId>commons</groupId>