-<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
+<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
<id>aspectjmatcher</id>
-
+
<formats>
<format>jar</format>
</formats>
-
+
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
-<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
+<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
- <id>sources</id>
+<id>aspectjmatcher-sources</id>
<formats>
<format>jar</format>
</executions>
</plugin>
-
- <!--
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>3.0.0</version>
- <executions>
- <execution>
- <id>unzipasm</id>
- <phase>prepare-package</phase>
- <configuration>
- <target>
- <echo message="unzip jarjar'd asm" />
- <unzip
- src="${project.basedir}/../lib/asm/asm-9.1.renamed.jar"
- dest="target/asm-unzipped" />
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- -->
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
-<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
+<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
<id>aspectjrt</id>
-<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
+<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
- <id>sources</id>
+<id>aspectjrt-sources</id>
<formats>
<format>jar</format>
-<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
+<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
<id>aspectjtools</id>
-
+
<formats>
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
+ <dependencySets>
+ <dependencySet>
+ <unpack>true</unpack>
+ <includes>
+ <include>org.aspectj:org.eclipse.jdt.core</include>
+ <include>org.aspectj:asm-renamed</include>
+ </includes>
+ </dependencySet>
+ </dependencySets>
+
<fileSets>
<!-- runtime -->
<fileSet>
<exclude>META-INF/maven/**</exclude>
</excludes>
</fileSet>
- <fileSet>
- <directory>target/asm-unzipped</directory>
- <outputDirectory>.</outputDirectory>
- <excludes>
- <exclude>META-INF/maven/**</exclude>
- <exclude>org/**</exclude>
- <exclude>META-INF/MANIFEST.MF</exclude>
- </excludes>
- </fileSet>
-
+
<!-- tools -->
<fileSet>
<directory>../ajbrowser/target/classes</directory>
<exclude>META-INF/maven/**</exclude>
</excludes>
</fileSet>
- <fileSet>
- <directory>target/jdtcore-unzipped</directory>
- <outputDirectory>.</outputDirectory>
- <excludes>
- <exclude>META-INF/MANIFEST.MF</exclude>
- </excludes>
- </fileSet>
</fileSets>
</assembly>
-<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
+<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
- <id>sources</id>
+<id>aspectjtools-sources</id>
<formats>
<format>jar</format>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
+
<fileSet>
<directory>../weaver/src/main/java</directory>
<outputDirectory>.</outputDirectory>
<directory>../loadtime/src/main/java</directory>
<outputDirectory>.</outputDirectory>
</fileSet>
- <!--
- <fileSet>
- <directory>target/asm-unzipped</directory>
- <outputDirectory>.</outputDirectory>
- </fileSet>
- -->
-
- <!-- tools -->
+
+ <!-- Tools -->
<fileSet>
<directory>../ajbrowser/src/main/java</directory>
<outputDirectory>.</outputDirectory>
<directory>../taskdefs/src/main/java</directory>
<outputDirectory>.</outputDirectory>
</fileSet>
+
+ <!-- Dependencies -->
<fileSet>
- <directory>target/jdtcore-unzipped-src</directory>
+ <directory>target/unzipped-sources</directory>
<outputDirectory>.</outputDirectory>
</fileSet>
+
</fileSets>
</assembly>
<packaging>pom</packaging>
<name>AspectJ Compiler</name>
- <dependencies>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>org.aspectj.ajdt.core</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
<build>
<plugins>
</executions>
</plugin>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>3.0.0</version>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
- <id>unzipasm</id>
- <phase>prepare-package</phase>
- <configuration>
- <target>
- <echo message="unzip jarjar'd asm" />
- <unzip
- src="${project.basedir}/../lib/asm/asm-9.1.renamed.jar"
- dest="target/asm-unzipped" />
- </target>
- </configuration>
+ <id>unzip-dependency-sources</id>
<goals>
- <goal>run</goal>
+ <goal>unpack-dependencies</goal>
</goals>
- </execution>
-
- <execution>
- <id>unzipjdt</id>
<phase>prepare-package</phase>
<configuration>
- <target>
- <echo message="unzip patched jdtcore" />
- <unzip
- src="${project.basedir}/../lib/jdtcore-aj/jdtcore-for-aspectj.jar"
- dest="target/jdtcore-unzipped" />
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
-
- <execution>
- <id>unzipjdtsrc</id>
- <phase>prepare-package</phase>
- <configuration>
- <target>
- <echo message="unzip patched jdtcore sources" />
- <unzip
- src="${project.basedir}/../lib/jdtcore-aj/jdtcore-for-aspectj-src.zip"
- dest="target/jdtcore-unzipped-src" />
- </target>
+ <classifier>sources</classifier>
+ <!--<failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>-->
+ <includeArtifactIds>org.eclipse.jdt.core,asm-renamed</includeArtifactIds>
+ <outputDirectory>${project.build.directory}/unzipped-sources</outputDirectory>
+ <!-- Avoid accidentally shading test-scoped dependencies like JUnit -->
+ <includeScope>runtime</includeScope>
</configuration>
- <goals>
- <goal>run</goal>
- </goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>org.aspectj.ajdt.core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>org.eclipse.jdt.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>asm-renamed</artifactId>
+ </dependency>
+ </dependencies>
+
</project>
-<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
+<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
<id>aspectjweaver</id>
-
+
<formats>
<format>jar</format>
</formats>
-
+
<includeBaseDirectory>false</includeBaseDirectory>
+ <dependencySets>
+ <dependencySet>
+ <unpack>true</unpack>
+ <includes>
+ <include>org.aspectj:asm-renamed</include>
+ </includes>
+ </dependencySet>
+ </dependencySets>
+
<fileSets>
<fileSet>
<directory>../weaver/target/classes</directory>
<exclude>META-INF/maven/**</exclude>
</excludes>
</fileSet>
- <fileSet>
- <directory>target/asm-unzipped</directory>
- <outputDirectory>.</outputDirectory>
- <excludes>
- <exclude>META-INF/maven/**</exclude>
- <exclude>org/**</exclude>
- <exclude>META-INF/MANIFEST.MF</exclude>
- </excludes>
- </fileSet>
</fileSets>
</assembly>
-<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
+<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
- <id>sources</id>
+<id>aspectjweaver-sources</id>
<formats>
<format>jar</format>
<directory>../loadtime/src/main/java</directory>
<outputDirectory>.</outputDirectory>
</fileSet>
- <!--
+ <!-- Dependencies -->
<fileSet>
- <directory>target/asm-unzipped</directory>
+ <directory>target/unzipped-sources</directory>
<outputDirectory>.</outputDirectory>
</fileSet>
- -->
</fileSets>
</assembly>
<packaging>pom</packaging>
<name>AspectJ Weaver</name>
- <dependencies>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>weaver</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
<build>
<plugins>
</executions>
</plugin>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>3.0.0</version>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
- <id>unzipasm</id>
+ <id>unzip-dependency-sources</id>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
<phase>prepare-package</phase>
<configuration>
- <target>
- <echo message="unzip jarjar'd asm" />
- <unzip
- src="${project.basedir}/../lib/asm/asm-9.1.renamed.jar"
- dest="target/asm-unzipped" />
- </target>
+ <classifier>sources</classifier>
+ <!--<failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>-->
+ <includeArtifactIds>asm-renamed</includeArtifactIds>
+ <outputDirectory>${project.build.directory}/unzipped-sources</outputDirectory>
+ <!-- Avoid accidentally shading test-scoped dependencies like JUnit -->
+ <includeScope>runtime</includeScope>
</configuration>
- <goals>
- <goal>run</goal>
- </goals>
</execution>
</executions>
</plugin>
<Can-Redefine-Classes>true</Can-Redefine-Classes>
</manifestEntries>
-
<manifestSections>
<manifestSection>
<name>org/aspectj/weaver/</name>
</plugins>
</build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>weaver</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>asm-renamed</artifactId>
+ </dependency>
+ </dependencies>
+
</project>
-<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
+<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
<id>aspectjinstaller</id>
<formats>
<directory>../aj-build/dist/docs</directory>
<outputDirectory>files</outputDirectory>
</fileSet>
-
+
<fileSet>
<directory>../runtime/target/site/apidocs</directory>
<outputDirectory>files/doc/runtime-apidocs</outputDirectory>