Author: shane.bryzak(a)jboss.com
Date: 2009-12-11 18:15:37 -0500 (Fri, 11 Dec 2009)
New Revision: 11819
Modified:
modules/build/trunk/pom.xml
Log:
added compiler version
Modified: modules/build/trunk/pom.xml
===================================================================
--- modules/build/trunk/pom.xml 2009-12-11 22:43:21 UTC (rev 11818)
+++ modules/build/trunk/pom.xml 2009-12-11 23:15:37 UTC (rev 11819)
@@ -366,6 +366,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -516,6 +520,22 @@
</pluginManagement>
</build>
+ <profiles>
+ <profile>
+ <id>jdk5</id>
+ <activation>
+ <jdk>1.5</jdk>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>jsr250-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
+
<distributionManagement>
<repository>
<!-- Copy the dist to the local checkout of the JBoss maven2 repo
${maven.repository.root} -->
Show replies by date