commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r383766 - /jakarta/commons/proper/logging/contrib/simon/jcl2/core-dynamic/pom.xml
Date Tue, 07 Mar 2006 04:14:20 GMT
Author: skitching
Date: Mon Mar  6 20:14:19 2006
New Revision: 383766

URL: http://svn.apache.org/viewcvs?rev=383766&view=rev
Log:
Include core files inline in dynamic jar. Other minor pom tweaks.

Modified:
    jakarta/commons/proper/logging/contrib/simon/jcl2/core-dynamic/pom.xml

Modified: jakarta/commons/proper/logging/contrib/simon/jcl2/core-dynamic/pom.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/contrib/simon/jcl2/core-dynamic/pom.xml?rev=383766&r1=383765&r2=383766&view=diff
==============================================================================
--- jakarta/commons/proper/logging/contrib/simon/jcl2/core-dynamic/pom.xml (original)
+++ jakarta/commons/proper/logging/contrib/simon/jcl2/core-dynamic/pom.xml Mon Mar  6 20:14:19
2006
@@ -1,11 +1,21 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
+
+  <!--
+    - Inherit settings from common pom
+    -->
+  <parent>
+    <groupId>org.apache.commons.logging</groupId>
+    <artifactId>commons-logging</artifactId>
+    <version>0.1-SNAPSHOT</version>
+  </parent>
+  
   <groupId>org.apache.commons.logging</groupId>
   <artifactId>commons-logging-core-dynamic</artifactId>
   <packaging>jar</packaging>
   <version>0.1-SNAPSHOT</version>
-  <name>Commons Logging Core</name>
+  <name>Commons Logging Dynamic</name>
   <url>http://jakarta.apache.org/commons/logging</url>
   <dependencies>
     <dependency>
@@ -42,6 +52,47 @@
     </testResources>
 -->
 
+    <plugins>
+      <!--    
+       - This clause causes dependency commons-logging-core to be
+       - downloaded and unpacked into target/classes. The jar created
+       - during the package phase then ends up including the core
+       - classes in the core-static.jar file.
+       -
+       - WARNING: the core version is specified here; update this when
+       - a new CORE version has been released!
+       -
+       - It would be nice to just use unpack-dependencies to automatically
+       - select any direct dependencies of this project for unpacking.
+       - Unfortunately, junit is *also* a dependency, and in the 1.0
+       - release of the dependency plugin there is no way to exclude
+       - test dependencies (1.1-2005-03-07 does support this).
+       -->
+     <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>dependency-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>unpack-dependencies</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <artifactItems>
+            <artifactItem>
+              <groupId>org.apache.commons.logging</groupId>
+              <artifactId>commons-logging-core</artifactId>
+              <version>0.1-SNAPSHOT</version>
+              <type>jar</type>
+              <outputDirectory>${project.build.outputDirectory}</outputDirectory>
+            </artifactItem>
+          </artifactItems>
+        </configuration>
+      </plugin>
+    </plugins>
 
   </build>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message