Archie Cobbs wrote:
This is really an ant question, not an ivy question (I say that for
clarification, not to be annoying :-)
The simplest way would be to set some property "jar.published" in your jar
task (via <property ...>) and then make your publish task conditional on
this property being set (e.g., via <target name="publish"
if="${jar.published}">). I might have the syntax details wrong but that's
the gist of it.
Indeed! Thanks for the tip. I set the property using Ant's <uptodate>
task, comparing the local repo version versus
the dist dir version, and that works.
Thank you for your quick response!