[jboss-cvs] JBossAS SVN: r64782 - in projects/aop/trunk: aop and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Aug 22 11:49:54 EDT 2007
Author: pgier
Date: 2007-08-22 11:49:54 -0400 (Wed, 22 Aug 2007)
New Revision: 64782
Added:
projects/aop/trunk/aop/pom-jdk14.xml
projects/aop/trunk/pom-jdk14.xml
Log:
[JBBUILD-406] Adding retro build poms for aop.
Added: projects/aop/trunk/aop/pom-jdk14.xml
===================================================================
--- projects/aop/trunk/aop/pom-jdk14.xml (rev 0)
+++ projects/aop/trunk/aop/pom-jdk14.xml 2007-08-22 15:49:54 UTC (rev 64782)
@@ -0,0 +1,460 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ - Notes for building and running tests.
+ - Do to some limitations of the maven surefire plugin, the tests must
+ - occur in a separate lifecycle from the build.
+ -
+ - mvn -f pom-jdk14.xml install - This will build the jdk14 version of the project.
+ -
+ -->
+<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/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.jboss.aop-jdk14</groupId>
+ <artifactId>jboss-aop-parent-jdk14</artifactId>
+ <version>1-SNAPSHOT</version>
+ <relativePath>../pom-jdk14.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.aop-jdk14</groupId>
+ <artifactId>jboss-aop-jdk14</artifactId>
+ <packaging>jar</packaging>
+ <version>2.0.0-SNAPSHOT</version>
+ <name>JBoss AOP</name>
+ <description>JBoss AOP Framework</description>
+ <url>http://labs.jboss.org/jbossaop</url>
+ <build>
+ <sourceDirectory>src/main/</sourceDirectory>
+ <testSourceDirectory>src/test/</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>docs</directory>
+ <includes>
+ <include>jboss-aop_1_0.dtd</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>src/etc</directory>
+ <includes>
+ <include>jbossorg-eula.txt</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jboss-retro-plugin</artifactId>
+ <version>1.0-beta-1</version>
+ <executions>
+ <execution>
+ <id>weave-classes</id>
+ <goals>
+ <goal>weave</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/classes-jdk14</outputDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>weave-test-classes</id>
+ <goals>
+ <goal>weave-tests</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/test-classes-jdk14</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <weaverClass>org.jboss.weaver.retro.WeaverRetroJdk14</weaverClass>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <classesDirectory>${project.build.directory}/classes-jdk14</classesDirectory>
+ <archive>
+ <manifestEntries>
+ <Premain-Class>org.jboss.aop.standalone.Agent</Premain-Class>
+ <Can-Redefine-Classes>true</Can-Redefine-Classes>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <excludes>
+ <exclude>org/jboss/aop/hook/JRockit*</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <!-- The tests here are skipped, and for now
+ - they should be run with ant until some of the maven issues
+ - can be worked out. -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <!-- When assembly plugin 2.2-beta-2 is released, we should be able to use
+ - this configuration instead of the antrun config
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-2-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>jdk50</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/assembly/jdk50.xml</descriptor>
+ </descriptors>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ <manifestEntries>
+ <Implementation-URL>${pom.url}</Implementation-URL>
+ <Premain-Class>org.jboss.aop.standalone.Agent</Premain-Class>
+ <Can-Redefine-Classes>true</Can-Redefine-Classes>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </execution>
+ <execution>
+ <id>jdk50-client</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/assembly/jdk50-client.xml</descriptor>
+ </descriptors>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ <manifestEntries>
+ <Implementation-URL>${pom.url}</Implementation-URL>
+ <Premain-Class>org.jboss.aop.standalone.Agent</Premain-Class>
+ <Can-Redefine-Classes>true</Can-Redefine-Classes>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </execution>
+ <execution>
+ <id>pluggable-instrumentor</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/assembly/pluggable-instrumentor.xml</descriptor>
+ </descriptors>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ <manifestEntries>
+ <Implementation-URL>${pom.url}</Implementation-URL>
+ <Premain-Class>org.jboss.aop.standalone.PluggableInstrumentor</Premain-Class>
+ <Can-Redefine-Classes>true</Can-Redefine-Classes>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>-->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <!-- This execution is required until the assembly plugin can correctly
+ - add custom manifest attributes to jar files.
+ -->
+ <id>create-jars</id>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <phase>package</phase>
+ <configuration>
+ <tasks>
+ <property name="java.vm.version" value="${java.vm.version}"/>
+ <!-- Build the jboss-aop-jdk50.jar -->
+ <jar destfile="${project.build.directory}/jboss-aop-jdk14.jar">
+ <fileset dir="${project.build.directory}/classes-jdk14">
+ <exclude name="org/jboss/aop/standalone/PluggableInstrumentor.class"/>
+ </fileset>
+ <fileset file="${project.basedir}/docs/jboss-aop_1_0.dtd"/>
+ <fileset file ="${project.basedir}/src/etc/jbossorg-eula.txt"/>
+ <manifest>
+ <attribute name="Created-By" value="${java.vm.version} (${java.vm.vendor})"/>
+ <attribute name="Build-Jdk" value="${java.vm.version}"/>
+ <attribute name="Specification-Title" value="${project.name}"/>
+ <attribute name="Specification-Version" value="${project.version}"/>
+ <attribute name="Specification-Vendor" value="${project.organization.name}"/>
+ <attribute name="Implementation-Title" value="${project.name}"/>
+ <attribute name="Implementation-URL" value="${project.url}"/>
+ <attribute name="Implementation-Version" value="${project.version}"/>
+ <attribute name="Implementation-Vendor" value="${project.organization.name}"/>
+ <attribute name="Implementation-Vendor-Id" value="${project.groupId}"/>
+ <attribute name="Premain-Class" value="org.jboss.aop.standalone.Agent"/>
+ <attribute name="Can-Redefine-Classes" value="true"/>
+ </manifest>
+ </jar>
+ <jar destfile="${project.build.directory}/pluggable-instrumentor-jdk14.jar">
+ <fileset dir="${project.build.directory}/classes-jdk14">
+ <!-- Include everything else -->
+ <include name="org/jboss/aop/standalone/PluggableInstrumentor.class"/>
+ </fileset>
+ <fileset file ="${project.basedir}/src/etc/jbossorg-eula.txt"/>
+ <manifest>
+ <attribute name="Created-By" value="${java.vm.version} (${java.vm.vendor})"/>
+ <attribute name="Build-Jdk" value="${java.vm.version}"/>
+ <attribute name="Specification-Title" value="${project.name}"/>
+ <attribute name="Specification-Version" value="${project.version}"/>
+ <attribute name="Specification-Vendor" value="${project.organization.name}"/>
+ <attribute name="Implementation-Title" value="${project.name}"/>
+ <attribute name="Implementation-URL" value="${project.url}"/>
+ <attribute name="Implementation-Version" value="${project.version}"/>
+ <attribute name="Implementation-Vendor" value="${project.organization.name}"/>
+ <attribute name="Implementation-Vendor-Id" value="${project.groupId}"/>
+ <attribute name="Premain-Class" value="org.jboss.aop.standalone.PluggableInstrumentor"/>
+ <attribute name="Can-Redefine-Classes" value="true"/>
+ </manifest>
+ </jar>
+ <!-- Build the jboss-aop-jdk50-client.jar needed for EJB 3-->
+ <jar destfile="${project.build.directory}/jboss-aop-jdk14-client.jar">
+ <fileset dir="${project.build.directory}/classes-jdk14">
+ <!-- Include everything else -->
+ <include name="org/jboss/lang/**"/>
+ <include name="org/jboss/aop/Advisor.class"/>
+ <include name="org/jboss/aop/AspectManager.class"/>
+ <include name="org/jboss/aop/AspectManager$*.class"/>
+ <include name="org/jboss/aop/ClassAdvisor.class"/>
+ <include name="org/jboss/aop/ClassInstanceAdvisor.class"/>
+ <include name="org/jboss/aop/InstanceAdvisorDelegate.class"/>
+ <include name="org/jboss/aop/Domain.class"/>
+ <include name="org/jboss/aop/InstanceAdvisor.class"/>
+ <include name="org/jboss/aop/MethodInfo.class"/>
+ <include name="org/jboss/aop/InterceptorChainObserver.class"/>
+ <include name="org/jboss/aop/JoinPoint.class"/>
+ <include name="org/jboss/aop/JoinPointInfo.class"/>
+ <include name="org/jboss/aop/MethodJoinPoint.class"/>
+ <include name="org/jboss/aop/*Dispatcher*.class"/>
+ <include name="org/jboss/aop/*Advised.class"/>
+ <include name="org/jboss/aop/advice/AspectDefinition.class"/>
+ <include name="org/jboss/aop/advice/Interceptor.class"/>
+ <include name="org/jboss/aop/instrument/Untransformable.class"/>
+ <include name="org/jboss/aop/joinpoint/Invocation*.class"/>
+ <include name="org/jboss/aop/joinpoint/Joinpoint.class"/>
+ <include name="org/jboss/aop/joinpoint/MethodInvocation*.class"/>
+ <include name="org/jboss/aop/joinpoint/MethodJoinpoint.class"/>
+ <include name="org/jboss/aop/metadata/SimpleMetaData.class"/>
+ <include name="org/jboss/aop/metadata/SimpleMetaData$MetaDataValue.class"/>
+ <include name="org/jboss/aop/metadata/MetaDataResolver.class"/>
+ <include name="org/jboss/aop/metadata/ThreadMetaData.class"/>
+ <include name="org/jboss/aop/proxy/MarshalledInterfaceProxy.class"/>
+ <include name="org/jboss/aop/proxy/MethodMapped.class"/>
+ <include name="org/jboss/aop/proxy/Proxy.class"/>
+ <include name="org/jboss/aop/proxy/ProxyFactory.class"/>
+ <include name="org/jboss/aop/proxy/ProxyMixin.class"/>
+ <include name="org/jboss/aop/util/SecurityActions*.class"/>
+ <include name="org/jboss/aop/util/Marshalled*.class"/>
+ <include name="org/jboss/aop/util/MethodHashing*.class"/>
+ <include name="org/jboss/aop/util/PayloadKey*.class"/>
+ </fileset>
+ <fileset file ="${project.basedir}/src/etc/jbossorg-eula.txt"/>
+ <manifest>
+ <attribute name="Created-By" value="${java.vm.version} (${java.vm.vendor})"/>
+ <attribute name="Build-Jdk" value="${java.vm.version}"/>
+ <attribute name="Specification-Title" value="${project.name}"/>
+ <attribute name="Specification-Version" value="${project.version}"/>
+ <attribute name="Specification-Vendor" value="${project.organization.name}"/>
+ <attribute name="Implementation-Title" value="${project.name}"/>
+ <attribute name="Implementation-URL" value="${project.url}"/>
+ <attribute name="Implementation-Version" value="${project.version}"/>
+ <attribute name="Implementation-Vendor" value="${project.organization.name}"/>
+ <attribute name="Implementation-Vendor-Id" value="${project.groupId}"/>
+ <attribute name="Premain-Class" value="org.jboss.aop.standalone.Agent"/>
+ <attribute name="Can-Redefine-Classes" value="true"/>
+ </manifest>
+ </jar>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <repositories>
+ <repository>
+ <id>jboss</id>
+ <name>JBoss Inc. Repository</name>
+ <layout>default</layout>
+ <url>http://repository.jboss.org/maven2</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>jboss-snapshots</id>
+ <name>JBoss Inc. Repository</name>
+ <layout>default</layout>
+ <url>http://snapshots.jboss.org/maven2</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <dependencies>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>1.6.5</version>
+ </dependency>
+ <dependency>
+ <groupId>apache-xerces</groupId>
+ <artifactId>xml-apis</artifactId>
+ <version>2.7.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>javassist</artifactId>
+ <version>3.6-beta</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-container-jdk14</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core-jdk14</artifactId>
+ <version>2.2.1-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-logging-spi-jdk14</artifactId>
+ <version>2.0.5-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-logging-log4j-jdk14</artifactId>
+ <version>2.0.5-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-logging-jdk-jdk14</artifactId>
+ <version>2.0.5-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>qdox</groupId>
+ <artifactId>qdox</artifactId>
+ <version>1.6</version>
+ </dependency>
+ <dependency>
+ <groupId>trove</groupId>
+ <artifactId>trove</artifactId>
+ <version>2.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>jboss.profiler.jvmti</groupId>
+ <artifactId>jboss-profiler-jvmti</artifactId>
+ <version>1.0.0.CR5</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-test-jdk14</artifactId>
+ <version>1.0.4-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ <!-- Runtime dependencies -->
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-backport-concurrent</artifactId>
+ <version>2.1.0.GA</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.management</groupId>
+ <artifactId>jmxri</artifactId>
+ <version>1.2.1</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-retro</artifactId>
+ <version>1.1.2</version>
+ <classifier>rt</classifier>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+ <profiles>
+ <!-- The test profiles are currently not working until some maven issues are fixed.
+ - For now the ant scripts can be used to run the tests.
+ -->
+ <!--<profile>
+ <id>javaagent-genadvisor-tests</id>
+ <activation>
+ <property>
+ <name>test</name>
+ <value>javaagent-genadvisor-tests</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>javaagent-genadvisor-tests</id>
+ <configuration>
+ <skip>false</skip>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>-->
+ </profiles>
+</project>
Added: projects/aop/trunk/pom-jdk14.xml
===================================================================
--- projects/aop/trunk/pom-jdk14.xml (rev 0)
+++ projects/aop/trunk/pom-jdk14.xml 2007-08-22 15:49:54 UTC (rev 64782)
@@ -0,0 +1,44 @@
+<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/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-parent</artifactId>
+ <version>3</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.aop-jdk14</groupId>
+ <artifactId>jboss-aop-parent-jdk14</artifactId>
+ <packaging>pom</packaging>
+ <version>1-SNAPSHOT</version>
+ <description>JBoss AOP</description>
+ <name>JBoss AOP Framework</name>
+ <url>http://labs.jboss.org/jbossaop/</url>
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshots Repository</name>
+ <layout>default</layout>
+ <url>http://snapshots.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <!-- For now we don't define modules until maven can use alternate module poms -->
+ <!--<modules>
+ <module>aop</module>
+ <module>aspects</module>
+ <module>asintegration</module>
+ <module>maven-jbossaop-plugin</module>
+ </modules>-->
+</project>
More information about the jboss-cvs-commits
mailing list