You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by mb...@apache.org on 2022/03/31 14:20:48 UTC

[ant-antlibs-s3] 05/07: publish-local

This is an automated email from the ASF dual-hosted git repository.

mbenson pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ant-antlibs-s3.git

commit 3178af37652208320e2a0dd26eea29e21b2ce5e6
Author: Matt Benson <mb...@apache.org>
AuthorDate: Thu Mar 31 08:42:26 2022 -0500

    publish-local
---
 build.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/build.xml b/build.xml
index 8a4ca0e..59d577f 100644
--- a/build.xml
+++ b/build.xml
@@ -190,6 +190,13 @@ under the License.
     <ivy:retrieve pattern="${lib.dir}/[conf]/[artifact].[ext]" sync="yes" />
   </target>
 
+  <target name="publish-local" depends="prepare-upload">
+    <ivy:publish resolver="local"
+                 haltonmissing="false"
+                 overwrite="true"
+                 artifactspattern="${build.javarepository}/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
+  </target>
+
   <target name="ivy-report" depends="install-ivy,-no-resolve" if="with.ivy" unless="no.resolve">
     <ivy:resolve file="ivy.xml" />
     <ivy:report />