db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject svn commit: r239566 - in /db/torque/runtime/trunk: maven.xml project.xml
Date Wed, 24 Aug 2005 08:24:58 GMT
Author: henning
Date: Wed Aug 24 01:24:55 2005
New Revision: 239566

URL: http://svn.apache.org/viewcvs?rev=239566&view=rev
Log:
add a "dist.bundle" property which makes it possible to select the
elements going into the binary distribution with a property in the
POM, thus removing the necessity to hard code them in maven.xml


Modified:
    db/torque/runtime/trunk/maven.xml
    db/torque/runtime/trunk/project.xml

Modified: db/torque/runtime/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/db/torque/runtime/trunk/maven.xml?rev=239566&r1=239565&r2=239566&view=diff
==============================================================================
--- db/torque/runtime/trunk/maven.xml (original)
+++ db/torque/runtime/trunk/maven.xml Wed Aug 24 01:24:55 2005
@@ -45,9 +45,12 @@
   <!-- ================================================================== -->
   <preGoal name="dist:build-bin">
     <!-- include listed dependencies -->
-    <deploy:copy-deps 
-      todir="${maven.dist.bin.assembly.dir}/lib" 
-      excludes="jndi:jndi,jdbc,maven-ant-plugin,maven-artifact-plugin,maven-changelog-plugin,maven-developer-activity-plugin,maven-file-activity-plugin,maven-findbugs-plugin,maven-jar-plugin,maven-plugin-plugin,maven-scm-plugin,maven-site-plugin,maven-tasklist-plugin,maven-xdoc-plugin"
/>
+    <j:forEach var="dep" items="${pom.dependencies}">
+      <j:if test="${dep.getProperty('dist.bundle') != null &amp;&amp; dep.getProperty('dist.bundle').equalsIgnoreCase('true')}">
+        <copy todir="${maven.dist.bin.assembly.dir}/lib"
+              file="${maven.repo.local}/${dep.getArtifactDirectory()}/jars/${dep.getArtifact()}"/>
+      </j:if>
+    </j:forEach>
 
     <!-- copy the contents of the conf directory -->
     <!-- to the right place -->

Modified: db/torque/runtime/trunk/project.xml
URL: http://svn.apache.org/viewcvs/db/torque/runtime/trunk/project.xml?rev=239566&r1=239565&r2=239566&view=diff
==============================================================================
--- db/torque/runtime/trunk/project.xml (original)
+++ db/torque/runtime/trunk/project.xml Wed Aug 24 01:24:55 2005
@@ -40,6 +40,9 @@
       <groupId>avalon-framework</groupId>
       <version>4.1.4</version>
       <url>http://avalon.apache.org/</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency>
 
     <dependency>
@@ -47,6 +50,9 @@
       <groupId>commons-beanutils</groupId>
       <version>1.7.0</version>
       <url>http://jakarta.apache.org/commons/beanutils/</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency>
 
     <dependency>
@@ -54,6 +60,9 @@
       <groupId>commons-collections</groupId>
       <version>3.1</version>
       <url>http://jakarta.apache.org/commons/collections/</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency>
 
     <dependency>
@@ -61,6 +70,9 @@
       <groupId>commons-configuration</groupId>
       <version>1.1</version>
       <url>http://jakarta.apache.org/commons/configuration/</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency>
 
     <dependency>
@@ -68,6 +80,9 @@
       <groupId>commons-dbcp</groupId>
       <version>1.2.1</version>
       <url>http://jakarta.apache.org/commons/dbcp/</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency>
 
     <dependency>
@@ -75,6 +90,9 @@
       <groupId>commons-lang</groupId>
       <version>2.1</version>
       <url>http://jakarta.apache.org/commons/lang/</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency>
 
     <dependency>
@@ -82,6 +100,9 @@
       <groupId>commons-logging</groupId>
       <version>1.0.4</version>
       <url>http://jakarta.apache.org/commons/logging/</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency>
 
     <dependency>
@@ -89,6 +110,9 @@
       <groupId>commons-pool</groupId>
       <version>1.2</version>
       <url>http://jakarta.apache.org/commons/pool/</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency>
 
     <dependency>
@@ -96,6 +120,9 @@
       <groupId>jcs</groupId>
       <version>20030822.182132</version>
       <url>http://jakarta.apache.org/turbine/jcs/</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency>
 
     <dependency>
@@ -117,6 +144,9 @@
       <groupId>log4j</groupId>
       <version>1.2.8</version>
       <url>http://logging.apache.org/log4j/</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency-->
 
     <dependency>
@@ -125,6 +155,9 @@
       <groupId>logkit</groupId>
       <version>1.0.1</version>
       <url>http://avalon.apache.org/products/runtime/system/logging/</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency>
 
     <dependency>
@@ -132,6 +165,9 @@
       <groupId>village</groupId>
       <version>2.0-dev-20030825</version>
       <url>http://share.whichever.com/index.php?SCREEN=village</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency>
 
     <dependency>
@@ -139,6 +175,9 @@
       <groupId>xerces</groupId>
       <version>2.6.2</version>
       <url>http://xml.apache.org/xerces2-j/</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency>
 
     <dependency>
@@ -146,6 +185,9 @@
       <groupId>xml-apis</groupId>
       <version>2.0.2</version>
       <url>http://xml.apache.org/commons/</url>
+      <properties>
+        <dist.bundle>true</dist.bundle>
+      </properties>
     </dependency>
 
     <dependency>



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


Mime
View raw message