You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ca...@apache.org on 2005/09/27 18:55:49 UTC
svn commit: r291981 - in /maven/maven-1/plugins/trunk/plugin: plugin.jelly
xdocs/changes.xml
Author: carlos
Date: Tue Sep 27 09:55:45 2005
New Revision: 291981
URL: http://svn.apache.org/viewcvs?rev=291981&view=rev
Log:
MPPLUGIN-26 plugin:download doesn't redownload SNAPSHOT plugins
Modified:
maven/maven-1/plugins/trunk/plugin/plugin.jelly
maven/maven-1/plugins/trunk/plugin/xdocs/changes.xml
Modified: maven/maven-1/plugins/trunk/plugin/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/plugin/plugin.jelly?rev=291981&r1=291980&r2=291981&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/plugin/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/plugin/plugin.jelly Tue Sep 27 09:55:45 2005
@@ -434,11 +434,10 @@
<u:file var="localPluginFile"
name="${maven.repo.local}/${groupId}/plugins/${artifactId}-${version}.jar" />
- <j:if test="${!localPluginFile.exists()}">
+ <j:if test="${(!localPluginFile.exists()) or (localPluginFile.name.indexOf('SNAPSHOT') != '-1')}">
<ant:mkdir dir="${maven.repo.local}/${groupId}/plugins" />
<j:set var="repoList">${maven.repo.remote}</j:set>
<u:tokenize var="repos" delim=",">${repoList.trim()}</u:tokenize>
-
<j:forEach var="repo" items="${repos}">
<echo>repo is '${repo}'</echo>
<j:set var="remoteFile"
@@ -458,7 +457,7 @@
<j:arg type="boolean" value="false"/>
</j:invokeStatic>
</j:catch>
- <j:break test="${localPluginFile.exists()}"/>
+ <j:break test="${localPluginFile.exists() and (localPluginFile.name.indexOf('SNAPSHOT') == '-1')}"/>
</j:forEach>
</j:if>
Modified: maven/maven-1/plugins/trunk/plugin/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/plugin/xdocs/changes.xml?rev=291981&r1=291980&r2=291981&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/plugin/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/plugin/xdocs/changes.xml Tue Sep 27 09:55:45 2005
@@ -24,6 +24,7 @@
</properties>
<body>
<release version="1.7-SNAPSHOT" date="In SVN">
+ <action dev="carlos" type="fix" issue="MPPLUGIN-26">plugin:download didn't redownload SNAPSHOT plugins.</action>
<action dev="ltheussl" type="add">new plugin:validate-xml tag to validate xml documents against a schema.</action>
<action dev="aheritier" type="add">new assert:assertPluginAvailable tag to check if a minimal release of a plugin is present.</action>
</release>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org