Author: ningjiang
Date: Mon Dec 14 09:13:43 2009
New Revision: 890240

URL: http://svn.apache.org/viewvc?rev=890240&view=rev
Log:
Added the support for maven 2.0.x and maven 2.2.x at same time

Modified:
    camel/trunk/camel-core/pom.xml

Modified: camel/trunk/camel-core/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/camel-core/pom.xml?rev=890240&r1=890239&r2=890240&view=diff
==============================================================================
--- camel/trunk/camel-core/pom.xml (original)
+++ camel/trunk/camel-core/pom.xml Mon Dec 14 09:13:43 2009
@@ -231,8 +231,26 @@
 
   <profiles>
     <profile>
-      <id>jdk1.5</id>
+      <id>jdk1.5-maven-2.2.x</id>
       <activation>
+        <!-- for maven 2.2.x syntax-->
+        <jdk>[1.5,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.xml.bind</groupId>
+          <artifactId>jaxb-api</artifactId>
+        </dependency>
+        <dependency>
+          <groupId>com.sun.xml.bind</groupId>
+          <artifactId>jaxb-impl</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <id>jdk1.5-maven-2.0.x</id>
+      <activation>
+        <!-- for maven 2.0.x syntax -->
         <jdk>1.5</jdk>
       </activation>
       <dependencies>


Reply via email to