Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <target name="publish-shared" depends="publish-local" description="Publish the jar to the shared ivy repository">
- <ivy:publish resolver="shared-publish" pubrevision="${build.rev}" overwrite="true"
- artifactspattern="${output.dir}/[artifact]-[revision].[ext]"
- />
- <sshexec host="${ivy.shared.server}" username="${ivy.shared.ssh.user}" password="${ivy.shared.ssh.password}"
- command="/srv/www/ivy2/createdocs2"
- />
- </target>
- <target name="install-shared" depends="publish-local" description="Install the jar and its dependencies to the shared ivy repository - this can overwrite existing files in the repository so be careful">
- <ivy:install organisation="xxxx" module="${ivy.module}" revision="${build.rev}"
- transitive="true" overwrite="true" from="default" to="shared-publish"
- />
- <sshexec host="${ivy.shared.server}" username="${ivy.shared.ssh.user}" password="${ivy.shared.ssh.password}"
- trust="yes" command="/srv/www/ivy2/createdocs2"
- />
- </target>
Add Comment
Please, Sign In to add comment