This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven settings: Need an explaination for Beginer MVN User. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven settings: Need an explaination for Beginer MVN User. " Watch "Maven settings: Need an explaination for Beginer MVN User. " New topic
Author

Maven settings: Need an explaination for Beginer MVN User.

H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 471
    
    4
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.
James Boswell
Bartender

Joined: Nov 09, 2011
Posts: 1051
    
    5

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.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17039
    
  26

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.


An IDE is no substitute for an Intelligent Developer.
James Boswell
Bartender

Joined: Nov 09, 2011
Posts: 1051
    
    5

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

Joined: Jul 26, 2011
Posts: 471
    
    4
Thanks to Tim for promoting to an expert.

Thanks to James for that specific solution. It worked now.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10441
    
176

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:



[My Blog] [JavaRanch Journal]
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 471
    
    4
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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Maven settings: Need an explaination for Beginer MVN User.
 
jQuery in Action, 3rd edition