ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zharvey <>
Subject ivy:publish vs publications
Date Thu, 15 Sep 2011 12:58:39 GMT

(1) What is is the difference between the ivy:publish task called from the
ant buildscript, and the "publications" element defined in the ivy.xml file
("module descriptor")? According to the docs, the publications element is
used to "declare artifacts to be published", whereas the ivy:publish task
actually publishes artifacts. But how are these two connected? Can they
conflict with one another? If they are connected, what are the best
practices for making them work nicely with one another? For example, here's
what I have so far:

<publications defaultconf="publish">
    <artifact name="[artifact]-[revision].[ext]"/>

<target name="publish">
        <artifacts pattern="dist/[artifact]-[revision].[ext]"/>

Am I doing it right?!?
View this message in context:
Sent from the ivy-user mailing list archive at

View raw message