Author: veithen
Date: Sun Aug 30 10:04:59 2015
New Revision: 1700103

URL: http://svn.apache.org/r1700103
Log:
Use alta-maven-plugin to build the bootclasspath in dom-testsuite.

Modified:
    webservices/axiom/trunk/pom.xml
    webservices/axiom/trunk/testing/dom-testsuite/pom.xml

Modified: webservices/axiom/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/axiom/trunk/pom.xml?rev=1700103&r1=1700102&r2=1700103&view=diff
==============================================================================
--- webservices/axiom/trunk/pom.xml (original)
+++ webservices/axiom/trunk/pom.xml Sun Aug 30 10:04:59 2015
@@ -689,7 +689,7 @@
                 <plugin>
                     <groupId>com.github.veithen.alta</groupId>
                     <artifactId>alta-maven-plugin</artifactId>
-                    <version>0.2</version>
+                    <version>0.3</version>
                 </plugin>
                 <plugin>
                     <artifactId>maven-project-info-reports-plugin</artifactId>

Modified: webservices/axiom/trunk/testing/dom-testsuite/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/axiom/trunk/testing/dom-testsuite/pom.xml?rev=1700103&r1=1700102&r2=1700103&view=diff
==============================================================================
--- webservices/axiom/trunk/testing/dom-testsuite/pom.xml (original)
+++ webservices/axiom/trunk/testing/dom-testsuite/pom.xml Sun Aug 30 10:04:59 
2015
@@ -96,17 +96,28 @@
         </resources>
         <plugins>
             <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
+                <groupId>com.github.veithen.alta</groupId>
+                <artifactId>alta-maven-plugin</artifactId>
                 <executions>
                     <execution>
                         <phase>generate-test-resources</phase>
                         <goals>
-                            <goal>copy-dependencies</goal>
+                            <goal>generate-properties</goal>
                         </goals>
                         <configuration>
-                            
<includeArtifactIds>xml-apis,xercesImpl</includeArtifactIds>
-                            
<outputDirectory>${project.build.directory}/endorsed</outputDirectory>
-                            <stripVersion>true</stripVersion>
+                            <name>bootclasspath</name>
+                            <value>%file%</value>
+                            <separator>${path.separator}</separator>
+                            <artifacts>
+                                <artifact>
+                                    <groupId>xml-apis</groupId>
+                                    <artifactId>xml-apis</artifactId>
+                                </artifact>
+                                <artifact>
+                                    <groupId>xerces</groupId>
+                                    <artifactId>xercesImpl</artifactId>
+                                </artifact>
+                            </artifacts>
                         </configuration>
                     </execution>
                 </executions>
@@ -232,7 +243,7 @@
                 <configuration>
                     <!-- This is necessary to execute the tests with the IBM 
JRE: we need to endorse the particular Xerces version
                          we want to use because the JRE already contains 
Xerces. -->
-                    <argLine>${jacoco.surefireArgLine} 
-Xbootclasspath/p:${project.build.directory}/endorsed/xml-apis.jar${path.separator}${project.build.directory}/endorsed/xercesImpl.jar</argLine>
+                    <argLine>${jacoco.surefireArgLine} 
-Xbootclasspath/p:${bootclasspath}</argLine>
                 </configuration>
             </plugin>
         </plugins>


Reply via email to