Re: convert maven 1 to maven 2
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-tp1698s177p17054000.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: convert maven 1 to maven 2
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 [EMAIL PROTECTED] 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-tp1698s177p17054000.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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-tp1698s177p1698.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]