Use plugins type directory in repo, comment on need for download goal, fix typo on description
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
16956b7340
commit
808a0e8173
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user