Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6323079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:27:05+00:00 2026-05-24T16:27:05+00:00

We have an Ant and Ivy-based build management system, which basically consists of a

  • 0

We have an Ant and Ivy-based build management system, which basically consists of a shared ant file and a set of conventions around directory structure.

One hurdle I’m trying to overcome is the fairly common case of "recursive publish". Say, we have 5 in-house code modules that have a dependency graph like this:

Module dependencies

  • Each module should publish its ivy artifacts to our internal repo
  • Artifacts not yet cleared for deployment to test should have status "integration"
  • Artifacts deployable to test should have status "milestone" (manually promoted by developer)
  • Artifacts verified by testers should have status "release"

Say a developer has all 5 modules checked out locally, and has made changes to them all. Now he wants to promote all his changes to "milestone" status. In other words what should happen in the ivy repo is:

  • e-1.0-RC1 gets published
  • d-1.1-RC2 gets published, referencing e-1.0-RC1 as a dependency
  • c-2.0-RC1 gets published, referencing d-1.1-RC2 as a dependency
  • b-3.3-RC1 gets published, referencing e-1.0-RC1 as a dependency
  • Finally, a-7.1-RC2 gets published, referencing c-2.0-RC1 and b-3.3-RC1 as dependencies.

I haven’t found an easy way to do this using ivy + ant (Ivy promises something similar called recursive deliver, but I can’t find any working examples of it).

Gradle sounds promising here since it seems to have good support for multi project builds. I did skim through the docs, but didn’t immediately find this case as an example. Is there
an easy way to achieve this with gradle?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:27:06+00:00Added an answer on May 24, 2026 at 4:27 pm

    The only way I can conceive of this working is with a master build file that propagates version numbers down to the individual build files for each of your modules. This has the unfortunate side effect of binding your five modules into a unit that would need to be managed as a single entity but it may be the only way to achieve what you’re looking for.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ANT configuration file which is becoming complicated, and now I'm stuck
I am building a project using Ant and Ivy. The build.xml file depends on
I have the following ant and ivy files to set up my project. I
I have an ant target that echo's the content of an eclipse .project file,
I have an ant build script that needs to pull files down from a
I have a project that contains xml files. I also have an Ant build
I have a bunch of ant projects that build plug-ins that all conform to
I am using ant and Apache Ivy, and i have multiple plans in my
I'm using ant, ivy and nexus repo manager to build and store my artifacts.
I am trying to revise my build process to use ant with apache ivy

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.