I am using Maven2. I created a parent POM for my organization. I want different groups to use it as a parent for their project, but I want them to use the latest version. for some reason, using it as a parent with the LATEST version does not work,
any idea?
Thanks, Ronen.
You do not need to define a new version for every small change you make in POM.
( POM - ), , , ( SNAPSHOT - ). , . , POM , , POM.
Maven version:update-parent, .
version:update-parent
mvn versions:update-parent
, , POM .
, SNAPSHOT, .
SNAPSHOT
<version>1.2-SNAPSHOT</version>
You need to run mvn with the -U option to force update local metadata files that contain mappings for the LATEST and RELEASE versions.
Source: https://habr.com/ru/post/1710652/More articles:Translation of Vista WinAPI C ++ for Delphi - any suggestions? - apiLua garbage collection tables, nested tables - memory-managementAdobe Air questions and resources - javascriptWarning: mysql_connect (): cannot connect to local MySQL server - phpProblems with asp: Button OnClick event - c #Website Coding - pythonWriting a unit test to permanently create and delete data - c #SELinux and Java - javaAsp.net Time Management Guidelines - inputFind the lowest common parent in a SQL recursive table - sqlAll Articles