Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Maven settings: Need an explaination for Beginer MVN User.

 
Ranch Hand
Posts: 491
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Basically, I used Eclipse Indigo to create a Camel Web using MVN.

I got the error on the pom.xml and not sure what it really meant in terms of setting that I need to do:



1M Thanks.
 
Bartender
Posts: 1051
5
Hibernate Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would ensure something like your firewall is not blocking Maven from downloading jars.

Another thing to try is go to <your_local_maven_repo>\org\apache\maven\plugins\maven-war-plugin\2.1.1 and check for files called *.lastUpdated. If any exist, delete them and try again.
 
Saloon Keeper
Posts: 24890
174
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, that message reads like you're attempting to UPLOAD a change to the master Maven repository, not download it like one normally would.

You'd have to be specifically authorized by the Maven people for that, and they'd only do that if you were a maven developer/committer, not an ordinary maven user.
 
James Boswell
Bartender
Posts: 1051
5
Hibernate Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tim

The original message was:

It is trying to take the plugin from http://repo1.maven.org/maven2 i.e. the central Maven repository.

I am pretty confident this is related to the lastUpdated files.
 
H Paul
Ranch Hand
Posts: 491
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks to Tim for promoting to an expert.

Thanks to James for that specific solution. It worked now.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

James Boswell wrote:

Another thing to try is go to <your_local_maven_repo>\org\apache\maven\plugins\maven-war-plugin\2.1.1 and check for files called *.lastUpdated. If any exist, delete them and try again.



Just a FYI - Instead of manually looking for and deleting those files, you can use the -U option of Maven:

 
H Paul
Ranch Hand
Posts: 491
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Where there is a will, there is a way.
Where there is a team, there is more than 1 way.



Thanks for your way, Jaikiran: Maven's way.
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic