You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wim Deblauwe <wi...@gmail.com> on 2005/10/18 08:29:21 UTC
Maven 1 and Maven 2 next to each other
Hi,
is it possible to build with Maven 1 and Maven 2? As I understand it, Maven
2 uses pom.xml in stead of project.xml. So if I have a project.xml I can
build with Maven 1 and if I add a pom.xml I can build the same project with
Maven 2. Correct? Or are there any extra's I need to consider?
regards,
Wim
Re: Maven 1 and Maven 2 next to each other
Posted by Wim Deblauwe <wi...@gmail.com>.
oh, ok, thank you for informing me about that. Can you notify me if you get
it working? I would very much appriciate that (or is there a bug somewhere I
can subscribe to?)
regards,
Wim
2005/10/19, Thomas Van de Velde <th...@gmail.com>:
>
> Wim,
>
> There is a M2 plugin for XDoclet, although it didn't work for me. (I am
> waiting for help on this).
>
> Cheers,
>
> Thomas
>
> On 10/19/05, Wim Deblauwe <wi...@gmail.com> wrote:
> >
> > I'm using Maven 1 to build jars and wars. I also build windows dll's and
> > InstallShield Merge Modules and InstallShield Installers through custom
> > goals in my maven.xml. I will need to convert those things into plugins
> > first. We also use the XDoclet plugin in 1 module which is not converted
> > yet, so for the moment it is impossible to use m2 for that module.
> >
> > As I see it, it will take some work to convert it all (lean how to write
> > the
> > plugins, write them, ...) so I would like to migrate a module at a time,
> > starting with the pure java ones to Maven2.
> >
> > regards,
> >
> > Wim
> >
> > 2005/10/19, Jason van Zyl <ja...@maven.org>:
> > >
> > > On Tue, 2005-10-18 at 08:29 +0200, Wim Deblauwe wrote:
> > > > Hi,
> > > >
> > > > is it possible to build with Maven 1 and Maven 2? As I understand
> it,
> > > Maven
> > > > 2 uses pom.xml in stead of project.xml. So if I have a project.xml I
> > can
> > > > build with Maven 1 and if I add a pom.xml I can build the same
> project
> > > with
> > > > Maven 2. Correct? Or are there any extra's I need to consider?
> > >
> > > Yes, m1 and m2 can sit side by side but you probably don't want to do
> > > this more long. It was meant for migration but if you have both
> systems
> > > there one of them will naturally get out of date. We've been thinking
> > > about creating an m2 -> m1 converter which might help with this as m2
> > > POMs are a superset of m1 POMs.
> > >
> > > If you are building a simple JAR you will probably be ok, but if
> you're
> > > going to get into using plug-ins then it could get a little hard to
> > > manage. What's your use case?
> > >
> > > > regards,
> > > >
> > > > Wim
> > > --
> > > jvz.
> > >
> > > Jason van Zyl
> > > jason at maven.org <http://maven.org> <http://maven.org> <
> http://maven.org>
> > > http://maven.apache.org
> > >
> > > We know what we are, but know not what we may be.
> > >
> > > -- Shakespeare
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
>
>
Re: Maven 1 and Maven 2 next to each other
Posted by Thomas Van de Velde <th...@gmail.com>.
Wim,
There is a M2 plugin for XDoclet, although it didn't work for me. (I am
waiting for help on this).
Cheers,
Thomas
On 10/19/05, Wim Deblauwe <wi...@gmail.com> wrote:
>
> I'm using Maven 1 to build jars and wars. I also build windows dll's and
> InstallShield Merge Modules and InstallShield Installers through custom
> goals in my maven.xml. I will need to convert those things into plugins
> first. We also use the XDoclet plugin in 1 module which is not converted
> yet, so for the moment it is impossible to use m2 for that module.
>
> As I see it, it will take some work to convert it all (lean how to write
> the
> plugins, write them, ...) so I would like to migrate a module at a time,
> starting with the pure java ones to Maven2.
>
> regards,
>
> Wim
>
> 2005/10/19, Jason van Zyl <ja...@maven.org>:
> >
> > On Tue, 2005-10-18 at 08:29 +0200, Wim Deblauwe wrote:
> > > Hi,
> > >
> > > is it possible to build with Maven 1 and Maven 2? As I understand it,
> > Maven
> > > 2 uses pom.xml in stead of project.xml. So if I have a project.xml I
> can
> > > build with Maven 1 and if I add a pom.xml I can build the same project
> > with
> > > Maven 2. Correct? Or are there any extra's I need to consider?
> >
> > Yes, m1 and m2 can sit side by side but you probably don't want to do
> > this more long. It was meant for migration but if you have both systems
> > there one of them will naturally get out of date. We've been thinking
> > about creating an m2 -> m1 converter which might help with this as m2
> > POMs are a superset of m1 POMs.
> >
> > If you are building a simple JAR you will probably be ok, but if you're
> > going to get into using plug-ins then it could get a little hard to
> > manage. What's your use case?
> >
> > > regards,
> > >
> > > Wim
> > --
> > jvz.
> >
> > Jason van Zyl
> > jason at maven.org <http://maven.org> <http://maven.org>
> > http://maven.apache.org
> >
> > We know what we are, but know not what we may be.
> >
> > -- Shakespeare
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
Re: Maven 1 and Maven 2 next to each other
Posted by Wim Deblauwe <wi...@gmail.com>.
I'm using Maven 1 to build jars and wars. I also build windows dll's and
InstallShield Merge Modules and InstallShield Installers through custom
goals in my maven.xml. I will need to convert those things into plugins
first. We also use the XDoclet plugin in 1 module which is not converted
yet, so for the moment it is impossible to use m2 for that module.
As I see it, it will take some work to convert it all (lean how to write the
plugins, write them, ...) so I would like to migrate a module at a time,
starting with the pure java ones to Maven2.
regards,
Wim
2005/10/19, Jason van Zyl <ja...@maven.org>:
>
> On Tue, 2005-10-18 at 08:29 +0200, Wim Deblauwe wrote:
> > Hi,
> >
> > is it possible to build with Maven 1 and Maven 2? As I understand it,
> Maven
> > 2 uses pom.xml in stead of project.xml. So if I have a project.xml I can
> > build with Maven 1 and if I add a pom.xml I can build the same project
> with
> > Maven 2. Correct? Or are there any extra's I need to consider?
>
> Yes, m1 and m2 can sit side by side but you probably don't want to do
> this more long. It was meant for migration but if you have both systems
> there one of them will naturally get out of date. We've been thinking
> about creating an m2 -> m1 converter which might help with this as m2
> POMs are a superset of m1 POMs.
>
> If you are building a simple JAR you will probably be ok, but if you're
> going to get into using plug-ins then it could get a little hard to
> manage. What's your use case?
>
> > regards,
> >
> > Wim
> --
> jvz.
>
> Jason van Zyl
> jason at maven.org <http://maven.org>
> http://maven.apache.org
>
> We know what we are, but know not what we may be.
>
> -- Shakespeare
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Maven 1 and Maven 2 next to each other
Posted by Jason van Zyl <ja...@maven.org>.
On Tue, 2005-10-18 at 08:29 +0200, Wim Deblauwe wrote:
> Hi,
>
> is it possible to build with Maven 1 and Maven 2? As I understand it, Maven
> 2 uses pom.xml in stead of project.xml. So if I have a project.xml I can
> build with Maven 1 and if I add a pom.xml I can build the same project with
> Maven 2. Correct? Or are there any extra's I need to consider?
Yes, m1 and m2 can sit side by side but you probably don't want to do
this more long. It was meant for migration but if you have both systems
there one of them will naturally get out of date. We've been thinking
about creating an m2 -> m1 converter which might help with this as m2
POMs are a superset of m1 POMs.
If you are building a simple JAR you will probably be ok, but if you're
going to get into using plug-ins then it could get a little hard to
manage. What's your use case?
> regards,
>
> Wim
--
jvz.
Jason van Zyl
jason at maven.org
http://maven.apache.org
We know what we are, but know not what we may be.
-- Shakespeare
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven 1 and Maven 2 next to each other
Posted by fa...@mpsa.com.
I'm currently doing this and everything works perfectly. This is a good way
to move from m1 to m2.
Best Regards / Cordialement,
Fabrice BELLINGARD
DINQ/DSIN/INSI/EATE/IDVS/AIDV
(+33) (01 61) 45 15 91 - fabrice.belingard@mpsa.com
Wim Deblauwe
<wim.deblauwe@gm
ail.com> Pour
Maven Users List
18/10/2005 11:48 <us...@maven.apache.org>
cc
Veuillez Objet
répondre à Re: Maven 1 and Maven 2 next to
Maven Users List each other
<users@maven.apa
che.org>
Does somebody have experience with this? Any things I should be aware of
when doing this?
2005/10/18, Edwin Punzalan <ep...@exist.com>:
>
>
> Yes it is possible to have both project.xml and pom.xml
>
>
> Wim Deblauwe wrote:
>
> >Hi,
> >
> >is it possible to build with Maven 1 and Maven 2? As I understand it,
> Maven
> >2 uses pom.xml in stead of project.xml. So if I have a project.xml I can
> >build with Maven 1 and if I add a pom.xml I can build the same project
> with
> >Maven 2. Correct? Or are there any extra's I need to consider?
> >
> >regards,
> >
> >Wim
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven 1 and Maven 2 next to each other
Posted by Wim Deblauwe <wi...@gmail.com>.
Does somebody have experience with this? Any things I should be aware of
when doing this?
2005/10/18, Edwin Punzalan <ep...@exist.com>:
>
>
> Yes it is possible to have both project.xml and pom.xml
>
>
> Wim Deblauwe wrote:
>
> >Hi,
> >
> >is it possible to build with Maven 1 and Maven 2? As I understand it,
> Maven
> >2 uses pom.xml in stead of project.xml. So if I have a project.xml I can
> >build with Maven 1 and if I add a pom.xml I can build the same project
> with
> >Maven 2. Correct? Or are there any extra's I need to consider?
> >
> >regards,
> >
> >Wim
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Maven 1 and Maven 2 next to each other
Posted by Edwin Punzalan <ep...@exist.com>.
Yes it is possible to have both project.xml and pom.xml
Wim Deblauwe wrote:
>Hi,
>
>is it possible to build with Maven 1 and Maven 2? As I understand it, Maven
>2 uses pom.xml in stead of project.xml. So if I have a project.xml I can
>build with Maven 1 and if I add a pom.xml I can build the same project with
>Maven 2. Correct? Or are there any extra's I need to consider?
>
>regards,
>
>Wim
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org