File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven2 to Maven 3 Upgrade... Please Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven2 to Maven 3 Upgrade... Please Help" Watch "Maven2 to Maven 3 Upgrade... Please Help" New topic
Author

Maven2 to Maven 3 Upgrade... Please Help

Ally Cavs
Ranch Hand

Joined: Aug 25, 2008
Posts: 89
Hey Guys

i need to start using maven3 instead of maven 2. I pointed maven 3 to the local repository that maven 2 was using all along. There's a proxy repo in the shape of nexus 2.3 (which still uses maven 2). But I keep getting errors such as:



I then backed my local repo to another point on the hard drive and deleted my local repo so maven 3 will have to pull everything down. And again i get the same errors. from what i read in the below lonk as long as i have a repository manager like nexus i shouldn't incur these legacy problems
https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-LegacystyleRepositories

If i remove my settings. xml everything works. so i believe teh problem to be nexus

Any ideas or examples of how to upgrade to maven3?

Thanks
Alan
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

The problem is not with your local repository but rather with accessing the Nexus repository. Do you have access to http://pta-phoenix-02:8080/nexus/content/groups/public/? Is that a Maven 2/3 style repository or a Maven 1 style repository. (Maven 1 repositories are legacy repositories, as far as I know Maven 2 and 3 use the same repository layouts.)

I recall a couple years back when I went from Maven 2.x to 3.x that I have no issues with either my local repository nor with our Nexus repository.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven2 to Maven 3 Upgrade... Please Help
 
Similar Threads
Trouble following tutorial instructions for seam
Maven Repo Location
maven3 - adding a line to manifest.mf
Maven plugins are not retrieved by Nexus 1.6
A set of questions on Maven.