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 8861609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:31:47+00:00 2026-06-14T15:31:47+00:00

Problem: 20 different JAVA projects with a lot of inter-dependencies. Every time there is

  • 0

Problem:
20 different JAVA projects with a lot of inter-dependencies. Every time there is a bug fix after code-lock, we have to release a bunch of artifacts as needed depending on which artifact changed. For example, if artifact 3 had an unlock and needed a bug fix, we will need to release (using maven release plugin) projects 3,4,5,6,7 and 10 (because 4,5,6,7 and 10 are dependent on 3). Co-ordinating between teams to get this task done takes time. Plus building each artifact takes a good 20-40 min.

We want to shorten this process. We are thinking of the following:

  1. Use snapshots for artifacts with time-stamps
  2. Promote individual artifacts to repository using jenkins jobs and tag svn.
  3. Update dependencies using mvn version:set command for each project that needs the dependency.

Has anyone implemented a solution similar to as described above? If so, what issues did you run into?

Any other suggestions that will not rebuild the artifacts and allow us to release 15-20 artifacts at a click of a button will be helpful 🙂

  • 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-06-14T15:31:48+00:00Added an answer on June 14, 2026 at 3:31 pm

    Unfortunately you have to rebuild your artifact if you change your pom file. Otherwise your state in your VCS does not represent the state your are working with.

    Lets make an example. Project A, Project B where B dependends on A:

    Project A: pom.xml

       <version>1.0-SNAPSHOT</version>
       Some dependencies etc. 
    

    Project B: pom.xml

       <version>1.0-SNAPSHOT</version>
    
       Some dependencies etc. 
       <dependency>
         <groupId>project.a</groupId>
         <artifactId>A</artifactId>
         <version>1.0-SNAPSHOT</version>
       </dependency>
    

    Now you build Project A and B. The state in your repository represents the states of the pom files with their state/dependencies to SNAPSHOT.

    Now you will change Project A to make “release” from it but you don’t rebuild your artifact. Than the following is in your version control and may be you do a tagging of it.

    Project A: pom.xml

       <version>1.0</version>
       Some dependencies etc. 
    

    Second you do the same with Project B:
    Project B: pom.xml

       <version>1.0</version>
    
       Some dependencies etc. 
       <dependency>
         <groupId>project.a</groupId>
         <artifactId>A</artifactId>
         <version>1.0</version>
       </dependency>
    

    But you don’t rebuild your aritfact either. The result is your repository does contains artifacts which represent the state of the SNAPSHOT but your version control says something different. This is only very simple example of the problem. If you have more projects etc. the worse the thing will become.

    Furthermore i would recosinder thinking about changing the project structure, cause based on what you’ve written about the dependencies it looks like those project should be released together so it might a good idea to create a multi-module build out of them.

    Furthermore the rebuilding can be done by using appropriate jobs in Jenkins which can handle dependencies or you might consider using build pipeline plugin to handle such things.

    But one other questions comes to my mind: Why do your builds take so long? You might investigate why they are taking so long and reduce the release time over all.

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

Sidebar

Related Questions

Problem: There are a lot of different databases, which is populated by many different
I had a different problem first, so I made this post: Java JPanel mouse
is there any problem to install different oracle 11g versions. I mean if I
problem is that I have to checkout a different branch for every project. and
I am stuck with a programming problem: I have two Java projects, in my
I have 4 different Java Projects created in Eclipse. One of them contains all
I have two different java projects (I'll call them project 1 and Project 2
all, I have searched for this problem for long time and tried different methods.
My team members are developing different java projects using InteliJ, Eclipse and NetBeans. As
I have two same web projects(Java) with different name in my workspace. One is

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.