1

Is a dependency entry like this, with RELEASE in version, still valid in Maven 3?

<dependency>
  <groupId>com.mygroup.mysubgroup</groupId>
  <artifactId>myitem</artifactId>
  <version>RELEASE</version>
</dependency>

I read that it was deprecated when switching from Maven 2 to Maven 3.

If deprecated, what is the current recommended method to retrieve the latest released version of an artifact?

andreasgk
  • 453
  • 1
  • 10
  • 23
  • You should not use the `RELEASE` version anymore...and yes it is deprecated. So make simply a fixed version in there...The only way to use things like using the latest is to use version ranges which is not recommended. – khmarbaise Oct 10 '17 at 11:58
  • @khmarbaise but buy the document in given link only tells about the maven plugin not about dependency and they are specific to LATEST not much for RELEASE. Is there any specific official document which tells the same. – Afgan Mar 23 '18 at 06:06

0 Answers0