cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject svn commit: r367992 - /cocoon/trunk/cocoon-core/pom.xml
Date Wed, 11 Jan 2006 10:15:53 GMT
Author: giacomo
Date: Wed Jan 11 02:15:50 2006
New Revision: 367992

URL: http://svn.apache.org/viewcvs?rev=367992&view=rev
Log:
use profile to exclude mx4j on jdk newer than 1.4

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

Modified: cocoon/trunk/cocoon-core/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-core/pom.xml?rev=367992&r1=367991&r2=367992&view=diff
==============================================================================
--- cocoon/trunk/cocoon-core/pom.xml (original)
+++ cocoon/trunk/cocoon-core/pom.xml Wed Jan 11 02:15:50 2006
@@ -353,11 +353,22 @@
       <artifactId>jakarta-bcel</artifactId>
       <version>20040329</version>
     </dependency>
-    <dependency>
-      <groupId>mx4j</groupId>
-      <artifactId>mx4j</artifactId>
-      <version>3.0.1</version>
-      <!-- <scope>provided</scope> -->
-    </dependency>
   </dependencies>
+  <profiles>
+    <profile>
+      <id>jdk14</id>
+      <activation>
+        <jdk>1.4</jdk>
+      </activation>
+      <dependencies>
+        <!-- this dependency is only needed on JDK 1.4 (our oldest supported JDK version)

+             as later versions include the javax.management classes -->
+        <dependency>
+          <groupId>mx4j</groupId>
+          <artifactId>mx4j</artifactId>
+          <version>3.0.1</version>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
 </project>



Mime
View raw message