We have a project composed of 75 individual modules. Each of these modules have their own ivy.xml file which contains both 3rd party and internal module dependencies. We are currently using Jenkins and the IVY plugin to poll SCM and build / publish artefacts to ivy. Trouble is, I have noticed an issue regarding module publication and I want to try and understand what the correct approach is regarding snapshot publication.
If artefact B depends on A and a change is made to A then I get B needs to be notified and a build triggered. If B compiles, but there have been no changes to B's code then I would say that B does NOT need to publish a new snapshot artefact?
What I want to understand is how you do this, given that the checkout from SVN happens before the IVY plugin runs. When the build.xml is called for the module it just runs a compile / jar / publish to IVY. Just wondering whether there is a way to detect that an IVY publish is not required?