werken      2002/07/14 09:48:12

  Modified:    .        maven.xml
  Log:
  Maven can build its own plugins, now.
  
  Revision  Changes    Path
  1.17      +24 -0     jakarta-turbine-maven/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/maven.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- maven.xml 13 Jul 2002 21:12:10 -0000      1.16
  +++ maven.xml 14 Jul 2002 16:48:12 -0000      1.17
  @@ -18,6 +18,30 @@
     </goal>
   
     <!-- ================================================================== -->
  +  <!-- B U I L D   P L U G I N S                                          -->
  +  <!-- ================================================================== -->
  +  <!-- ================================================================== -->
  +
  +
  +  <goal name="build:plugins">
  +    <fileScanner var="plugins">
  +      <fileset dir="${maven.src.dir}/plugins-build">
  +        <include name="*/project.xml"/>
  +      </fileset>
  +    </fileScanner>
  +
  +    <j:forEach var="plugin" items="${plugins.iterator()}">
  +      <echo>Building ${plugin.parentFile.name}</echo>
  +
  +      <exec executable="${maven.home}/bin/maven">
  +        <arg line="-d ${plugin.parent}"/>
  +        <arg line="-p ${plugin}"/>
  +        <arg line="java:jar"/>
  +      </exec>
  +    </j:forEach>
  +  </goal>
  +
  +  <!-- ================================================================== -->
     <!-- I N S T A L L   P L U G I N S                                      -->
     <!-- ================================================================== -->
     <!-- This copies the plugins found in src/plugins to                    -->
  
  
  

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

Reply via email to