0

In gradle one can do

compile 'com.myGroupid:myArifiactId:0.0.1+'

where '+' means just take the latest version which can be 0.0.1.061114

is there a way to mimic the "+' in maven?

Opal
  • 81,889
  • 28
  • 189
  • 210
Dudi
  • 2,340
  • 1
  • 24
  • 39
  • 2
    Isn't it what You're looking for: http://stackoverflow.com/questions/30571/how-do-i-tell-maven-to-use-the-latest-version-of-a-dependency ? – Opal Nov 06 '14 at 09:56
  • thx. please add as an answer and I would accept it. – Dudi Nov 06 '14 at 10:10

1 Answers1

1

In maven it can be done as mentioned here. Here You can find general rules of fetching artifacts from maven repo when it comes to versions.

Community
  • 1
  • 1
Opal
  • 81,889
  • 28
  • 189
  • 210