Re: Maven1 project converter

2006-07-28 Thread Trygve Laugstøl
Emmanuel Venisse wrote: oh yes :-) We're old school Emmanuel, I still use the old version too often.. -- Trygve Emmanuel Brett Porter a écrit : On 28/07/2006 7:27 PM, Emmanuel Venisse wrote: /** * @parameter expression="${component.org.apache.maven.model.converter.Maven2Converter}"

Re: Maven1 project converter

2006-07-28 Thread Dennis Lundberg
Brett Porter wrote: On 28/07/2006 7:27 PM, Emmanuel Venisse wrote: /** * @parameter expression="${component.org.apache.maven.model.converter.Maven2Converter}" * @required */ private Maven1Converter converter; or better: /** * @component */ private Maven1Converter converter; Thanks

Re: Maven1 project converter

2006-07-28 Thread Emmanuel Venisse
oh yes :-) Emmanuel Brett Porter a écrit : On 28/07/2006 7:27 PM, Emmanuel Venisse wrote: /** * @parameter expression="${component.org.apache.maven.model.converter.Maven2Converter}" * @required */ private Maven1Converter converter; or better: /** * @component */ private Maven1Conve

Re: Maven1 project converter

2006-07-28 Thread Brett Porter
On 28/07/2006 7:27 PM, Emmanuel Venisse wrote: /** * @parameter expression="${component.org.apache.maven.model.converter.Maven2Converter}" * @required */ private Maven1Converter converter; or better: /** * @component */ private Maven1Converter converter; -- Apache Maven - http://maven.

Re: Maven1 project converter

2006-07-28 Thread Emmanuel Venisse
Dennis Lundberg a écrit : I use it through the maven-maven1-plugin like this: Maven1Converter converter = new Maven1Converter(); converter.setBasedir( basedir ); try { converter.execute(); } catch ( ProjectConverterException e )

Re: Maven1 project converter

2006-07-28 Thread Dennis Lundberg
I use it through the maven-maven1-plugin like this: Maven1Converter converter = new Maven1Converter(); converter.setBasedir( basedir ); try { converter.execute(); } catch ( ProjectConverterException e ) { throw new M

Re: Maven1 project converter

2006-07-28 Thread Emmanuel Venisse
Yes it works fine for me. How do you use it? Emmanuel Dennis Lundberg a écrit : Emmanuel, I'm still not getting the plexus components to work, even after your latest commits. Is it working for you? [DEBUG] Trace java.lang.NullPointerException at org.apache.maven.model.converter.Mav

Re: Maven1 project converter

2006-07-28 Thread Dennis Lundberg
Emmanuel, I'm still not getting the plexus components to work, even after your latest commits. Is it working for you? [DEBUG] Trace java.lang.NullPointerException at org.apache.maven.model.converter.Maven1Converter.execute(Maven1Converter.java:122) at org.apache.maven.maven1c

Re: Maven1 project converter

2006-07-23 Thread Dennis Lundberg
Emmanuel Venisse wrote: Dennis Lundberg a écrit : Emmanuel Venisse wrote: Hi, I'm starting to migrate all the code from sandbox/plugins/maven-maven1-plugin to maven-model-converter with some modifications on plugin configuration converter loading. Dennis, do you work actually on maven-ma

Re: Maven1 project converter

2006-07-20 Thread Dennis Lundberg
Emmanuel Venisse wrote: The mojo that we need to move under maven-one-plugin convert a m1 project (project.xml+project.properties) to a m2 project. If some properties are found about some plugins in properties file, the plugin is added with the conf in the pom.xml too. maven-maven1-plugin all

Re: Maven1 project converter

2006-07-20 Thread Emmanuel Venisse
no, it allow only to package a m1 plugin with m2, not to run it. Emmanuel Dion Gillard a écrit : So does this mean m2 could run repackaged m1 plugins? On 7/20/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: The mojo that we need to move under maven-one-plugin convert a m1 project (project.xml

Re: Maven1 project converter

2006-07-20 Thread Dion Gillard
So does this mean m2 could run repackaged m1 plugins? On 7/20/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: The mojo that we need to move under maven-one-plugin convert a m1 project (project.xml+project.properties) to a m2 project. If some properties are found about some plugins in properties

Re: Maven1 project converter

2006-07-20 Thread Emmanuel Venisse
The mojo that we need to move under maven-one-plugin convert a m1 project (project.xml+project.properties) to a m2 project. If some properties are found about some plugins in properties file, the plugin is added with the conf in the pom.xml too. maven-maven1-plugin allow to package a m1 plugin

Re: Maven1 project converter

2006-07-19 Thread Dion Gillard
Guys, what does the plugin do? On 7/20/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: Dennis Lundberg a écrit : > Emmanuel Venisse wrote: >> Hi, >> >> I'm starting to migrate all the code from >> sandbox/plugins/maven-maven1-plugin to maven-model-converter with some >> modifications on plugi

Re: Maven1 project converter

2006-07-19 Thread Emmanuel Venisse
Dennis Lundberg a écrit : Emmanuel Venisse wrote: Hi, I'm starting to migrate all the code from sandbox/plugins/maven-maven1-plugin to maven-model-converter with some modifications on plugin configuration converter loading. Dennis, do you work actually on maven-maven1-plugin? Oh sorry E

Re: Maven1 project converter

2006-07-19 Thread Dennis Lundberg
Emmanuel Venisse wrote: Hi, I'm starting to migrate all the code from sandbox/plugins/maven-maven1-plugin to maven-model-converter with some modifications on plugin configuration converter loading. Dennis, do you work actually on maven-maven1-plugin? Oh sorry Emmanuel, I misread your mail

Re: Maven1 project converter

2006-07-19 Thread Dennis Lundberg
Emmanuel Venisse wrote: Hi, I'm starting to migrate all the code from sandbox/plugins/maven-maven1-plugin to maven-model-converter with some modifications on plugin configuration converter loading. Dennis, do you work actually on maven-maven1-plugin? Yes, it's pretty much completed. It nee

Maven1 project converter

2006-07-19 Thread Emmanuel Venisse
Hi, I'm starting to migrate all the code from sandbox/plugins/maven-maven1-plugin to maven-model-converter with some modifications on plugin configuration converter loading. Dennis, do you work actually on maven-maven1-plugin? Emmanuel ---