You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2017/05/30 18:07:09 UTC

ant-antlibs-common git commit: ivy needs a separate settings instance for upload

Repository: ant-antlibs-common
Updated Branches:
  refs/heads/master 52d9e824f -> 82aa7210a


ivy needs a separate settings instance for upload


Project: http://git-wip-us.apache.org/repos/asf/ant-antlibs-common/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-antlibs-common/commit/82aa7210
Tree: http://git-wip-us.apache.org/repos/asf/ant-antlibs-common/tree/82aa7210
Diff: http://git-wip-us.apache.org/repos/asf/ant-antlibs-common/diff/82aa7210

Branch: refs/heads/master
Commit: 82aa7210a3c4136811ed1fd640de79a850ccd112
Parents: 52d9e82
Author: Stefan Bodewig <st...@freenet.de>
Authored: Tue May 30 20:06:28 2017 +0200
Committer: Stefan Bodewig <st...@freenet.de>
Committed: Tue May 30 20:06:28 2017 +0200

----------------------------------------------------------------------
 upload.xml | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-antlibs-common/blob/82aa7210/upload.xml
----------------------------------------------------------------------
diff --git a/upload.xml b/upload.xml
index 3ef48b7..32a3a56 100644
--- a/upload.xml
+++ b/upload.xml
@@ -29,12 +29,14 @@
           message="supply upload.user on the command line"/>
     <fail unless="upload.password"
           message="supply upload.password on the command line"/>
-    <ivy:configure file="${common.basedir}/ivysettings-nexus.xml"/>
-    <ivy:resolve file="${target.ivy.xml}"/>
-    <ivy:retrieve/>
-    <ivy:deliver/>
+    <ivy:configure file="${common.basedir}/ivysettings-nexus.xml"
+                   settingsId="upload"/>
+    <ivy:resolve file="${target.ivy.xml}" settingsRef="upload"/>
+    <ivy:retrieve settingsRef="upload"/>
+    <ivy:deliver settingsRef="upload"/>
     <ivy:publish publishivy="false"
                  artifactspattern="${build.javarepository}/[organisation]/[module]/[artifact]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
-                 resolver="nexus"/>
+                 resolver="nexus"
+                 settingsRef="upload"/>
   </target>
-</project>
\ No newline at end of file
+</project>