What is the best way to version control Java web applications?

I have a standard Java application that handles REST and UI calls. What is the best way to create and manage the version of an application (major.minor.release.build)? I use Subversion, Maven, Bamboo (continuous build) and Spring on the stack. I would like the version to be associated with SVN, Bamboo and Maven. And I would like to be able to write the version at startup - probably using some Spring bean.

There should be a structure / template to help with this. I would rather not collapse.

Thank!

+3
source share
2 answers

Semantic Versioning? , , , . .

Maven . , , . , , , , . , . maven. Nexus , artifactory.

maven, , - , , . hudson, , Bamboo . .

VCS ( git, ) , maven .

+4
+1

Source: https://habr.com/ru/post/1751657/


All Articles