It is clear that --update-snapshots
option makes maven download SNAPSHOTs from artifactory, but what if I have more recent version built and installed in .m2 locally?
Asked
Active
Viewed 34 times
0

ludenus
- 1,161
- 17
- 30
-
That more recent version should win. – J Fabian Meier Mar 22 '18 at 13:11
-
Can you exactly tell use what you mean by more recent version is meant? Can you show how your version looks like something `1.2-SNAPSHOT` vs. `1.3-SNAPSHOT`? – khmarbaise Mar 22 '18 at 13:13
-
they both look like 1.1.1-SNAPSHOT, but local version was `mvn install`-ed after previous 1.1.1-SNAPSHOT was `mvn deploy`-ed – ludenus Mar 22 '18 at 13:45