[jboss-cvs] JBossAS SVN: r64735 - in projects/javaee/trunk: build/assembly and 11 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Aug 21 11:31:21 EDT 2007


Author: pgier
Date: 2007-08-21 11:31:21 -0400 (Tue, 21 Aug 2007)
New Revision: 64735

Added:
   projects/javaee/trunk/build/assembly/bin-jdk14.xml
   projects/javaee/trunk/build/pom-jdk14.xml
   projects/javaee/trunk/jboss-ejb-api/pom-jdk14.xml
   projects/javaee/trunk/jboss-jacc-api/pom-jdk14.xml
   projects/javaee/trunk/jboss-jad-api/pom-jdk14.xml
   projects/javaee/trunk/jboss-jaspi-api/pom-jdk14.xml
   projects/javaee/trunk/jboss-jaxr-api/pom-jdk14.xml
   projects/javaee/trunk/jboss-jaxs-api/pom-jdk14.xml
   projects/javaee/trunk/jboss-jca-api/pom-jdk14.xml
   projects/javaee/trunk/jboss-jms-api/pom-jdk14.xml
   projects/javaee/trunk/jboss-persistence-api/pom-jdk14.xml
   projects/javaee/trunk/jboss-servlet-api/pom-jdk14.xml
   projects/javaee/trunk/jboss-transaction-api/pom-jdk14.xml
Log:
[JBBUILD-399] Adding retro build poms for javaee.

Added: projects/javaee/trunk/build/assembly/bin-jdk14.xml
===================================================================
--- projects/javaee/trunk/build/assembly/bin-jdk14.xml	                        (rev 0)
+++ projects/javaee/trunk/build/assembly/bin-jdk14.xml	2007-08-21 15:31:21 UTC (rev 64735)
@@ -0,0 +1,48 @@
+<assembly>
+  <formats>
+    <format>jar</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <fileSets>
+    <fileSet>
+      <directory>../jboss-ejb-api/target/classes-jdk14</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>../jboss-jacc-api/target/classes-jdk14</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>../jboss-jad-api/target/classes-jdk14</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>../jboss-jaxr-api/target/classes-jdk14</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>../jboss-jaxs-api/target/classes-jdk14</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>../jboss-jca-api/target/classes-jdk14</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>../jboss-jms-api/target/classes-jdk14</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>../jboss-persistence-api/target/classes-jdk14</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>../jboss-servlet-api/target/classes-jdk14</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>../jboss-transaction-api/target/classes-jdk14</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+  </fileSets>
+</assembly>

