[jboss-cvs] JBossAS SVN: r91668 - trunk/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Jul 26 23:00:55 EDT 2009


Author: pgier
Date: 2009-07-26 23:00:55 -0400 (Sun, 26 Jul 2009)
New Revision: 91668

Modified:
   trunk/build/build.xml
Log:
Use a property for the thirdparty dependencies pom file so that it can be overridden.

Modified: trunk/build/build.xml
===================================================================
--- trunk/build/build.xml	2009-07-26 22:39:43 UTC (rev 91667)
+++ trunk/build/build.xml	2009-07-27 03:00:55 UTC (rev 91668)
@@ -37,6 +37,10 @@
 
   <target name="init-thirdparty-dependencies" depends="init"
           description="Initialize thirdparty dependency configuration">
+    
+    <!-- Set a default file to use to define the thirdparty dependencies. -->
+    <property name="thirdparty.pom.file" value="../thirdparty/pom.xml"/>
+    
     <!-- 
       -  Initialize properties for each dependency in the thirdparty pom 
       -  The properties take the form "groupId:artifactId:packaging"
@@ -46,14 +50,14 @@
                         scopes="compile, runtime" type="pom, jar, zip, war"
                         addArtifactFileSetRefs="true"
                         cacheDependencyRefs="true">
-      <pom file="../thirdparty/pom.xml"/>
+      <pom file="${thirdparty.pom.file}"/>
     </maven:dependencies>
 
     <mapper id="remove-versions" classpathref="maven-ant-tasks.classpath"
               classname="org.apache.maven.artifact.ant.VersionMapper"
               from="${pom.dependencies.versions}" to="flatten" />
 
-    <!-- Due to MANTTASKS-148 files with jboss-sar packaging cannot be resolved directly in the pom -->
+    <!-- Due to MANTTASKS-148, files with jboss-sar packaging cannot be resolved directly in the pom -->
     <xmlproperty file="../component-matrix/pom.xml" prefix="component-matrix"/>
     <maven:dependencies addArtifactFileSetRefs="true">
       <dependency groupId="jboss.jbossts" artifactId="jbossts-tools" 




More information about the jboss-cvs-commits mailing list