brett       2003/08/31 00:43:28

  Modified:    src/plugins-build/plugin plugin.jelly
  Log:
  Use plugins type directory in repo, comment on need for download goal, fix typo on 
description
  
  Revision  Changes    Path
  1.13      +4 -3      maven/src/plugins-build/plugin/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/plugin/plugin.jelly,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- plugin.jelly      22 Aug 2003 00:47:47 -0000      1.12
  +++ plugin.jelly      31 Aug 2003 07:43:28 -0000      1.13
  @@ -7,13 +7,13 @@
     xmlns:u="jelly:util"
     xmlns:x="jelly:xml">
   
  -  <goal name="plugin" description="Build a plugin jar and install to the 
maven.local.repo">
  +  <goal name="plugin" description="Build a plugin jar and install to the 
maven.repo.local">
   
       <!-- Plugins are just a jar. -->
       <attainGoal name="jar:jar"/>
   
       <copy file="${maven.build.dir}/${maven.final.name}.jar"
  -      todir="${maven.repo.local}/maven/jars" />
  +      todir="${maven.repo.local}/maven/plugins" />
   
     </goal>
   
  @@ -170,6 +170,7 @@
     </goal>
     
     <!-- download a plugin from a remote repo -->
  +  <!-- TODO - is this still needed with plugin dependencies? -->
     <goal name="plugin:download">
       <maven:param-check value="${artifactId}" fail="true" message="'artifactId' must 
be specified"/>
       <maven:param-check value="${groupId}" fail="true" message="'groupId' must be 
specified"/>
  @@ -182,7 +183,7 @@
           name="${maven.home}/plugins/${artifactId}-${version}.jar" />
         <j:if test="${!localPlugin.exists()}">
           <j:set var="remoteFile"
  -          value="${repo}/${groupId}/jars/${artifactId}-${version}.jar" />
  +          value="${repo}/${groupId}/plugins/${artifactId}-${version}.jar" />
           <echo>trying to download ${remoteFile}</echo>
           <http:get uri="${remoteFile}" var="outputVar" />
         </j:if>
  
  
  

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

Reply via email to