Author: coheigea
Date: Wed Sep 21 09:24:11 2011
New Revision: 1173539
URL: http://svn.apache.org/viewvc?rev=1173539&view=rev
Log:
Fix failing JDK1.5 build of the STS.
Modified:
cxf/trunk/services/sts/sts-core/pom.xml
Modified: cxf/trunk/services/sts/sts-core/pom.xml
URL:
http://svn.apache.org/viewvc/cxf/trunk/services/sts/sts-core/pom.xml?rev=1173539&r1=1173538&r2=1173539&view=diff
==============================================================================
--- cxf/trunk/services/sts/sts-core/pom.xml (original)
+++ cxf/trunk/services/sts/sts-core/pom.xml Wed Sep 21 09:24:11 2011
@@ -131,6 +131,53 @@
</plugin>
</plugins>
</build>
+ <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>