dion        2003/08/04 09:02:52

  Modified:    src/plugins-build/plugin plugin.jelly
  Log:
  Use maven.plugin.unpacked.dir.
  See MAVEN-650
  
  Revision  Changes    Path
  1.11      +4 -4      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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- plugin.jelly      4 Aug 2003 02:32:35 -0000       1.10
  +++ plugin.jelly      4 Aug 2003 16:02:52 -0000       1.11
  @@ -24,7 +24,7 @@
         todir="${maven.home}/plugins"/>
   
       <delete includeEmptyDirs="true" verbose="false">
  -      <fileset dir="${maven.home.local}/plugins">
  +      <fileset dir="${maven.plugin.unpacked.dir}">
           <include name="*.cache"/>
           <include name="**/.processed" />
           <include name="${pom.artifactId}-*/**" />
  @@ -37,13 +37,13 @@
     <goal name="plugin:deploy" prereqs="plugin"
       description="Install a specific unpacked plugin but no new jar">
   
  -    <mkdir dir="${maven.home.local}/plugins/${maven.final.name}"/>
  +    <mkdir dir="${maven.plugin.unpacked.dir}/${maven.final.name}"/>
       <unzip src="${maven.build.dir}/${maven.final.name}.jar"
  -      dest="${maven.home.local}/plugins/${maven.final.name}"/>
  +      dest="${maven.plugin.unpacked.dir}/${maven.final.name}"/>
   
       <echo message="" >
     Warning: Contents of ${maven.home}/plugins/${maven.final.name}.jar does not match
  -  the unpacked contents of ${maven.home.local}/plugins/${maven.final.name} 
directory.
  +  the unpacked contents of ${maven.plugin.unpacked.dir}/${maven.final.name} 
directory.
       </echo>
   
     </goal>
  
  
  

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

Reply via email to