Ivy: Publishing all artefacts in a directory
Posted
by Dave Flowers
on Stack Overflow
See other posts from Stack Overflow
or by Dave Flowers
Published on 2010-05-03T16:25:05Z
Indexed on
2010/05/03
16:28 UTC
Read the original article
Hit count: 357
ivy
I'm looking to move to Apache Ivy for dependency management on one of our existing projects. The project publishes many artefacts, and the artefacts it produces are likely to change in the future, so I don't want to enumerate all of the publications in the ivy.xml file -- I'd like Ivy to just publish all the files in a given directory.
I considered auto-generating a list of the files built and using XSLT to insert it into the ivy.xml, but that seems a little cumbersome for what I'd expect to be a reasonably common requirement.
Is there a better way to do this? Can Ivy pick up all the files in a directory and ignore the publications in the Ivy file? Or is there some way to get Ivy to use different files for publication and for fetching, so I can avoid having to use XSLT to merge the files.
© Stack Overflow or respective owner