Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (19k points)

Is there any way to tell Maven to always use the latest available version (from the repository)?

1 Answer

0 votes
by (33.1k points)
To use the newest version, Maven has two keywords you can use as an alternative to version ranges.

You can simply use the LATEST or RELEASE keywords. LATEST refers to the latest released or snapshot version of a particular artifact, the most recently deployed artifact in a particular repository. RELEASE refers to the last non-snapshot release in the repository.

Hope this answer helps you!

Related questions

0 votes
1 answer
asked Mar 10, 2021 in Java by Jake (7k points)
0 votes
1 answer
asked Feb 25, 2021 in Java by Jake (7k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...