openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r763155 - /openjpa/trunk/openjpa-persistence/pom.xml
Date Wed, 08 Apr 2009 09:37:05 GMT
Author: ppoddar
Date: Wed Apr  8 09:37:04 2009
New Revision: 763155

URL: http://svn.apache.org/viewvc?rev=763155&view=rev
Log:
Skip compiling JDK6 dependent class on JDK5 profile

Modified:
    openjpa/trunk/openjpa-persistence/pom.xml

Modified: openjpa/trunk/openjpa-persistence/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/pom.xml?rev=763155&r1=763154&r2=763155&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/pom.xml (original)
+++ openjpa/trunk/openjpa-persistence/pom.xml Wed Apr  8 09:37:04 2009
@@ -44,18 +44,26 @@
             <artifactId>geronimo-jpa_2.0_spec</artifactId>
         </dependency>
     </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-        		<groupId>org.apache.maven.plugins</groupId>
-        		<artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                	<excludes>
-                	   <exclude>**/AnnotationProcessor6.java</exclude>
-                	</excludes>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
     
+    <profiles>
+  		<profile>
+  		    <id>jdk5-compiler</id>
+            <build>
+              <plugins>
+		        <plugin>
+		    		<groupId>org.apache.maven.plugins</groupId>
+		    		<artifactId>maven-compiler-plugin</artifactId>
+		            <configuration>
+		            	<excludes>
+		            	   <exclude>**/AnnotationProcessor6.java</exclude>
+		            	</excludes>
+		            </configuration>
+		        </plugin>
+		      </plugins>
+		   </build>
+		   <activation>
+		      <jdk>1.5</jdk>
+		   </activation>
+  		</profile>
+	</profiles>
 </project>



Mime
View raw message