[jboss-cvs] JBossAS SVN: r78376 - trunk/varia.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Sep 10 15:55:11 EDT 2008
Author: pgier
Date: 2008-09-10 15:55:10 -0400 (Wed, 10 Sep 2008)
New Revision: 78376
Modified:
trunk/varia/pom.xml
Log:
Set up compiler profiles for jdk5 and jdk6
Modified: trunk/varia/pom.xml
===================================================================
--- trunk/varia/pom.xml 2008-09-10 19:51:24 UTC (rev 78375)
+++ trunk/varia/pom.xml 2008-09-10 19:55:10 UTC (rev 78376)
@@ -22,16 +22,8 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>org/jboss/jdo/castor/*.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-2</version>
<executions>
<execution>
<id>assembly</id>
@@ -233,4 +225,51 @@
</dependencies>
+ <profiles>
+ <profile>
+ <id>jdk5</id>
+ <activation>
+ <jdk>1.5</jdk>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <excludes>
+ <exclude>org/jboss/varia/stats/*JDK6.java</exclude>
+ <exclude>org/jboss/tm/plugins/tyrex/*.java</exclude>
+ <exclude>org/jboss/jdo/castor/*.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>jdk6</id>
+ <activation>
+ <jdk>1.6</jdk>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <excludes>
+ <exclude>org/jboss/varia/stats/*JDK5.java</exclude>
+ <exclude>org/jboss/tm/plugins/tyrex/*.java</exclude>
+ <exclude>org/jboss/jdo/castor/*.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list