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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T09:00:17+00:00 2026-05-19T09:00:17+00:00

I had a question regarding the use of version numbers, RELEASE versions and continuous

  • 0

I had a question regarding the use of version numbers, RELEASE versions and continuous integration.

So far in our builds we have been using RELEASE as the version for all the components in every build.

<dependency>
    <groupId>com.mycompany</groupId>
    <artifactId>mydependency</artifactId>
    <version>RELEASE</version>
</dependency>

This has the advantage that we always use the most up to date release of every dependency but has the major drawback that our builds are not reproducible as you don’t know what dependencies were supposed to be used at a point in the past (as the versions says RELEASE not 1.3.2 for example).

If we switch to using fixed release numbers, we get reproducible builds, but don’t we lose the advantage of Continuous Integration telling us what has now broken? Isn’t this the point of Continuous Integration?

What is the standard way of doing this?

Regards,
D

  • 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-19T09:00:17+00:00Added an answer on May 19, 2026 at 9:00 am

    First of all, plan to stop using RELEASE. It is no longer supported in Maven 3 for plugin versions; it appears that references to it have been removed from the online books about Maven and I would expect it to be deprecated for dependency versions eventually if it isn’t already (I can’t find authoritative information one way or the other). Review/ask the users mailing list for confirmation if you are unsure about this. You’ve already learned the hard way about build reproducibility.

    Second, I agree with the answer that you will generally want to define fixed versions for your projects’ dependencies, unless you are making changes to multiple projects at once, in which case you want a SNAPSHOT dependency version. But this should only be until they are ready to be released. At that point, you should release the lowest-level one, switch the dependency specifiers to the new fixed version in the other projects, and repeat for each project until done. You should only release a new version of a project if all of the dependencies are fixed versions. The release plugin can help with this.

    Third, it can still be very useful or interesting to know if the current “tip” of multiple projects work together, even if they are on independent release schedules! Backward/forward compatibility planning, right? With more projects this becomes more important. I think this is the “continuous integration” you are talking about (although these days CI usually refers to continuously building and testing the changes from multiple developers working on a single branch).

    In this case you should create a top-level aggregator project that defines all related projects as modules. You can do this in a workspace without committing changes to version control, or you can create an integration-specific branch for each project that tracks the mainline changes. In either case, you will then want to use the versions:use-latest-versions goal to automate the updates to the POMs, or use version ranges to let maven choose similarly to how you currently use ‘RELEASE’ (although I prefer having the version be as explicit as possible).

    (Strictly speaking, you don’t need the top-level aggregator, but otherwise you are having to do this with every project independently, when really you are interested in how they work together.)

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

Sidebar

Related Questions

I had a question regarding the use of asterisks in Objective-C. Just to be
I had made some questions regarding PHP-GTK (there are only 4 php-gtk tagged questions
I had this question earlier and it was concluded it was a bug in
We've had this question already, but I want to narrow it down to already
I'm playing around with RhinoCommons and NHibernate and I had a question about the
I had telephone interview question yesterday. The interviewer asked me if I had faced
I had a similar question answered Here There is a slight twist to the
I had the same question as was asked in this thread , i.e. I
This is a follow-up to a previous question I had about interfaces. I received
Some of the answers to a question I had about redirect_to made me think

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.