[jboss-cvs] JBossAS SVN: r64752 - in projects/microcontainer/trunk: classloader and 4 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Aug 21 17:23:14 EDT 2007
Author: pgier
Date: 2007-08-21 17:23:14 -0400 (Tue, 21 Aug 2007)
New Revision: 64752
Added:
projects/microcontainer/trunk/build/pom-jdk14.xml
projects/microcontainer/trunk/classloader/pom-jdk14.xml
projects/microcontainer/trunk/container/pom-jdk14.xml
projects/microcontainer/trunk/dependency/pom-jdk14.xml
projects/microcontainer/trunk/kernel/pom-jdk14.xml
projects/microcontainer/trunk/metatype/pom-jdk14.xml
Log:
[JBMICROCONT-93] Adding poms for jdk14 retro builds.
Added: projects/microcontainer/trunk/build/pom-jdk14.xml
===================================================================
--- projects/microcontainer/trunk/build/pom-jdk14.xml (rev 0)
+++ projects/microcontainer/trunk/build/pom-jdk14.xml 2007-08-21 21:23:14 UTC (rev 64752)
@@ -0,0 +1,459 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This pom functions as a default configuration. The subproject
+ poms each inherit configuration from this one.
+
+ When adding version information for an artifact please do the following
+ - add a version property for the specific version
+ - add a dependency in the dependencyManagement section which refers to
+ the property
+-->
+<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.microcontainer-jdk14</groupId>
+ <artifactId>jboss-microcontainer-jdk14</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>JBoss Microcontainer Build</name>
+ <url>http://www.jboss.com/products/jbossmc</url>
+ <description>
+ The JBoss Microcontainer provides a lightweight container for managing POJOs, their deployment
+ and configuration.
+ </description>
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/microcontainer/trunk/</developerConnection>
+ <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/microcontainer/trunk/</url>
+ </scm>
+
+ <properties>
+ <version.jboss.common.core>2.2.1-SNAPSHOT</version.jboss.common.core>
+ <version.jbossxb>2.0.0.CR3</version.jbossxb>
+ <version.osgi.r4.core>1.0</version.osgi.r4.core>
+ <version.jboss.vfs>2.0.4.snapshot</version.jboss.vfs>
+ <version.javassist>3.6-beta</version.javassist>
+ <version.jaxb.api>2.0</version.jaxb.api>
+ <version.jboss.aop>2.0.0-SNAPSHOT</version.jboss.aop>
+ <version.jboss.common.logging.spi>2.0.5-SNAPSHOT</version.jboss.common.logging.spi>
+ <version.jboss.classloading.spi>5.0.0-SNAPSHOT</version.jboss.classloading.spi>
+ <version.org.jboss.test>1.0.4-SNAPSHOT</version.org.jboss.test>
+ <version.junit>3.8.1</version.junit>
+ <version.jboss.profiler.jvmti>1.0.0.CR5</version.jboss.profiler.jvmti>
+ <version.ant.junit>1.7.0</version.ant.junit>
+ <version.backport.concurrent>2.1.0.GA</version.backport.concurrent>
+ <version.javax.management.jmxri>1.2.1</version.javax.management.jmxri>
+ <version.org.jbossretro.rt>1.1.2</version.org.jbossretro.rt>
+ </properties>
+
+ <build>
+ <sourceDirectory>src/main</sourceDirectory>
+ <testSourceDirectory>src/tests</testSourceDirectory>
+ <outputDirectory>${microcontainer.outputDirectory}</outputDirectory>
+ <testOutputDirectory>${microcontainer.testOutputDirectory}</testOutputDirectory>
+ <finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <showDeprecation>true</showDeprecation>
+ <showWarnings>true</showWarnings>
+ <optimize>true</optimize>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <testFailureIgnore>true</testFailureIgnore>
+ <includes>
+ <include>org/jboss/test/**/*TestCase.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <tagBase>https://svn.jboss.org/repos/jbossas/projects/microcontainer/tags</tagBase>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jboss-deploy-plugin</artifactId>
+ <version>1.3</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jboss-deploy</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <jbossDeployRoot>${jboss.repository.root}</jbossDeployRoot>
+ </configuration>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-idea-plugin</artifactId>
+ <configuration>
+ <downloadSources>true</downloadSources>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ <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>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ </repositories>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>dependencies</report>
+ <report>issue-tracking</report>
+ <report>license</report>
+ <report>scm</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>1.0.0</version>
+ </plugin>
+ </plugins>
+ </reporting>
+ <dependencyManagement>
+ <!-- The parent pom manages the inter-dependencies of the modules. -->
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-aop-mc-int</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-classloader-jdk14</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-container-jdk14</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-container-jdk14</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-dependency-jdk14</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers-core-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers-core</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers-client-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers-client</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers-client</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers-structure-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers-structure-spi</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers-impl</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers-impl</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers-vfs-spi</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-deployers-vfs</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-kernel-jdk14</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-kernel-jdk14</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-managed</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-metatype</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-spring-int</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-osgi-int</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-osgi-repository-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core-jdk14</artifactId>
+ <version>${version.jboss.common.core}</version>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jbossxb</artifactId>
+ <version>${version.jbossxb}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-common-logging-spi</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>osgi_R4_core</artifactId>
+ <version>${version.osgi.r4.core}</version>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-vfs</artifactId>
+ <version>${version.jboss.vfs}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>javassist</artifactId>
+ <version>${version.javassist}</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>${version.jaxb.api}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.aop</groupId>
+ <artifactId>jboss-aop</artifactId>
+ <version>${version.jboss.aop}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-logging-spi-jdk14</artifactId>
+ <version>${version.jboss.common.logging.spi}</version>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-classloading-spi</artifactId>
+ <version>${version.jboss.classloading.spi}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-junit</artifactId>
+ <version>${version.ant.junit}</version>
+ </dependency>
+ <!-- test dependencies -->
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-test-jdk14</artifactId>
+ <version>${version.org.jboss.test}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${version.junit}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>jboss.profiler.jvmti</groupId>
+ <artifactId>jboss-profiler-jvmti</artifactId>
+ <version>${version.jboss.profiler.jvmti}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-backport-concurrent</artifactId>
+ <version>${version.backport.concurrent}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.management</groupId>
+ <artifactId>jmxri</artifactId>
+ <version>${version.javax.management.jmxri}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-retro</artifactId>
+ <version>${version.org.jbossretro.rt}</version>
+ <classifier>rt</classifier>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <properties>
+ <microcontainer.outputDirectory>target/classes</microcontainer.outputDirectory>
+ <microcontainer.testOutputDirectory>target/tests-classes</microcontainer.testOutputDirectory>
+ </properties>
+ </profile>
+ <profile>
+ <id>eclipse</id>
+ <build>
+ <defaultGoal>process-test-resources</defaultGoal>
+ <plugins>
+ <plugin>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>eclipse</id>
+ <phase>process-test-resources</phase>
+ <goals>
+ <goal>eclipse</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <downloadSources>true</downloadSources>
+ <buildOutputDirectory>${microcontainer.outputDirectory}</buildOutputDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <properties>
+ <microcontainer.outputDirectory>eclipse-target/classes</microcontainer.outputDirectory>
+ <microcontainer.testOutputDirectory>eclipse-target/tests-classes</microcontainer.testOutputDirectory>
+ </properties>
+ </profile>
+ </profiles>
+</project>
Added: projects/microcontainer/trunk/classloader/pom-jdk14.xml
===================================================================
--- projects/microcontainer/trunk/classloader/pom-jdk14.xml (rev 0)
+++ projects/microcontainer/trunk/classloader/pom-jdk14.xml 2007-08-21 21:23:14 UTC (rev 64752)
@@ -0,0 +1,200 @@
+<?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.
+ - mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test - This will run the tests using a jdk1.4 jvm
+ - Note: the tests will not work by calling mvn test, it must be performed by calling surefire directly.
+ -->
+<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.microcontainer-jdk14</groupId>
+ <artifactId>jboss-microcontainer-jdk14</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <relativePath>../build/pom-jdk14.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jboss-classloader-jdk14</artifactId>
+ <packaging>jar</packaging>
+ <name>JBoss Microcontainer ClassLoader</name>
+ <url>http://www.jboss.com/products/jbossmc</url>
+ <description>JBoss ClassLoader</description>
+ <build>
+ <testResources>
+ <testResource>
+ <directory>src/resources/tests</directory>
+ </testResource>
+ </testResources>
+ <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>
+ <configuration>
+ <classesDirectory>${project.build.directory}/classes-jdk14</classesDirectory>
+ </configuration>
+ </plugin>
+ <plugin>
+ <!-- Skip the tests here because the jdk14 tests have
+ - to be run in a separate profile.
+ -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <!-- Note: to run the jdk14 tests, the surefire plugin must be called outside
+ - of the lifecycle. In other words it should be called directly from the command
+ - line like this
+ - mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test
+ -->
+ <profile>
+ <id>run-jdk14-tests</id>
+ <properties>
+ <microcontainer.outputDirectory>target/classes-jdk14</microcontainer.outputDirectory>
+ <microcontainer.testOutputDirectory>target/test-classes-jdk14</microcontainer.testOutputDirectory>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-3</version>
+ <executions>
+ <execution>
+ <id>enforce-jdk14-property</id>
+ <goals>
+ <goal>enforce-once</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireProperty>
+ <property>java14_home</property>
+ <message>
+ The property java14_home should be set to a valid installation of jdk1.4. The jdk14 tests cannot be run without this property.
+ </message>
+ </requireProperty>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <jvm>${java14_home}/bin/java</jvm>
+ <forkMode>always</forkMode>
+ <skip>false</skip>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <testFailureIgnore>true</testFailureIgnore>
+ <useSystemClassLoader>true</useSystemClassLoader>
+ <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+ <includes>
+ <include>**/*TestCase.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/IsolatedClassLoaderUnitTestCase.java</exclude>
+ <exclude>**/DelegateUnitTestCase.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+ <!-- Do not add version information here, use ../build/pom.xml instead -->
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-test-jdk14</artifactId>
+ <version>${version.org.jboss.test}</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${version.junit}</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ <dependencies>
+ <!-- Global dependencies -->
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-classloading-spi-jdk14</artifactId>
+ <version>${version.jboss.classloading.spi}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core-jdk14</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-logging-spi-jdk14</artifactId>
+ </dependency>
+ <!-- Test dependencies -->
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-test-jdk14</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <!-- Runtime dependencies -->
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-backport-concurrent</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.management</groupId>
+ <artifactId>jmxri</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-retro</artifactId>
+ <classifier>rt</classifier>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+</project>
Added: projects/microcontainer/trunk/container/pom-jdk14.xml
===================================================================
--- projects/microcontainer/trunk/container/pom-jdk14.xml (rev 0)
+++ projects/microcontainer/trunk/container/pom-jdk14.xml 2007-08-21 21:23:14 UTC (rev 64752)
@@ -0,0 +1,210 @@
+<?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.
+ - mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test - This will run the tests using a jdk1.4 jvm
+ - Note: the tests will not work by calling mvn test, it must be performed by calling surefire directly.
+ -->
+<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.microcontainer-jdk14</groupId>
+ <artifactId>jboss-microcontainer-jdk14</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <relativePath>../build/pom-jdk14.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jboss-container-jdk14</artifactId>
+ <packaging>jar</packaging>
+ <name>JBoss Microcontainer Container</name>
+ <url>http://www.jboss.com/products/jbossmc</url>
+ <description>JBoss Microcontainer Container</description>
+ <build>
+ <resources>
+ <resource>
+ <directory>src/resources/main</directory>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/resources/tests</directory>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <includes>
+ <include>org/jboss/test/**/*TestCase.java</include>
+ </includes>
+ <excludes>
+ <exclude>org/jboss/test/**/NoJavassistAnnotationCreatorTestCase.java</exclude>
+ </excludes>
+ <useSystemClassLoader>true</useSystemClassLoader>
+ </configuration>
+ </plugin>
+ <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>
+ <executions>
+ <execution>
+ <id>jar</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <classesDirectory>${project.build.directory}/classes-jdk14</classesDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>test-jar</id>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ <configuration>
+ <testClassesDirectory>${project.build.directory}/test-classes-jdk14</testClassesDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <!-- Skip the tests here because the jdk14 tests have
+ - to be run in a separate profile.
+ -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <!-- Note: to run the jdk14 tests, the surefire plugin must be called outside
+ - of the lifecycle. In other words it should be called directly from the command
+ - line like this
+ - mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test
+ -->
+ <profile>
+ <id>run-jdk14-tests</id>
+ <properties>
+ <microcontainer.outputDirectory>target/classes-jdk14</microcontainer.outputDirectory>
+ <microcontainer.testOutputDirectory>target/test-classes-jdk14</microcontainer.testOutputDirectory>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-3</version>
+ <executions>
+ <execution>
+ <id>enforce-jdk14-property</id>
+ <goals>
+ <goal>enforce-once</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireProperty>
+ <property>java14_home</property>
+ <message>
+ The property java14_home should be set to a valid installation of jdk1.4. The jdk14 tests cannot be run without this property.
+ </message>
+ </requireProperty>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <jvm>${java14_home}/bin/java</jvm>
+ <forkMode>always</forkMode>
+ <skip>false</skip>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <testFailureIgnore>true</testFailureIgnore>
+ <useSystemClassLoader>true</useSystemClassLoader>
+ <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+ <includes>
+ <include>**/*TestCase.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/IsolatedClassLoaderUnitTestCase.java</exclude>
+ <exclude>**/DelegateUnitTestCase.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+ <!-- Do not add version information here, use ../build/pom.xml instead -->
+ <dependencies>
+ <!-- Global dependencies -->
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>javassist</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-vfs</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jbossxb</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-logging-spi-jdk14</artifactId>
+ </dependency>
+ <!-- Test dependencies -->
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-test-jdk14</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jboss.profiler.jvmti</groupId>
+ <artifactId>jboss-profiler-jvmti</artifactId>
+ </dependency>
+ </dependencies>
+</project>
Added: projects/microcontainer/trunk/dependency/pom-jdk14.xml
===================================================================
--- projects/microcontainer/trunk/dependency/pom-jdk14.xml (rev 0)
+++ projects/microcontainer/trunk/dependency/pom-jdk14.xml 2007-08-21 21:23:14 UTC (rev 64752)
@@ -0,0 +1,173 @@
+<?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.
+ - mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test - This will run the tests using a jdk1.4 jvm
+ - Note: the tests will not work by calling mvn test, it must be performed by calling surefire directly.
+ -->
+<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.microcontainer-jdk14</groupId>
+ <artifactId>jboss-microcontainer-jdk14</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <relativePath>../build/pom-jdk14.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jboss-dependency-jdk14</artifactId>
+ <packaging>jar</packaging>
+ <name>JBoss Microcontainer Dependency</name>
+ <url>http://www.jboss.com/products/jbossmc</url>
+ <description>JBoss Microcontainer Dependency</description>
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/dependency
+ </connection>
+ <developerConnection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/dependency
+ </developerConnection>
+ <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/microcontainer/trunk/dependency</url>
+ </scm>
+ <build>
+ <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>
+ <configuration>
+ <classesDirectory>${project.build.directory}/classes-jdk14</classesDirectory>
+ </configuration>
+ </plugin>
+ <plugin>
+ <!-- Skip the tests here because the jdk14 tests have
+ - to run in a separate profile.
+ -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <profiles>
+ <!-- Note: to run the jdk14 tests, the surefire plugin must be called outside
+ - of the lifecycle. In other words it should be called directly from the command
+ - line like this
+ - mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test
+ -->
+ <profile>
+ <id>run-jdk14-tests</id>
+ <properties>
+ <microcontainer.outputDirectory>target/classes-jdk14</microcontainer.outputDirectory>
+ <microcontainer.testOutputDirectory>target/test-classes-jdk14</microcontainer.testOutputDirectory>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-3</version>
+ <executions>
+ <execution>
+ <id>enforce-jdk14-property</id>
+ <goals>
+ <goal>enforce-once</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireProperty>
+ <property>java14_home</property>
+ <message>
+ The property java14_home should be set to a valid installation of jdk1.4. The jdk14 tests cannot be run without this property.
+ </message>
+ </requireProperty>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <jvm>${java14_home}/bin/java</jvm>
+ <forkMode>always</forkMode>
+ <skip>false</skip>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+ <!-- Do not add version information here, use ../build/pom.xml instead -->
+ <dependencies>
+ <!-- Global dependencies -->
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core-jdk14</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-logging-spi-jdk14</artifactId>
+ </dependency>
+ <!-- Test dependencies -->
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-test-jdk14</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <!-- Runtime dependencies -->
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-backport-concurrent</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.management</groupId>
+ <artifactId>jmxri</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-retro</artifactId>
+ <classifier>rt</classifier>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+</project>
Added: projects/microcontainer/trunk/kernel/pom-jdk14.xml
===================================================================
--- projects/microcontainer/trunk/kernel/pom-jdk14.xml (rev 0)
+++ projects/microcontainer/trunk/kernel/pom-jdk14.xml 2007-08-21 21:23:14 UTC (rev 64752)
@@ -0,0 +1,260 @@
+<?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.
+ - mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test - This will run the tests using a jdk1.4 jvm
+ - Note: the tests will not work by calling mvn test, it must be performed by calling surefire directly.
+ -->
+<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.microcontainer-jdk14</groupId>
+ <artifactId>jboss-microcontainer-jdk14</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <relativePath>../build/pom-jdk14.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jboss-kernel-jdk14</artifactId>
+ <packaging>jar</packaging>
+ <name>JBoss Microcontainer Kernel</name>
+ <url>http://www.jboss.com/products/jbossmc</url>
+ <description>JBoss Microcontainer Kernel</description>
+ <build>
+ <resources>
+ <resource>
+ <directory>src/resources/main</directory>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/resources/tests</directory>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <showDeprecation>false</showDeprecation>
+
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <includes>
+ <include>org/jboss/test/**/*TestCase.java</include>
+ </includes>
+ <excludes>
+ <exclude>org/jboss/test/**/NoJavassistAnnotationCreatorTestCase.java</exclude>
+ </excludes>
+ <useSystemClassLoader>true</useSystemClassLoader>
+ </configuration>
+ </plugin>
+ <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>
+ <executions>
+ <execution>
+ <id>jar</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <classesDirectory>${project.build.directory}/classes-jdk14</classesDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>test-jar</id>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ <configuration>
+ <testClassesDirectory>${project.build.directory}/test-classes-jdk14</testClassesDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <!-- Skip the tests here because the jdk14 tests have
+ - to be run in a separate profile.
+ -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <!-- Note: to run the jdk14 tests, the surefire plugin must be called outside
+ - of the lifecycle. In other words it should be called directly from the command
+ - line like this
+ - mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test
+ -->
+ <profile>
+ <id>run-jdk14-tests</id>
+ <properties>
+ <microcontainer.outputDirectory>target/classes-jdk14</microcontainer.outputDirectory>
+ <microcontainer.testOutputDirectory>target/test-classes-jdk14</microcontainer.testOutputDirectory>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-3</version>
+ <executions>
+ <execution>
+ <id>enforce-jdk14-property</id>
+ <goals>
+ <goal>enforce-once</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireProperty>
+ <property>java14_home</property>
+ <message>
+ The property java14_home should be set to a valid installation of jdk1.4. The jdk14 tests cannot be run without this property.
+ </message>
+ </requireProperty>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <jvm>${java14_home}/bin/java</jvm>
+ <forkMode>always</forkMode>
+ <skip>false</skip>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <testFailureIgnore>true</testFailureIgnore>
+ <useSystemClassLoader>true</useSystemClassLoader>
+ <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+ <includes>
+ <include>**/*TestCase.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/CallbackCollectionAnnotationTestCase.java</exclude>
+ <exclude>**/CallbackAnnotationTestCase.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-container-jdk14</artifactId>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-test-jdk14</artifactId>
+ <version>${version.org.jboss.test}</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${version.junit}</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ <!-- Do not add version information here, use ../build/pom.xml instead -->
+ <dependencies>
+ <!-- Global dependencies -->
+ <!--<dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-container-jdk14</artifactId>
+ </dependency>-->
+ <dependency>
+ <groupId>org.jboss.microcontainer</groupId>
+ <artifactId>jboss-container</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-dependency-jdk14</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-test-jdk14</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jbossxb</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-logging-spi-jdk14</artifactId>
+ </dependency>
+ <!-- Test dependencies -->
+ <!-- None -->
+
+ <!-- Runtime dependencies -->
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-backport-concurrent</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.management</groupId>
+ <artifactId>jmxri</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-retro</artifactId>
+ <classifier>rt</classifier>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+</project>
Added: projects/microcontainer/trunk/metatype/pom-jdk14.xml
===================================================================
--- projects/microcontainer/trunk/metatype/pom-jdk14.xml (rev 0)
+++ projects/microcontainer/trunk/metatype/pom-jdk14.xml 2007-08-21 21:23:14 UTC (rev 64752)
@@ -0,0 +1,159 @@
+<?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.
+ - mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test - This will run the tests using a jdk1.4 jvm
+ - Note: the tests will not work by calling mvn test, it must be performed by calling surefire directly.
+ -->
+<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.microcontainer-jdk14</groupId>
+ <artifactId>jboss-microcontainer-jdk14</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <relativePath>../build/pom-jdk14.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jboss-metatype-jdk14</artifactId>
+ <packaging>jar</packaging>
+ <name>JBoss Microcontainer Metatype</name>
+ <url>http://www.jboss.com/products/jbossmc</url>
+ <description>JBoss Microcontainer Metatype</description>
+
+ <build>
+ <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>
+ <configuration>
+ <classesDirectory>${project.build.directory}/classes-jdk14</classesDirectory>
+ </configuration>
+ </plugin>
+ <plugin>
+ <!-- Skip the tests here because the jdk14 tests have
+ - to be run in a separate profile.
+ -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <!-- Note: to run the jdk14 tests, the surefire plugin must be called outside
+ - of the lifecycle. In other words it should be called directly from the command
+ - line like this
+ - mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test
+ -->
+ <profile>
+ <id>run-jdk14-tests</id>
+ <properties>
+ <microcontainer.outputDirectory>target/classes-jdk14</microcontainer.outputDirectory>
+ <microcontainer.testOutputDirectory>target/test-classes-jdk14</microcontainer.testOutputDirectory>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-3</version>
+ <executions>
+ <execution>
+ <id>enforce-jdk14-property</id>
+ <goals>
+ <goal>enforce-once</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireProperty>
+ <property>java14_home</property>
+ <message>
+ The property java14_home should be set to a valid installation of jdk1.4. The jdk14 tests cannot be run without this property.
+ </message>
+ </requireProperty>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <jvm>${java14_home}/bin/java</jvm>
+ <forkMode>always</forkMode>
+ <skip>false</skip>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <testFailureIgnore>true</testFailureIgnore>
+ <useSystemClassLoader>true</useSystemClassLoader>
+ <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+ <includes>
+ <include>**/*TestCase.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/IsolatedClassLoaderUnitTestCase.java</exclude>
+ <exclude>**/DelegateUnitTestCase.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+ <!-- Do not add version information here, use ../build/pom.xml instead -->
+ <dependencies>
+ <!-- Global dependencies -->
+ <dependency>
+ <groupId>org.jboss.microcontainer-jdk14</groupId>
+ <artifactId>jboss-container-jdk14</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core-jdk14</artifactId>
+ </dependency>
+ <!-- Test dependencies -->
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-test-jdk14</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ </dependencies>
+</project>
More information about the jboss-cvs-commits
mailing list