mvn one:convert don't work?

Finally, I found that some dependency of maven-one-plugin don't install properly. but fix them this plugin work.

question fixed :

I am working on convert a maven 1 project to maven 2 project so I just run this command at the folder of the project:

mvn one:convert

then get a error:

 [INFO] Internal error in the plugin manager executing goal
 Unable to find the mojo 'org.apache.maven.plugins:maven-one-plugin:1.2:convert' in 
 the plugin 'org.apache.maven.plugins:maven-one-plugin'

Anybody know the reason ? Sorry I just so green on maven and the task is urgent...


Try maven-one-plugin:convert

Please take a look at the plugin manual and check if your configuration matches the required configuration.

The plugin does exist in central repo

Just wondering if you are running this command using maven 1. If so, can you install maven 2/3 and try?

Edit 1:

Downloaded a sample Maven 1 project from here. Ran mvn convert:one using the latest maven (maven 3). Worked successfully

D:\work\sample-echo>mvn one:convert
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO] --- maven-one-plugin:1.2:convert (default-cli) @ standalone-pom ---
[INFO] Adding report org.apache.maven.plugins:maven-changes-plugin
[INFO] There are 14 plugin relocators available
[INFO] Writing new pom to: D:\work\sample-echo\pom.xml
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.950s
[INFO] Finished at: Wed Jun 22 15:01:52 IST 2011
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------

Need Your Help

WPF Binding Order - How To Change?

wpf wpf-controls binding prism

I have a toggle button which i bind its 'Tag' property to an object. I then bind the 'IsChecked' property to its 'Tag' property.

Route pattern matches but desired action Method is not getting called - Orchard 1.7 orchardcms

I have a set of questions each having several tags to it. Each tag is clickable and supposed to filter the questions based on it.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.