publish-local
diff --git a/build.xml b/build.xml
index 8a4ca0e..59d577f 100644
--- a/build.xml
+++ b/build.xml
@@ -190,6 +190,13 @@
     <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 />