You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2012/03/15 12:15:06 UTC

svn commit: r1300914 - in /camel/trunk: apache-camel/pom.xml components/camel-msv/pom.xml

Author: bvahdat
Date: Thu Mar 15 11:15:06 2012
New Revision: 1300914

URL: http://svn.apache.org/viewvc?rev=1300914&view=rev
Log:
Fixed the failed build because of camel-msv dependencies while using Maven 3.0.4.

Modified:
    camel/trunk/apache-camel/pom.xml
    camel/trunk/components/camel-msv/pom.xml

Modified: camel/trunk/apache-camel/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/apache-camel/pom.xml?rev=1300914&r1=1300913&r2=1300914&view=diff
==============================================================================
--- camel/trunk/apache-camel/pom.xml (original)
+++ camel/trunk/apache-camel/pom.xml Thu Mar 15 11:15:06 2012
@@ -321,13 +321,6 @@
     <dependency>
       <groupId>org.apache.camel</groupId>
       <artifactId>camel-msv</artifactId>
-      <!--Avoid the WARNING message -->
-      <exclusions>
-         <exclusion>
-           <groupId>org.iso_relax.verifier.jaxp.validation</groupId>
-           <artifactId>isorelax-jaxp-bridge</artifactId> 
-         </exclusion>
-      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.apache.camel</groupId>

Modified: camel/trunk/components/camel-msv/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-msv/pom.xml?rev=1300914&r1=1300913&r2=1300914&view=diff
==============================================================================
--- camel/trunk/components/camel-msv/pom.xml (original)
+++ camel/trunk/components/camel-msv/pom.xml Thu Mar 15 11:15:06 2012
@@ -35,6 +35,27 @@
     <camel.osgi.export.pkg>org.apache.camel.component.validator.msv.*</camel.osgi.export.pkg>
   </properties>
 
+  <!--
+    The POM of org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:jar:1.0
+    on the central repo is not 4.0.0 complaint so that we should pick the one SMX
+    Repo already provides, as otherwise building under Maven 3.0.4 would fail!
+    So delete any old .m2 cache entries of yours for this artifact beforehand if
+    you make use of Maven 3.0.4+
+  -->
+  <repositories>
+    <repository>
+      <id>apache.smx.repo</id>
+      <url>http://svn.apache.org/repos/asf/servicemix/m2-repo/</url>
+      <name>Apache ServiceMix Repo</name>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+    </repository>
+  </repositories>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.camel</groupId>