jvanzyl 2002/07/04 08:45:32
Modified: src/plugins/dependency plugin.jelly
Log:
Applying patch by stephane. The reactor is coming along nicely!
Revision Changes Path
1.6 +38 -4 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.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- plugin.jelly 3 Jul 2002 21:49:02 -0000 1.5
+++ plugin.jelly 4 Jul 2002 15:45:32 -0000 1.6
@@ -11,7 +11,7 @@
<!-- ================================================================== -->
<goal
- name="checkoutSources">
+ name="checkout-sources">
<fileScanner var="scanner">
<fileset dir="${maven.descriptorDir}" includes="**/project.xml"/>
@@ -49,7 +49,7 @@
<!-- ================================================================== -->
<goal
- name="resolveProjects">
+ name="resolve-projects">
<define:taglib uri="depTagLib">
<define:jellybean
@@ -93,7 +93,7 @@
<!-- ================================================================== -->
<goal
- name="packageProjectMap">
+ name="package-project-map">
<define:taglib uri="depTagLib">
<define:jellybean
@@ -113,5 +113,39 @@
</goal>
-</project>
+ <!-- ================================================================= -->
+ <!-- P R O C E S S P R O J E C T D E S C R I P T O R S -->
+ <!-- ================================================================= -->
+ <!-- This goal is a collection of goals. It should first checkout the -->
+ <!-- source of the projects we consider, then match packages to -->
+ <!-- projects, get the package names from the sources, and them -->
+ <!-- all that in a file "deps.xml" in each source dir of each project -->
+ <!-- that contains all the projects' 1st-order dependencies, in term -->
+ <!-- of projects rather than packages ! -->
+ <!-- -->
+ <!-- This is to be used mainly by new projects (ie: you build the -->
+ <!-- the source, and this takes care of your POM and dependencies. -->
+ <!-- It may also be used during the whole lifetime of the project, if -->
+ <!-- project maintainers end up having a missing dependencies section. -->
+ <!-- ================================================================= -->
+
+ <goal
+ name="process-project-descriptors">
+
+ <!--
+
+ Until we can't simply update the sources instead of checking them out
+ everytime, it's wiser to do it by hand.
+
+ <attainGoal name="checkout-sources"/>
+
+ -->
+
+ <attainGoal name="package-project-map"/>
+ <attainGoal name="resolve-projects"/>
+
+ <!-- Then, we need to put those dependencies back into the POM -->
+
+ </goal>
+</project>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>