Added: projects/javaee/trunk/build/pom-jdk14.xml
===================================================================
--- projects/javaee/trunk/build/pom-jdk14.xml	                        (rev 0)
+++ projects/javaee/trunk/build/pom-jdk14.xml	2007-08-21 15:31:21 UTC (rev 64735)
@@ -0,0 +1,233 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  - The parent pom for the microcontainer project that expects a structure like: 
+  -   build/pom.xml
+  -   ejb-api/pom.xml
+  -   transaction-api/pom.xml
+  - 
+  - This pom aggregates the jdk14 subproject poms, and it also functions as a default 
+  - configuration.  The subproject poms each inherit configuration from this one.
+  - 
+  - To build this project maven 2 should be installed and in the system path. 
+  - From the command line run "mvn -f pom-jdk14.xml install" from the build directory to install this pom. 
+  - 
+  - For the jdk14 builds, each of the modules must be built separately: 
+  -
+  - 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.
+  - 
+  - To add a module edit the modules section and add the module also to 
+  - assembly/bin-jdk14.xml.
+ -->
+<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.javaee</groupId>
+  <artifactId>jboss-javaee-jdk14</artifactId>
+  <version>5.0.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+  <name>JBoss JavaEE 5.0 Build</name>
+  <url>http://www.jboss.com</url>
+  <description>
+    The JBoss JavaEE API classes
+  </description>
+  <scm>
+    <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/javaee/trunk/</connection>
+    <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/javaee/trunk/</developerConnection>
+    <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/javaee/trunk/</url>
+  </scm>
+  <build>
+    <sourceDirectory>src/main</sourceDirectory>
+    <testSourceDirectory>src/tests</testSourceDirectory>
+    <finalName>${artifactId}</finalName>
+    <resources>
+      <resource>
+        <directory>src/etc</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+        <filtering>true</filtering>
+      </resource>
+    </resources>
+    <testResources>
+      <testResource>
+        <directory>src/resources</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+        <filtering>true</filtering>
+      </testResource>
+    </testResources>
+    <plugins>
+      <!-- define that we wish to create src jars -->
+      <plugin>
+        <artifactId>maven-source-plugin</artifactId>
+        <version>2.0</version>
+        <inherited>true</inherited>
+        <executions>
+          <execution>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <version>2.2-beta-1</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>attached</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <descriptors>
+            <descriptor>assembly/bin-jdk14.xml</descriptor>
+          </descriptors>
+        </configuration>
+        <inherited>false</inherited>
+      </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>
+        <inherited>true</inherited>
+      </plugin>      
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <classesDirectory>${project.build.directory}/classes-jdk14</classesDirectory>
+        </configuration>
+        <inherited>true</inherited>
+      </plugin>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <printSummary>false</printSummary>
+          <redirectTestOutputToFile>true</redirectTestOutputToFile>
+          <includes>
+            <include>**/**TestCase.java</include>
+          </includes>
+          <!-- Skip the tests here because the jdk14 tests have
+            -  to run using a separate profile.
+            -->
+          <skip>true</skip>
+        </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>
+      <plugin>
+        <artifactId>maven-release-plugin</artifactId>
+        <configuration>
+           <tagBase>https://svn.jboss.org/repos/jbossas/javaee/tags</tagBase>
+        </configuration>
+      </plugin>
+    </plugins>
+  </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>
+  <!-- We don't include the modules here until there is a way to call
+    -  all the pom-jdk14.xml files.
+    -->
+  <!--<modules>
+    <module>../jboss-ejb-api</module>
+    <module>../jboss-jacc-api</module>
+    <module>../jboss-jad-api</module>
+    <module>../jboss-jaxr-api</module>
+    <module>../jboss-jaxs-api</module>
+    <module>../jboss-jca-api</module>
+    <module>../jboss-jms-api</module>
+    <module>../jboss-persistence-api</module>
+    <module>../jboss-servlet-api</module>
+    <module>../jboss-transaction-api</module>
+    <module>../jboss-jaspi-api</module>
+  </modules>-->
+  <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>
+    </plugins>
+  </reporting>
+  
+</project>

Added: projects/javaee/trunk/jboss-ejb-api/pom-jdk14.xml
===================================================================
--- projects/javaee/trunk/jboss-ejb-api/pom-jdk14.xml	                        (rev 0)
+++ projects/javaee/trunk/jboss-ejb-api/pom-jdk14.xml	2007-08-21 15:31:21 UTC (rev 64735)
@@ -0,0 +1,101 @@
+<?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.javaee</groupId>
+    <artifactId>jboss-javaee-jdk14</artifactId>
+    <version>5.0.0-SNAPSHOT</version>
+    <relativePath>../build/pom-jdk14.xml</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>jboss-ejb-api-jdk14</artifactId>
+  <version>3.0.0-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>JBoss EJB 3.0 API</name>
+  <url>http://www.jboss.org</url>
+  <description>The Java EJB 3.0 API classes</description>
+  <build>
+    <outputDirectory>${outputDirectory}</outputDirectory>
+    <testOutputDirectory>${testOutputDirectory}</testOutputDirectory>
+  </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>
+        <outputDirectory>target/classes-jdk14</outputDirectory>
+        <testOutputDirectory>target/test-classes-jdk14</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>           
+              <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <dependencies>
+    <dependency>
+      <groupId>org.jboss.javaee</groupId>
+      <artifactId>jboss-transaction-api-jdk14</artifactId>
+      <version>1.0.1-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>jboss.jbossws</groupId>
+      <artifactId>jboss-jaxrpc</artifactId>
+      <version>1.0.4.GA</version>
+    </dependency>
+  </dependencies>
+  
+  <properties>
+    <outputDirectory>target/classes</outputDirectory>
+    <testOutputDirectory>target/test-classes</testOutputDirectory>
+  </properties>
+  
+</project>

Added: projects/javaee/trunk/jboss-jacc-api/pom-jdk14.xml
===================================================================
--- projects/javaee/trunk/jboss-jacc-api/pom-jdk14.xml	                        (rev 0)
+++ projects/javaee/trunk/jboss-jacc-api/pom-jdk14.xml	2007-08-21 15:31:21 UTC (rev 64735)
@@ -0,0 +1,101 @@
+<?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.javaee</groupId>
+    <artifactId>jboss-javaee-jdk14</artifactId>
+    <version>5.0.0-SNAPSHOT</version>
+    <relativePath>../build/pom-jdk14.xml</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>jboss-jacc-api-jdk14</artifactId>
+  <version>1.1-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>JBoss JACC 1.1 API</name>
+  <url>http://www.jboss.org</url>
+  <description>The Java Authorization Contract for Containers 1.1 API classes</description>
+  <build>
+    <outputDirectory>${outputDirectory}</outputDirectory>
+    <testOutputDirectory>${testOutputDirectory}</testOutputDirectory>
+  </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>
+        <outputDirectory>target/classes-jdk14</outputDirectory>
+        <testOutputDirectory>target/test-classes-jdk14</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>           
+              <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <dependencies>
+    <dependency>
+      <groupId>org.jboss</groupId>
+      <artifactId>jboss-common-core-jdk14</artifactId>
+      <version>2.2.1-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>sun-servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <version>2.4</version>
+    </dependency>
+  </dependencies>
+  
+  <properties>
+    <outputDirectory>target/classes</outputDirectory>
+    <testOutputDirectory>target/test-classes</testOutputDirectory>
+  </properties>
+  
+</project>

Added: projects/javaee/trunk/jboss-jad-api/pom-jdk14.xml
===================================================================
--- projects/javaee/trunk/jboss-jad-api/pom-jdk14.xml	                        (rev 0)
+++ projects/javaee/trunk/jboss-jad-api/pom-jdk14.xml	2007-08-21 15:31:21 UTC (rev 64735)
@@ -0,0 +1,96 @@
+<?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.javaee</groupId>
+    <artifactId>jboss-javaee-jdk14</artifactId>
+    <version>5.0.0-SNAPSHOT</version>
+    <relativePath>../build/pom-jdk14.xml</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>jboss-jad-api-jdk14</artifactId>
+  <version>1.2-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>JBoss JavaEE Application Deployment 1.2 API</name>
+  <url>http://www.jboss.org</url>
+  <description>The JavaEE Application Deployment 1.2 API classes</description>
+  <build>
+    <outputDirectory>${outputDirectory}</outputDirectory>
+    <testOutputDirectory>${testOutputDirectory}</testOutputDirectory>
+  </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>
+        <outputDirectory>target/classes-jdk14</outputDirectory>
+        <testOutputDirectory>target/test-classes-jdk14</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>           
+              <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <dependencies>
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jboss-common-core</artifactId>
+      <version>2.0.2.GA</version>
+    </dependency>
+  </dependencies>
+  
+  <properties>
+    <outputDirectory>target/classes</outputDirectory>
+    <testOutputDirectory>target/test-classes</testOutputDirectory>
+  </properties>
+  
+</project>

Added: projects/javaee/trunk/jboss-jaspi-api/pom-jdk14.xml
===================================================================
--- projects/javaee/trunk/jboss-jaspi-api/pom-jdk14.xml	                        (rev 0)
+++ projects/javaee/trunk/jboss-jaspi-api/pom-jdk14.xml	2007-08-21 15:31:21 UTC (rev 64735)
@@ -0,0 +1,105 @@
+<?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.javaee</groupId>
+    <artifactId>jboss-javaee-jdk14</artifactId>
+    <version>5.0.0-SNAPSHOT</version>
+    <relativePath>../build/pom-jdk14.xml</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.jboss.javaee</groupId>
+  <artifactId>jboss-jaspi-api-jdk14</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>JBoss Java Authentication SPI for Containers 1.0-PR API</name>
+  <url>http://www.jboss.org</url>
+  <description>The Java Authentication SPI for Containers 1.0-PR API classes</description>
+  <build>
+    <outputDirectory>${outputDirectory}</outputDirectory>
+    <testOutputDirectory>${testOutputDirectory}</testOutputDirectory>
+  </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>
+        <outputDirectory>target/classes-jdk14</outputDirectory>
+        <testOutputDirectory>target/test-classes-jdk14</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>           
+              <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <doctitle>Java Servlet ${project.version} API Documentation</doctitle>
+          <links>
+            <link>http://java.sun.com/j2se/1.5/docs/api</link>
+          </links>
+          <windowtitle>Java Servlet ${project.version} API Documentation</windowtitle>
+        </configuration>
+      </plugin>
+    </plugins>
+  </reporting>
+  
+  <properties>
+    <outputDirectory>target/classes</outputDirectory>
+    <testOutputDirectory>target/test-classes</testOutputDirectory>
+  </properties>
+  
+</project>

Added: projects/javaee/trunk/jboss-jaxr-api/pom-jdk14.xml
===================================================================
--- projects/javaee/trunk/jboss-jaxr-api/pom-jdk14.xml	                        (rev 0)
+++ projects/javaee/trunk/jboss-jaxr-api/pom-jdk14.xml	2007-08-21 15:31:21 UTC (rev 64735)
@@ -0,0 +1,97 @@
+<?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.javaee</groupId>
+    <artifactId>jboss-javaee-jdk14</artifactId>
+    <version>5.0.0-SNAPSHOT</version>
+    <relativePath>../build/pom-jdk14.xml</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.jboss.javaee</groupId>
+  <artifactId>jboss-jaxr-api-jdk14</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>JBoss Java API for XML Registries 1.0</name>
+  <url>http://www.jboss.org</url>
+  <description>The Java API for XML Registries 1.0 API classes</description>
+  <build>
+    <outputDirectory>${outputDirectory}</outputDirectory>
+    <testOutputDirectory>${testOutputDirectory}</testOutputDirectory>
+  </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>
+        <outputDirectory>target/classes-jdk14</outputDirectory>
+        <testOutputDirectory>target/test-classes-jdk14</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>           
+              <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <dependencies>
+    <dependency>
+      <groupId>sun-jaf</groupId>
+      <artifactId>activation</artifactId>
+      <version>1.0.2</version>
+    </dependency>
+  </dependencies>
+  
+  <properties>
+    <outputDirectory>target/classes</outputDirectory>
+    <testOutputDirectory>target/test-classes</testOutputDirectory>
+  </properties>
+  
+</project>

Added: projects/javaee/trunk/jboss-jaxs-api/pom-jdk14.xml
===================================================================
--- projects/javaee/trunk/jboss-jaxs-api/pom-jdk14.xml	                        (rev 0)
+++ projects/javaee/trunk/jboss-jaxs-api/pom-jdk14.xml	2007-08-21 15:31:21 UTC (rev 64735)
@@ -0,0 +1,89 @@
+<?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.javaee</groupId>
+    <artifactId>jboss-javaee-jdk14</artifactId>
+    <version>5.0.0-SNAPSHOT</version>
+    <relativePath>../build/pom-jdk14.xml</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.jboss.javaee</groupId>
+  <artifactId>jboss-jaxs-api-jdk14</artifactId>
+  <version>1.2-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>JBoss Streaming API for XML 1.0</name>
+  <url>http://www.jboss.org</url>
+  <description>The Streaming API for XML 1.0 API classes</description>
+  <build>
+    <outputDirectory>${outputDirectory}</outputDirectory>
+    <testOutputDirectory>${testOutputDirectory}</testOutputDirectory>
+  </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>
+        <outputDirectory>target/classes-jdk14</outputDirectory>
+        <testOutputDirectory>target/test-classes-jdk14</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>           
+              <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <properties>
+    <outputDirectory>target/classes</outputDirectory>
+    <testOutputDirectory>target/test-classes</testOutputDirectory>
+  </properties>
+  
+</project>

Added: projects/javaee/trunk/jboss-jca-api/pom-jdk14.xml
===================================================================
--- projects/javaee/trunk/jboss-jca-api/pom-jdk14.xml	                        (rev 0)
+++ projects/javaee/trunk/jboss-jca-api/pom-jdk14.xml	2007-08-21 15:31:21 UTC (rev 64735)
@@ -0,0 +1,98 @@
+<?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.javaee</groupId>
+    <artifactId>jboss-javaee-jdk14</artifactId>
+    <version>5.0.0-SNAPSHOT</version>
+    <relativePath>../build/pom-jdk14.xml</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.jboss.javaee</groupId>
+  <artifactId>jboss-jca-api-jdk14</artifactId>
+  <version>1.5-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>JBoss J2EE Connector Architecture 1.5 API</name>
+  <url>http://www.jboss.org</url>
+  <description>The J2EE Connector Architecture 1.5 API classes</description>
+  <build>
+    <outputDirectory>${outputDirectory}</outputDirectory>
+    <testOutputDirectory>${testOutputDirectory}</testOutputDirectory>
+  </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>
+        <outputDirectory>target/classes-jdk14</outputDirectory>
+        <testOutputDirectory>target/test-classes-jdk14</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>           
+              <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <dependencies>
+    <!-- For SerialVersion -->
+    <dependency>
+      <groupId>org.jboss</groupId>
+      <artifactId>jboss-common-core-jdk14</artifactId>
+      <version>2.2.1-SNAPSHOT</version>
+    </dependency>  
+  </dependencies>
+  
+  <properties>
+    <outputDirectory>target/classes</outputDirectory>
+    <testOutputDirectory>target/test-classes</testOutputDirectory>
+  </properties>
+  
+</project>

Added: projects/javaee/trunk/jboss-jms-api/pom-jdk14.xml
===================================================================
--- projects/javaee/trunk/jboss-jms-api/pom-jdk14.xml	                        (rev 0)
+++ projects/javaee/trunk/jboss-jms-api/pom-jdk14.xml	2007-08-21 15:31:21 UTC (rev 64735)
@@ -0,0 +1,89 @@
+<?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.javaee</groupId>
+    <artifactId>jboss-javaee-jdk14</artifactId>
+    <version>5.0.0-SNAPSHOT</version>
+    <relativePath>../build/pom-jdk14.xml</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.jboss.javaee</groupId>
+  <artifactId>jboss-jms-api-jdk14</artifactId>
+  <version>1.1-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>JBoss JMS 1.1 API</name>
+  <url>http://www.jboss.org</url>
+  <description>The Java Messaging Service 1.1 API classes</description>
+  <build>
+    <outputDirectory>${outputDirectory}</outputDirectory>
+    <testOutputDirectory>${testOutputDirectory}</testOutputDirectory>
+  </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>
+        <outputDirectory>target/classes-jdk14</outputDirectory>
+        <testOutputDirectory>target/test-classes-jdk14</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>           
+              <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <properties>
+    <outputDirectory>target/classes</outputDirectory>
+    <testOutputDirectory>target/test-classes</testOutputDirectory>
+  </properties>
+  
+</project>

Added: projects/javaee/trunk/jboss-persistence-api/pom-jdk14.xml
===================================================================
--- projects/javaee/trunk/jboss-persistence-api/pom-jdk14.xml	                        (rev 0)
+++ projects/javaee/trunk/jboss-persistence-api/pom-jdk14.xml	2007-08-21 15:31:21 UTC (rev 64735)
@@ -0,0 +1,120 @@
+<?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.javaee</groupId>
+    <artifactId>jboss-javaee-jdk14</artifactId>
+    <version>5.0.0-SNAPSHOT</version>
+    <relativePath>../build/pom-jdk14.xml</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.jboss.javaee</groupId>
+  <artifactId>jboss-persistence-api-jdk14</artifactId>
+  <version>3.0.0-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>JBoss Persistence 3.0 API</name>
+  <url>http://www.jboss.org</url>
+  <description>The Java Persistence 3.0 API classes</description>
+  <build>
+    <outputDirectory>${outputDirectory}</outputDirectory>
+    <testOutputDirectory>${testOutputDirectory}</testOutputDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Specification-Title>Enterprise JavaBeans 3.0</Specification-Title>
+              <Specification-Version>Final Release</Specification-Version>
+              <Specification-Vendor>Sun Microsystems, Inc.</Specification-Vendor>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <doctitle>EJB 3.0 Persistence API Documentation</doctitle>
+          <links>
+            <link>http://java.sun.com/j2se/1.5/docs/api</link>
+          </links>
+          <stylesheetfile>jdstyle.css</stylesheetfile>
+          <windowtitle>EJB 3.0 Persistence API Documentation</windowtitle>
+        </configuration>
+      </plugin>
+    </plugins>
+  </reporting>
+
+  <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>
+        <outputDirectory>target/classes-jdk14</outputDirectory>
+        <testOutputDirectory>target/test-classes-jdk14</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>           
+              <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <properties>
+    <outputDirectory>target/classes</outputDirectory>
+    <testOutputDirectory>target/test-classes</testOutputDirectory>
+  </properties>
+  
+</project>

Added: projects/javaee/trunk/jboss-servlet-api/pom-jdk14.xml
===================================================================
--- projects/javaee/trunk/jboss-servlet-api/pom-jdk14.xml	                        (rev 0)
+++ projects/javaee/trunk/jboss-servlet-api/pom-jdk14.xml	2007-08-21 15:31:21 UTC (rev 64735)
@@ -0,0 +1,105 @@
+<?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.javaee</groupId>
+    <artifactId>jboss-javaee-jdk14</artifactId>
+    <version>5.0.0-SNAPSHOT</version>
+    <relativePath>../build/pom-jdk14.xml</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.jboss.javaee</groupId>
+  <artifactId>jboss-servlet-api-jdk14</artifactId>
+  <version>2.5-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>JBoss Java Servlet 2.5 API</name>
+  <url>http://www.jboss.org</url>
+  <description>The Java Servlet 2.5 API classes</description>
+  <build>
+    <outputDirectory>${outputDirectory}</outputDirectory>
+    <testOutputDirectory>${testOutputDirectory}</testOutputDirectory>
+  </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>
+        <outputDirectory>target/classes-jdk14</outputDirectory>
+        <testOutputDirectory>target/test-classes-jdk14</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>           
+              <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <doctitle>Java Servlet ${project.version} API Documentation</doctitle>
+          <links>
+            <link>http://java.sun.com/j2se/1.5/docs/api</link>
+          </links>
+          <windowtitle>Java Servlet ${project.version} API Documentation</windowtitle>
+        </configuration>
+      </plugin>
+    </plugins>
+  </reporting>
+  
+  <properties>
+    <outputDirectory>target/classes</outputDirectory>
+    <testOutputDirectory>target/test-classes</testOutputDirectory>
+  </properties>
+  
+</project>

Added: projects/javaee/trunk/jboss-transaction-api/pom-jdk14.xml
===================================================================
--- projects/javaee/trunk/jboss-transaction-api/pom-jdk14.xml	                        (rev 0)
+++ projects/javaee/trunk/jboss-transaction-api/pom-jdk14.xml	2007-08-21 15:31:21 UTC (rev 64735)
@@ -0,0 +1,88 @@
+<?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.javaee</groupId>
+    <artifactId>jboss-javaee-jdk14</artifactId>
+    <version>5.0.0-SNAPSHOT</version>
+    <relativePath>../build/pom-jdk14.xml</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>jboss-transaction-api-jdk14</artifactId>
+  <version>1.0.1-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>JBoss Transaction 1.0.1 API</name>
+  <url>http://www.jboss.org</url>
+  <description>The Java Transaction 1.0.1 API classes</description>
+  <build>
+    <outputDirectory>${outputDirectory}</outputDirectory>
+    <testOutputDirectory>${testOutputDirectory}</testOutputDirectory>
+  </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>
+        <outputDirectory>target/classes-jdk14</outputDirectory>
+        <testOutputDirectory>target/test-classes-jdk14</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>           
+              <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <properties>
+    <outputDirectory>target/classes</outputDirectory>
+    <testOutputDirectory>target/test-classes</testOutputDirectory>
+  </properties>
+  
+</project>




More information about the jboss-cvs-commits mailing list