You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bw...@apache.org on 2003/06/10 12:13:55 UTC

cvs commit: maven/src/plugins-build/java plugin.jelly

bwalding    2003/06/10 03:13:55

  Modified:    src/plugins-build/java plugin.jelly
  Log:
  Allows the clover plugin to hook onto and alter compilation settings on the fly.
  PR: MAVEN-372
  
  Revision  Changes    Path
  1.17      +8 -1      maven/src/plugins-build/java/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/java/plugin.jelly,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- plugin.jelly	26 Apr 2003 09:56:23 -0000	1.16
  +++ plugin.jelly	10 Jun 2003 10:13:54 -0000	1.17
  @@ -3,6 +3,7 @@
   <project 
     xmlns:j="jelly:core"
     xmlns:ant="jelly:ant"
  +  xmlns:define="jelly:define"
     xmlns:resources="resources">
   
     <j:choose>
  @@ -42,7 +43,7 @@
     <goal name="java:compile"
           description="Compile the project"
           prereqs="java:prepare-filesystem">
  -        
  +    <echo>Compiling to ${maven.build.dest}</echo>
       <j:choose>
         <j:when test="${sourcesPresent == 'true'}">
         	<ant:javac
  @@ -129,4 +130,10 @@
         />
       </j:if>
     </goal>
  +  
  +  <define:taglib uri="java">
  +    <define:tag name="dependency-handle">
  +      <!-- XXX Use this tag to allow this plugin to be loaded into another -->
  +    </define:tag>
  +  </define:taglib>
   </project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org