[seam-commits] Seam SVN: r10869 - examples/trunk.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon May 11 17:46:44 EDT 2009


Author: dan.j.allen
Date: 2009-05-11 17:46:44 -0400 (Mon, 11 May 2009)
New Revision: 10869

Modified:
   examples/trunk/pom.xml
Log:
use jsr-250 if compiling with jdk5


Modified: examples/trunk/pom.xml
===================================================================
--- examples/trunk/pom.xml	2009-05-11 21:46:16 UTC (rev 10868)
+++ examples/trunk/pom.xml	2009-05-11 21:46:44 UTC (rev 10869)
@@ -164,6 +164,24 @@
          </plugins>
       </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>
    
    <ciManagement>
       <system>Hudson</system>




More information about the seam-commits mailing list