You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by mathapfahl <ni...@web.de> on 2008/04/30 16:08:19 UTC
convert maven 1 to maven 2
I got a few problem s to migrate some projects from maven 1 to maven 2
I have several main components to migrate.
Under every component there are other components, and each of them has a
client project, a server project and a common project.
example: project A --> project A.1 --> client, server, common
Now I thought it ' s a good idea to declare every client, server and common
project as a module of the father component. Therefore I have to rename
them, cause in Maven 2 you need for every project an unique artifact id and
a group id.
What advantages I get with the modules ? And what disadvantages?
Is there any other handling with dependencies ?
Because I still don't know how to build up the dependency management.
--
View this message in context: http://www.nabble.com/convert-maven-1-to-maven-2-tp16983333s177p16983333.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: convert maven 1 to maven 2
Posted by Zdeněk Vráblík <zd...@vrablik.org>.
Hi there are some changes and Maven2 is not backward compatible with Maven1.
I would recommand you look at any open source project which is built
with Maven2 and play with the configuration. There are some books
available.
Maven2 and Maven1 build scripts may coexist in your project structure.
I have had problem with some plugins. I have started replacing these
plugins with Ant scripts inside Maven2 build and later I will use any
Maven2 plugin if is available. This was easy and quick to change build
scripts to Maven2.
There is better dependency manager and modules helps me divide project
better than Maven1.
This is just some my point what I like on Maven2. I am still in
migration to Maven2, but I think it is good decision.
Regards,
Zdenek
On Mon, May 5, 2008 at 11:12 AM, mathapfahl <ni...@web.de> wrote:
>
> Is there any doc for the modules section?
>
> What advantages I get with the modules ? And what disadvantages?
> Is there any other handling with dependencies ?
>
> I can not find any guides for the modules...
>
>
> mathapfahl wrote:
>>
>> I got a few problem s to migrate some projects from maven 1 to maven 2
>> I have several main components to migrate.
>> Under every component there are other components, and each of them has a
>> client project, a server project and a common project.
>> example: project A --> project A.1 --> client, server, common
>>
>> Now I thought it ' s a good idea to declare every client, server and
>> common project as a module of the father component. Therefore I have to
>> rename them, cause in Maven 2 you need for every project an unique
>> artifact id and a group id.
>>
>> What advantages I get with the modules ? And what disadvantages?
>> Is there any other handling with dependencies ?
>> Because I still don't know how to build up the dependency management.
>>
>>
>
> --
> View this message in context: http://www.nabble.com/convert-maven-1-to-maven-2-tp16983333s177p17054000.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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: convert maven 1 to maven 2
Posted by mathapfahl <ni...@web.de>.
Is there any doc for the modules section?
What advantages I get with the modules ? And what disadvantages?
Is there any other handling with dependencies ?
I can not find any guides for the modules...
mathapfahl wrote:
>
> I got a few problem s to migrate some projects from maven 1 to maven 2
> I have several main components to migrate.
> Under every component there are other components, and each of them has a
> client project, a server project and a common project.
> example: project A --> project A.1 --> client, server, common
>
> Now I thought it ' s a good idea to declare every client, server and
> common project as a module of the father component. Therefore I have to
> rename them, cause in Maven 2 you need for every project an unique
> artifact id and a group id.
>
> What advantages I get with the modules ? And what disadvantages?
> Is there any other handling with dependencies ?
> Because I still don't know how to build up the dependency management.
>
>
--
View this message in context: http://www.nabble.com/convert-maven-1-to-maven-2-tp16983333s177p17054000.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org