cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1329173 - /cxf/trunk/rt/rs/security/xml/pom.xml
Date Mon, 23 Apr 2012 10:54:58 GMT
Author: coheigea
Date: Mon Apr 23 10:54:57 2012
New Revision: 1329173

URL: http://svn.apache.org/viewvc?rev=1329173&view=rev
Log:
Fixing build failure with JDK 1.5

Modified:
    cxf/trunk/rt/rs/security/xml/pom.xml

Modified: cxf/trunk/rt/rs/security/xml/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/xml/pom.xml?rev=1329173&r1=1329172&r2=1329173&view=diff
==============================================================================
--- cxf/trunk/rt/rs/security/xml/pom.xml (original)
+++ cxf/trunk/rt/rs/security/xml/pom.xml Mon Apr 23 10:54:57 2012
@@ -65,5 +65,51 @@
         <plugins>
         </plugins>
     </build>
-    <profiles /> 
+    <profiles>
+        <profile>
+            <id>jdk15</id>
+            <activation>
+                <jdk>1.5</jdk>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-dependency-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>create-endorsed-dir</id>
+                                <phase>validate</phase>
+                                <goals>
+                                    <goal>copy</goal>
+                                </goals>
+                                <configuration>
+                                    <artifactItems>
+                                        <artifactItem>
+                                            <groupId>xerces</groupId>
+                                            <artifactId>xercesImpl</artifactId>
+                                            <outputDirectory>${basedir}/target/endorsed</outputDirectory>
+                                        </artifactItem>
+                                        <artifactItem>
+                                            <groupId>xml-apis</groupId>
+                                            <artifactId>xml-apis</artifactId>
+                                            <version>1.3.04</version>
+                                            <outputDirectory>${basedir}/target/endorsed</outputDirectory>
+                                        </artifactItem>
+                                    </artifactItems>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <argLine>-Djava.endorsed.dirs=${basedir}/target/endorsed</argLine>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>



Mime
View raw message