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!
Semantic Versioning? , , , . .
Maven . , , . , , , , . , . maven. Nexus , artifactory.
maven, , - , , . hudson, , Bamboo . .
VCS ( git, ) , maven .
SCM , maven (http://mojo.codehaus.org/buildnumber-maven-plugin/), . , .
Artifactory , CI-. Hudson, TeamCity Bamboo.
Source: https://habr.com/ru/post/1751657/More articles:PHP / MYSQL Database Search Question - phpЯвляется ли android: id специфичным для xml файла или всего проекта? - androidAre maven banks safe? - maven-2How to listen to location updates from multiple providers? - androidHow many flags checked - javascriptPHP и другие языки в реализациях Hadoop/MapReduce, а в Cloud обычно - javaSQL syntax error with Derby and Circumflex ORM - scalaГде распространяемые модули слияния для выпуска Visual Studio С++ Express? - visual-c++what a good orm api will work well with scala or erlang - scalaSiteMap Navigation and Query String - c #All Articles