Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8652799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:23:30+00:00 2026-06-12T14:23:30+00:00

Possible Duplicate: How do I tell Maven to use the latest version of a

  • 0

Possible Duplicate:
How do I tell Maven to use the latest version of a dependency?

Getting Maven Dependency. I want the latest version. Right now my pom has my firm Dependecy project in it like the following example. We are trying to find a way that we dont need the version tag in it that it will just take the latest version. Can this be done?

<dependency>
  <groupId>org.xxxx.maven.test</groupId>
  <artifactId>MavenJARTest</artifactId>
  <version>0.0.1-SNAPSHOT</version>
</dependency>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T14:23:31+00:00Added an answer on June 12, 2026 at 2:23 pm

    We are trying to find a way that we dont need the version tag in it that it will just take the latest version

    You don’t really want to do this. Your build will become unreproducible and unstable just because new, buggy version of some library came out. You’ll never be sure whether your fix of a half-year-old production application only changed one line in code, or maybe also upgraded 10 dependencies. One of them is no longer working, one is incompatible and one has a new security hole. You really want to take that risk?

    In fact, it used to work like this for plugins (version could have been skipped), but since maven 3.0 the designers decided that even fetching newest version of plugins is too dangerous.

    However, there is hope. Run:

    mvn versions:display-dependency-updates
    

    and discover new version manually. Bump them only if you know what you are doing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Getting DIV content with Regular Expression Let me first tell you that
Possible Duplicate: Why use getters and setters? Can anyone tell me what is the
Possible Duplicate: To tell Javascript version of your browser With JavaScript is it possible
Possible Duplicate: How use $.ajax() method in struts2 simply, 1 .can sombody tell me
Possible Duplicate: Why and When to use node js? Can someone tell me why
Possible Duplicate: How do I tell if a variable has a numeric value in
Possible Duplicate: How to tell if a list is infinite? In Haskell, you can
Possible Duplicate: Dispatch queues: How to tell if they're running and how to stop
Possible Duplicate: Backup SQL Schema Only? Anybody tell how to take sql database backup
Possible Duplicate: Playing .mp3 and .wav in Java? Friends, please tell me link if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.