Search code examples
mavenantivynexus

Publish Jars Sent to ivy also to Nexus


I have an existing project that publishes its jars to a local ivy repo as part of the build process. I am trying to figure out how to keep track of the ivy revision number for naming our pom files and jars and then send them to nexus with ant.

I have tried a few different tutorials with no luck, but have managed to get a pom file to generate. Just need to get the revision number back and find an ant task that can push them to maven.


Solution

  • The following answer mentions the buildnumber task and how it can be combined with the deliver and makepom tasks to create a resolved POM file for upload into Nexus.

    The following answers give more examples of how to push artecfacts into a Maven repository using ivy

    Hope this helps.