You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by at...@apache.org on 2011/10/05 00:39:32 UTC

svn commit: r1178992 - /incubator/rave/trunk/rave-shindig/pom.xml

Author: ate
Date: Tue Oct  4 22:39:32 2011
New Revision: 1178992

URL: http://svn.apache.org/viewvc?rev=1178992&view=rev
Log:
RAVE-245: workaround or fix for classloader resolution conflict on Xerces from maven-openjpa-plugin when executing  maven install and maven-cobertura-plugin together.
See: http://issues.apache.org/jira/browse/RAVE-245

Modified:
    incubator/rave/trunk/rave-shindig/pom.xml

Modified: incubator/rave/trunk/rave-shindig/pom.xml
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-shindig/pom.xml?rev=1178992&r1=1178991&r2=1178992&view=diff
==============================================================================
--- incubator/rave/trunk/rave-shindig/pom.xml (original)
+++ incubator/rave/trunk/rave-shindig/pom.xml Tue Oct  4 22:39:32 2011
@@ -177,6 +177,18 @@
                         </goals>
                     </execution>
                 </executions>
+                <dependencies>
+                  <!-- RAVE-245: Enforce xercesImpl:2.9.1 on the classpath for openjpa-maven-plugin
+                                 to resolve a conflicting classloader resolution when *also* running
+                                 a forked test lifecycle by the maven-cobertura-plugin, 
+                                 e.g. through mvn install cobertura:cobertura                                 
+                  -->
+                  <dependency>
+                    <groupId>xerces</groupId>
+                    <artifactId>xercesImpl</artifactId>
+                    <version>2.9.1</version>
+                  </dependency>
+                </dependencies>
             </plugin>
             <plugin>
                 <groupId>com.googlecode.mavenfilesync</groupId>