mirror of https://github.com/apache/ant-ivy
add publish local feature to help integration with other modules, and fix artifact names to support publish (jar names do not use apache- prefix)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@527068 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0c9730a5b1
commit
208a7130b2
13
build.xml
13
build.xml
|
|
@ -28,8 +28,8 @@
|
|||
internet and use it for ivy tasks of this build.
|
||||
================================================================= -->
|
||||
|
||||
<property name="final.name" value="apache-ivy.jar" />
|
||||
<property name="final.core.name" value="apache-ivy-core.jar" />
|
||||
<property name="final.name" value="ivy.jar" />
|
||||
<property name="final.core.name" value="ivy-core.jar" />
|
||||
|
||||
<target name="init-ivy-user-home" unless="ivy.use.local.home">
|
||||
<condition property="ivy.home" value="${env.IVY_HOME}">
|
||||
|
|
@ -232,6 +232,15 @@
|
|||
</target>
|
||||
|
||||
|
||||
<!-- =================================================================
|
||||
PUBLISH LOCAL
|
||||
================================================================= -->
|
||||
<target name="publish-local" depends="jar" description="--> publishes Ivy to Ivy local repository">
|
||||
<ivy:publish resolver="local" pubrevision="${build.version}"
|
||||
artifactsPattern="${artifacts.build.dir}/[artifact].[ext]"
|
||||
forcedeliver="true"/>
|
||||
</target>
|
||||
|
||||
<!-- =================================================================
|
||||
TESTS
|
||||
================================================================= -->
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
under the License.
|
||||
-->
|
||||
<ivyconf>
|
||||
<include url="${ivy.default.conf.dir}/ivyconf-local.xml"/>
|
||||
<conf defaultResolver="public" />
|
||||
<resolvers>
|
||||
<!--
|
||||
|
|
|
|||
Loading…
Reference in New Issue