plynch      2002/07/12 12:49:39

  Modified:    src/plugins/dependency plugin.jelly
  Log:
  o Adjusting descriptions for nice display with '-g'
  
  Revision  Changes    Path
  1.11      +27 -33    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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- plugin.jelly      9 Jul 2002 17:55:50 -0000       1.10
  +++ plugin.jelly      12 Jul 2002 19:49:39 -0000      1.11
  @@ -1,8 +1,8 @@
   <?xml version="1.0"?>
   
  -<project 
  -  xmlns:j="jelly:core" 
  -  xmlns:define="jelly:define" 
  +<project
  +  xmlns:j="jelly:core"
  +  xmlns:define="jelly:define"
     xmlns:maven="jelly:maven"
     xmlns:dep="depTagLib">
   
  @@ -48,16 +48,16 @@
     <goal
       name="dependency:checkout-sources"
       description="Check out the sources of the projects">
  -  
  +
       <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()}">
  @@ -66,18 +66,18 @@
           ${project.id}
           ${project.repository.cvsRoot}
           ${project.repository.cvsModule}
  -        
  +
           <mkdir dir="${maven.tmpDir}"/>
  -        
  -        <cvs 
  +
  +        <cvs
             cvsRoot="${project.repository.cvsRoot}"
             package="${project.repository.cvsModule}"
             dest="${maven.tmpDir}"
           />
  -        
  +
         </maven:pom>
       </j:forEach>
  -  
  +
     </goal>
   
     <!-- ================================================================== -->
  @@ -93,28 +93,28 @@
       description="Discovers the dependencies from the source code">
   
       <define:taglib uri="depTagLib">
  -      <define:jellybean 
  +      <define:jellybean
           name="resolveProjects"
           className="org.apache.maven.dependency.ProjectResolver"
           method="execute"
         />
       </define:taglib>
  -    
  -    <!-- 
  -    
  +
  +    <!--
  +
       For each project directory we want to look at the Java sources
       and determine the project references.
  -    
  +
       -->
  -    
  +
       <maven:directoryList directory="${maven.tmpDir}"/>
  -    
  +
       ${directoryList}
  -    
  +
       <j:forEach var="file" items="${directoryList.iterator()}">
  -      
  +
         ${file}
  -      
  +
         <dep:resolveProjects
           base="${file}"
           mapFile="${maven.home}/package-project.map"
  @@ -153,7 +153,6 @@
       </echo>
   
       <dvsl
  -
         in="${file.absolutePath}"
         out="${file.absolutePath}.new/"
         extension=".xml"
  @@ -194,19 +193,16 @@
     <!-- the user defines, for any reason.                                 -->
     <!-- ================================================================= -->
   
  -  <goal 
  +  <goal
       name="dependency:process-project-descriptors"
       description="Map the packages to dependencies, check out the sources,
  -      discover the dependencies and update the POM">
  +discover the dependencies and update the POM">
   
       <attainGoal name="dependency:package-project-map"/>
  -    <!-- 
  -      
  +    <!--
         Until we can't simply update the sources instead of checking them out
         everytime, it's wiser to do it by hand.
  -
       <attainGoal name="dependency:checkout-sources"/>
  -
       -->
   
       <attainGoal name="dependency:resolve-projects"/>
  @@ -226,10 +222,8 @@
     <goal
       name="dependency"
       description="Map the packages to dependencies, check out the sources,
  -      discover the dependencies and update the POM">
  -
  +discover the dependencies and update the POM">
       <attainGoal name="dependency:process-project-descriptors"/>
  -
     </goal>
  -    
  +
   </project>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to