Use maven.plugin.unpacked.dir.
See MAVEN-650 git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113788 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user