You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2006/05/21 23:40:41 UTC

[jira] Commented: (MNG-1530) Converter for maven 1 projects

    [ http://jira.codehaus.org/browse/MNG-1530?page=comments#action_65657 ] 

Dennis Lundberg commented on MNG-1530:
--------------------------------------

What's the status on this? I've had a look at the source and it's looking good. Also tried to convert a couple of poms with satisfactory results. Carlos' concern about some refactoring has been solved in MRM-29.

There seems to be some overlap with code in other places in SVN though. I have found these that seems related:
- /maven/components/trunk/maven-model-converter
- /maven/components/trunk/maven-repository-tools
- /maven/sandbox/pom-pre-alpha-converter

>From the look of things maven-model-converter is the most recent one. Should this plugin use that component instead of the classes currently in the zip-file?

The code in the zip seems to be working, and there are a lot of questions on the user list about a conversion tool. Would it be possible to find a spot for this plugin in the sandbox so that it can evolve some more? I'd be willing to write a couple of PluginConfigurationConverters.

> Converter for maven 1 projects
> ------------------------------
>
>          Key: MNG-1530
>          URL: http://jira.codehaus.org/browse/MNG-1530
>      Project: Maven 2
>         Type: Improvement

>   Components: Plugin Requests
>     Reporter: fabrizio giustina
>     Assignee: fabrizio giustina
>     Priority: Minor
>  Attachments: maven-maven1-plugin.zip
>
>
> A simple mvn plugins that converts a maven 1 project.xml to a maven 2 pom.xml.
> Apart from the pom v3 to v4 conversion it also adds specific plugin configurations to pom.xml from project.properties (there are a few samples for some compiler, surefire, war settings and it can be easily extended).
> After installing it using mvn:install you can run "mvn maven1:convert" on maven 1 project for a quick start on maven 2.
> Note: the org.apache.maven.model.v3_0_0.* classes are actually embedded in the plugin due to MNG-1436 and MAVENUPLOAD-583
> If there is interest in this I can commit it to svn, please comment/vote here.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira