46 lines
1.8 KiB
Diff
46 lines
1.8 KiB
Diff
diff -ruN jboss-jstl-1.2-api-1.0.3.Final/pom.xml jboss-jstl-1.2-api-1.0.3.Final_modified/pom.xml
|
|
--- jboss-jstl-1.2-api-1.0.3.Final/pom.xml 2012-03-18 21:42:07.000000000 -0400
|
|
+++ jboss-jstl-1.2-api-1.0.3.Final_modified/pom.xml 2015-10-19 13:26:53.500409162 -0400
|
|
@@ -32,6 +32,41 @@
|
|
|
|
<build>
|
|
<plugins>
|
|
+ <!-- copy /usr/share/java/xalan-j2.jar to a directory we want javac to endorse -->
|
|
+ <plugin>
|
|
+ <artifactId>maven-resources-plugin</artifactId>
|
|
+ <executions>
|
|
+ <execution>
|
|
+ <id>copy-resource-one</id>
|
|
+ <phase>generate-sources</phase>
|
|
+ <goals>
|
|
+ <goal>copy-resources</goal>
|
|
+ </goals>
|
|
+ <configuration>
|
|
+ <outputDirectory>${project.build.directory}/endorsed</outputDirectory>
|
|
+ <resources>
|
|
+ <resource>
|
|
+ <directory>/usr/share/java</directory>
|
|
+ <includes>
|
|
+ <include>xalan-j2.jar</include>
|
|
+ </includes>
|
|
+ </resource>
|
|
+ </resources>
|
|
+ </configuration>
|
|
+ </execution>
|
|
+ </executions>
|
|
+ </plugin>
|
|
+ <!-- endorse xalan-j2.jar to avoid the confusion with xml.jar for org.apache.xpath.res.XPATHErrorResources -->
|
|
+ <plugin>
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
+ <configuration>
|
|
+ <compilerArguments>
|
|
+ <endorseddirs>${project.build.directory}/endorsed</endorseddirs>
|
|
+ </compilerArguments>
|
|
+ </configuration>
|
|
+ </plugin>
|
|
+
|
|
<!-- Include LICENSE.txt in the META-INF directory -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|