[seam-commits] Seam SVN: r7344 - trunk/build.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sat Feb 2 19:54:13 EST 2008


Author: pete.muir at jboss.org
Date: 2008-02-02 19:54:13 -0500 (Sat, 02 Feb 2008)
New Revision: 7344

Modified:
   trunk/build/build.xml
   trunk/build/parent.pom.xml
Log:
Dependecy report task

Modified: trunk/build/build.xml
===================================================================
--- trunk/build/build.xml	2008-02-03 00:53:20 UTC (rev 7343)
+++ trunk/build/build.xml	2008-02-03 00:54:13 UTC (rev 7344)
@@ -155,6 +155,12 @@
 		<installExample name="${name}"/>
 	</target>
 	
+	<target name="dependencyReport" depends="initpoms" description="Produce a dependency tree for the given module">
+		<fail unless="module" message="Must specify module e.g. core"/>
+		<maven target="-f poms/${module}.pom dependency:tree" basedir="${tmp.dir}">
+		</maven>
+	</target>
+	
 	<macrodef name="offline">
 		<attribute name="pom" />
 		<attribute name="repository" />

Modified: trunk/build/parent.pom.xml
===================================================================
--- trunk/build/parent.pom.xml	2008-02-03 00:53:20 UTC (rev 7343)
+++ trunk/build/parent.pom.xml	2008-02-03 00:54:13 UTC (rev 7344)
@@ -14,27 +14,17 @@
     <artifactId>root</artifactId>
     <version>@seam.version@</version>
   </parent>
-  <!--  <pluginRepositories>
-    <pluginRepository>
-      <snapshots />
-      <id>m2-snapshot</id>
-      <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-    </pluginRepository>
-  </pluginRepositories>-->
-
-  <!-- Uncomment to enable newer version of dependency plugin which has the
-  dependency:tree command useful for analyzing the dependency tree of a module
-  You'll also need the m2-snapshot repository enabled -->
+  
   <build>
-    <!--  <pluginManagement>
+    <pluginManagement>
       <plugins>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-dependency-plugin</artifactId>
-          <version>2.0-alpha-5-SNAPSHOT</version>
+          <version>2.0</version>
         </plugin>
       </plugins>
-    </pluginManagement>-->
+    </pluginManagement>
   </build>
   
   <!-- 




More information about the seam-commits mailing list