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

  • Home
  • SEARCH
  • 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 1073303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:58:31+00:00 2026-05-16T20:58:31+00:00

I am developing code actively, with my developing team. When we release to our

  • 0

I am developing code actively, with my developing team. When we release to our customers, I would like to provide jars without the -SNAPSHOT so they only need to update when a new dot version is created.

This there a maven plugin that provides this functionality. I know there is because everyone else must do it some how. I doubt it is manually.

I would appreciate answers to be explicit as possible.

Please and thank you.

  • 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-16T20:58:31+00:00Added an answer on May 16, 2026 at 8:58 pm

    Some plugins can help here, as already mentioned in this answer and in the comments of this one: the Maven Release Plugin if you want to fully automate the release and/or the Maven Versions Plugin.

    With the Maven Release Plugin

    Releasing a project with the Maven Release Plugin is done in two steps: prepare and perform and here is what the documentation writes about the release:prepare goal:

    Preparing a release goes through the
    following release phases:

    • Check that there are no uncommitted changes in the sources
    • Check that there are no SNAPSHOT dependencies
    • Change the version in the POMs from x-SNAPSHOT to a new version (you
      will be prompted for the versions to
      use)
    • Transform the SCM information in the POM to include the final
      destination of the tag
    • Run the project tests against the modified POMs to confirm everything is
      in working order
    • Commit the modified POMs
    • Tag the code in the SCM with a version name (this will be prompted
      for)
    • Bump the version in the POMs to a new value y-SNAPSHOT (these values
      will also be prompted for)
    • Commit the modified POMs

    In other words, the Maven Release Plugin is exactly doing what you’re asking for.

    With the Maven Versions Plugin

    If you don’t use the Maven Release Plugin, the Maven Versions Plugin can be helpful. In particular, the following goals:

    • versions:update-parent updates the parent section of a
      project so that it references the
      newest available version. For example,
      if you use a corporate root POM, this
      goal can be helpful if you need to
      ensure you are using the latest
      version of the corporate root POM.
    • versions:update-child-modules
      updates the parent section of the child modules of a project so the
      version matches the version of the
      current project.
      For example, if you
      have an aggregator pom that is also
      the parent for the projects that it
      aggregates and the children and parent
      versions get out of sync, this mojo
      can help fix the versions of the child
      modules. (Note you may need to invoke
      Maven with the -N option in order to
      run this goal if your project is
      broken so badly that it cannot build
      because of the version mis-match).
    • versions:set can be used to set the project version from the
      command line.
    • versions:commit removes the pom.xml.versionsBackup files. Forms
      one half of the built-in “Poor Man’s
      SCM”.
    • versions:revert restores the pom.xml files from the
      pom.xml.versionsBackup files. Forms
      one half of the built-in “Poor Man’s
      SCM”.

    I mentioned several goals but the “most” interesting is probably versions:update-child-modules here. It would allow to change the version in the top parent pom and then to automate the update of the child. See Fixing a multi-module build for an example.

    Can’t help more, you need to experiment yourself now. Good luck!

    References

    • The Maven Release Plugin
    • The Maven Versions Plugin
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

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.