jvanzyl 2002/07/03 12:00:46
Modified: src/plugins/dependency plugin.jelly
Log:
The checkoutSources goal now works.
Revision Changes Path
1.4 +43 -1 jakarta-turbine-maven/src/plugins/dependency/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins/dependency/plugin.jelly,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- plugin.jelly 3 Jul 2002 17:36:50 -0000 1.3
+++ plugin.jelly 3 Jul 2002 19:00:45 -0000 1.4
@@ -1,6 +1,48 @@
<?xml version="1.0"?>
-<project xmlns:j="jelly:core" xmlns:define="jelly:define" xmlns:dep="depTagLib">
+<project
+ xmlns:j="jelly:core"
+ xmlns:define="jelly:define"
+ xmlns:dep="depTagLib"
+ xmlns:maven="jelly:org.apache.maven.jelly.tags.project.MavenTagLibrary">
+
+ <!-- ================================================================== -->
+ <!-- C H E C K O U T S O U R C E S -->
+ <!-- ================================================================== -->
+
+ <goal
+ name="checkoutSources">
+
+ <fileScanner var="scanner">
+ <fileset dir="${maven.descriptorDir}" includes="**/project.xml"/>
+ </fileScanner>
+
+ <!--
+
+ We want to process each POM and checkout the sources
+ for the project so that we can analyse them.
+
+ -->
+
+ <j:forEach var="file" items="${scanner.iterator()}">
+ ${file.absolutePath}
+ <maven:pom projectDescriptor="${file.absolutePath}">
+ ${project.id}
+ ${project.repository.cvsRoot}
+ ${project.repository.cvsModule}
+
+ <mkdir dir="${maven.tmpDir}"/>
+
+ <cvs
+ cvsRoot="${project.repository.cvsRoot}"
+ package="${project.repository.cvsModule}"
+ dest="${maven.tmpDir}"
+ />
+
+ </maven:pom>
+ </j:forEach>
+
+ </goal>
<!-- ================================================================== -->
<!-- P A C K A G E T O P R O J E C T M A P -->
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>