abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From janc...@apache.org
Subject svn commit: r687058 - /incubator/abdera/java/trunk/pom.xml
Date Tue, 19 Aug 2008 13:54:38 GMT
Author: jancona
Date: Tue Aug 19 06:54:37 2008
New Revision: 687058

URL: http://svn.apache.org/viewvc?rev=687058&view=rev
Log:
[ABDERA-148] Support Java 6 compilation. Added "java6" Maven profile which can be invoke with
mvn -Pjava6 installl or in settings.xml. Note: I also had to set  MAVEN_OPTS="-XX:MaxPermSize=128m"
to avoid an out of memory exception when compiling with Java 6.

Modified:
    incubator/abdera/java/trunk/pom.xml

Modified: incubator/abdera/java/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/pom.xml?rev=687058&r1=687057&r2=687058&view=diff
==============================================================================
--- incubator/abdera/java/trunk/pom.xml (original)
+++ incubator/abdera/java/trunk/pom.xml Tue Aug 19 06:54:37 2008
@@ -230,6 +230,46 @@
   </build>
   
   <profiles>
+    <profile>
+      <id>java6</id>
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+              <source>1.6</source>
+              <target>1.6</target>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <configuration>
+              <source>1.6</source>        
+              <links>
+                <link>http://java.sun.com/javase/6/docs/api/</link>
+              </links>
+              <aggregate>true</aggregate>
+              <excludePackageNames>org.apache.abdera.util,org.apache.abdera.ext.*.impl,org.apache.abdera.parser.**,org.apache.abdera.security.**</excludePackageNames>
+            </configuration>
+          </plugin>
+        </plugins>
+      </reporting>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+              <source>1.6</source>
+              <target>1.6</target>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    
+    </profile>
   	<profile>
   		<id>deploy</id>
   		<modules>
@@ -312,14 +352,14 @@
       <dependency>
         <groupId>org.codehaus.woodstox</groupId>
         <artifactId>wstx-asl</artifactId>
-        <version>3.2.1</version>
+        <version>3.2.6</version>
         <scope>runtime</scope>	    
-      <exclusions>
-        <exclusion>
-          <groupId>stax</groupId>
-          <artifactId>stax-api</artifactId>
-        </exclusion>
-      </exclusions>
+        <exclusions>
+          <exclusion>
+            <groupId>stax</groupId>
+            <artifactId>stax-api</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
       
       <dependency>



Mime
View raw message