diff options
Diffstat (limited to 'installer')
-rw-r--r-- | installer/aspectjinstaller-assembly.xml | 49 | ||||
-rw-r--r-- | installer/pom.xml | 65 |
2 files changed, 114 insertions, 0 deletions
diff --git a/installer/aspectjinstaller-assembly.xml b/installer/aspectjinstaller-assembly.xml new file mode 100644 index 000000000..2927dd618 --- /dev/null +++ b/installer/aspectjinstaller-assembly.xml @@ -0,0 +1,49 @@ +<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.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"> + + <id>aspectjinstaller</id> + <formats> + <format>jar</format> + </formats> + <includeBaseDirectory>false</includeBaseDirectory> + + <fileSets> + <fileSet> + <directory>../build/target/classes</directory> + <outputDirectory>.</outputDirectory> + <excludes> + <exclude>org/**</exclude> + </excludes> + </fileSet> + <fileSet> + <directory>../aj-build/dist/docs</directory> + <outputDirectory>files</outputDirectory> + </fileSet> + + <fileSet> + <directory>../runtime/target/site/apidocs</directory> + <outputDirectory>files/doc/runtime-apidocs</outputDirectory> + </fileSet> + </fileSets> + + <files> + <file> + <source>../aspectjrt/target/aspectjrt-${project.version}.jar</source> + <outputDirectory>files/lib</outputDirectory> + <destName>aspectjrt.jar</destName> + </file> + <file> + <source>../aspectjweaver/target/aspectjweaver-${project.version}.jar</source> + <outputDirectory>files/lib</outputDirectory> + <destName>aspectjweaver.jar</destName> + </file> + <file> + <source>../aspectjtools/target/aspectjtools-${project.version}.jar</source> + <outputDirectory>files/lib</outputDirectory> + <destName>aspectjtools.jar</destName> + </file> + </files> + +</assembly> + diff --git a/installer/pom.xml b/installer/pom.xml new file mode 100644 index 000000000..61c94c054 --- /dev/null +++ b/installer/pom.xml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + 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> + + <parent> + <groupId>org.aspectj</groupId> + <artifactId>aspectj-parent</artifactId> + <version>1.9.3.BUILD-SNAPSHOT</version> + </parent> + + <artifactId>installer</artifactId> + <packaging>pom</packaging> + <name>AspectJ Intaller</name> + + <dependencies> + <dependency> + <groupId>org.aspectj</groupId> + <artifactId>run-all-junit-tests</artifactId> + <version>${project.version}</version> + </dependency> + </dependencies> + + <build> + <plugins> + <!-- skip creation of test-jar in here --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <executions> + <execution> + <id>test-jar</id> + <phase></phase> + </execution> + </executions> + </plugin> + + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <id>aspectjinstaller-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <finalName>aspectj-${project.version}</finalName> + <appendAssemblyId>false</appendAssemblyId> + <archive> + <manifestEntries> + <Main-Class>$installer$.org.aspectj.Main</Main-Class> + </manifestEntries> + </archive> + <descriptors> + <descriptor>aspectjinstaller-assembly.xml</descriptor> + </descriptors> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> |