Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Remove -SNAPSHOT from project version in pom before deploying to maven repository.

Hi Team,

I have a pom with the following data.


In the Bamboo build step, before the package, I want to forcefully remove  the  "-SNAPSHOT " from the version.

Can you suggest a solution?


1 answer

1 vote
Boris Van Hardeveld
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Sep 30, 2020 • edited Nov 25, 2020

Hello @Ambili Venugopalan ,

If you have Maven installed on the agent (which I assume given a pom file), and you know the version you would like to set you can easily do so using the following command (for example using a shell task):

mvn versions:set -DnewVersion=1.0.0

Alternatively, you should be able to drop the -SNAPSHOT suffix using the following command, given you have at least version 2.1 of the Version Maven Plugin (see:

mvn versions:set -DremoveSnapshot

If you do not have Maven on the agent or you do not have version +2.1 and do not know the version in advance (e.g. it is set by the developers), you will need to extract the version part first and then update the file. In that case you might be interested in a plugin we have been working on:

Hope this helps.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events