camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jans...@apache.org
Subject svn commit: r700186 - /activemq/camel/trunk/components/pom.xml
Date Mon, 29 Sep 2008 17:58:01 GMT
Author: janstey
Date: Mon Sep 29 10:58:00 2008
New Revision: 700186

URL: http://svn.apache.org/viewvc?rev=700186&view=rev
Log:
CAMEL-939 - Skip the build of camel-spring/rest when IBM's JDK is used

Modified:
    activemq/camel/trunk/components/pom.xml

Modified: activemq/camel/trunk/components/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/pom.xml?rev=700186&r1=700185&r2=700186&view=diff
==============================================================================
--- activemq/camel/trunk/components/pom.xml (original)
+++ activemq/camel/trunk/components/pom.xml Mon Sep 29 10:58:00 2008
@@ -69,13 +69,11 @@
     <module>camel-ognl</module>
     <module>camel-osgi</module>
     <module>camel-quartz</module>
-    <module>camel-rest</module>
     <module>camel-rmi</module>
     <!--<module>camel-ruby</module>-->
     <module>camel-saxon</module>
     <module>camel-scala</module>
     <module>camel-script</module>
-    <module>camel-spring</module>
     <module>camel-spring-integration</module>
     <module>camel-sql</module>
     <module>camel-stringtemplate</module>
@@ -89,4 +87,22 @@
     <module>camel-xstream</module>
   </modules>
 
+  <profiles>
+    <!-- The schemagen plugin does not work on IBM's JDK. Lets
+    skip any component builds that use schemagen on that platform. -->
+    <profile>
+      <id>not-on-ibmjdk</id>
+      <activation>
+        <property>
+          <name>java.vendor</name>
+          <value>!IBM Corporation</value>
+        </property>
+      </activation>
+      <modules>
+        <module>camel-rest</module>
+        <module>camel-spring</module>
+      </modules>      
+    </profile>
+  </profiles>
+
 </project>



Mime
View raw message