aboutsummaryrefslogtreecommitdiffstats
path: root/lib/pom.xml
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-04-10 19:55:01 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2021-04-10 19:55:01 +0700
commit062cd2ef86a66fe3219d3c315685bbe62a07ae62 (patch)
treea84f6ac44ef757766d5582347527a4f7e0ca5e0b /lib/pom.xml
parent92edca3ea7a482d59a9086b1cb61413ed8604b67 (diff)
downloadaspectj-062cd2ef86a66fe3219d3c315685bbe62a07ae62.tar.gz
aspectj-062cd2ef86a66fe3219d3c315685bbe62a07ae62.zip
Delete docbook XSL + DTD directories from libs, download instead
It was kind of difficult to identify and find the vintage versions used in AspectJ in download archives, but finally I managed to. Docs generation looks good visually, tests to be run on GitHub CI. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'lib/pom.xml')
-rw-r--r--lib/pom.xml98
1 files changed, 58 insertions, 40 deletions
diff --git a/lib/pom.xml b/lib/pom.xml
index c060ee695..621c49def 100644
--- a/lib/pom.xml
+++ b/lib/pom.xml
@@ -136,6 +136,32 @@
<sha1>c61a373f6d50ff8fcfba900934f7254d44f9735b</sha1>
</configuration>
</execution>
+ <execution>
+ <id>download-docbook-dtd</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>https://www.oasis-open.org/docbook/xml/4.1.2/docbkx412.zip</url>
+ <outputDirectory>docbook</outputDirectory>
+ <outputFileName>docbkx412.zip</outputFileName>
+ <sha1>b9ae7a41056bfaf885581812d60651b7b5531519</sha1>
+ </configuration>
+ </execution>
+ <execution>
+ <id>download-docbook-xsl</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>https://sourceforge.net/projects/docbook/files/OldFiles/docbook-xsl-1.44.zip/download</url>
+ <outputDirectory>docbook</outputDirectory>
+ <outputFileName>docbook-xsl-1.44.zip</outputFileName>
+ <sha1>626e7bee806ea14812f6f95cc2d187ab6ba9114a</sha1>
+ </configuration>
+ </execution>
<!--
Obsolete because we uploaded both binary and source JARs to GitHub Packages, so we can use JDiff as a
normal dependency. Keep this for reference, so we can remember where we found it.
@@ -347,6 +373,10 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>truezip-maven-plugin</artifactId>
<version>1.2</version>
+ <!--
+ The TrueZIP plugin can seamlessly copy out of or into (nested) ZIP files as if they were normal file system
+ paths. No additional moves and deletes with Antrun are necessary.
+ -->
<executions>
<execution>
<id>unzip-ant-binaries</id>
@@ -357,10 +387,6 @@
<configuration>
<verbose>true</verbose>
<fileset>
- <!--
- 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/${lib.ant.artifact}-bin.zip/${lib.ant.artifact}</directory>
<outputDirectory>ant</outputDirectory>
</fileset>
@@ -375,10 +401,6 @@
<configuration>
<verbose>true</verbose>
<fileset>
- <!--
- 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/${lib.ant.artifact}-src.zip/${lib.ant.artifact}/src/main</directory>
<outputDirectory>ant/ant-src.zip</outputDirectory>
</fileset>
@@ -393,10 +415,6 @@
<configuration>
<verbose>true</verbose>
<fileset>
- <!--
- 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>commons/commons-beanutils-${lib.commons.beanutils.version}.jar</directory>
<outputDirectory>commons/commons.jar</outputDirectory>
</fileset>
@@ -411,10 +429,6 @@
<configuration>
<verbose>true</verbose>
<fileset>
- <!--
- 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>commons/commons-collections-${lib.commons.collections.version}.jar</directory>
<outputDirectory>commons/commons.jar</outputDirectory>
</fileset>
@@ -429,10 +443,6 @@
<configuration>
<verbose>true</verbose>
<fileset>
- <!--
- 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>commons/commons-digester-${lib.commons.digester.version}.jar</directory>
<outputDirectory>commons/commons.jar</outputDirectory>
</fileset>
@@ -447,10 +457,6 @@
<configuration>
<verbose>true</verbose>
<fileset>
- <!--
- 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>commons/commons-logging-${lib.commons.logging.version}.jar</directory>
<outputDirectory>commons/commons.jar</outputDirectory>
</fileset>
@@ -465,10 +471,6 @@
<configuration>
<verbose>true</verbose>
<fileset>
- <!--
- 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>commons/commons-beanutils-${lib.commons.beanutils.version}-sources.jar/commons-beanutils-${lib.commons.beanutils.tag}/src/java</directory>
<outputDirectory>commons/commons-src.zip</outputDirectory>
</fileset>
@@ -483,10 +485,6 @@
<configuration>
<verbose>true</verbose>
<fileset>
- <!--
- 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>commons/commons-collections-${lib.commons.collections.version}-sources.jar/commons-collections-${lib.commons.collections.tag}/src/java</directory>
<outputDirectory>commons/commons-src.zip</outputDirectory>
</fileset>
@@ -501,10 +499,6 @@
<configuration>
<verbose>true</verbose>
<fileset>
- <!--
- 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>commons/commons-digester-${lib.commons.digester.version}-sources.jar/commons-digester-${lib.commons.digester.tag}/src/java</directory>
<outputDirectory>commons/commons-src.zip</outputDirectory>
</fileset>
@@ -519,15 +513,39 @@
<configuration>
<verbose>true</verbose>
<fileset>
- <!--
- 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>commons/commons-logging-${lib.commons.logging.version}-sources.jar/commons-logging-${lib.commons.logging.tag}/src/java</directory>
<outputDirectory>commons/commons-src.zip</outputDirectory>
</fileset>
</configuration>
</execution>
+ <execution>
+ <id>unzip-docbook-dtd</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <verbose>true</verbose>
+ <fileset>
+ <directory>docbook/docbkx412.zip</directory>
+ <outputDirectory>docbook/docbook-dtd</outputDirectory>
+ </fileset>
+ </configuration>
+ </execution>
+ <execution>
+ <id>unzip-docbook-xsl</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <verbose>true</verbose>
+ <fileset>
+ <directory>docbook/docbook-xsl-1.44.zip/docbook-xsl-1.44</directory>
+ <outputDirectory>docbook/docbook-xsl</outputDirectory>
+ </fileset>
+ </configuration>
+ </execution>
<!--
Obsolete because we uploaded both binary and source JARs to GitHub Packages, so we can use JDiff as a normal
dependency. Keep this for reference, so we can remember how we built it. After download + zip the deployment