Re: Converting to Maven 1.x
On Wed, Apr 22, 2009 at 7:21 PM, Michael K. Craghead mcragh...@yahoo.com wrote: I know this seems like a strange request, but what is the best way to convert a Maven 2 project to Maven 1? Our development team was going to start to move to Maven 2, but the plans have changed. Unfortunately, I've already built all of my code using Maven 2. I need to know how to convert my various projects to Maven 1. That includes changing the directory structure to leave out the main directory folder between the src and java folders, as well as any other directory differences that I might not be thinking of at the moment. Thanks. This will depend on complexity of your projects etc. But as a first hint: mvn dependency:list will resolve dependencies dependencies for your projects so you'll know, what you should define as a list of dependencies in project.xml. Regards, Tomek (still using maven1 in some projects..) Michael K. Craghead - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Converting to Maven 1.x
Jason van Zyl wrote: You should explain to your manager the costs incurred for using Maven 1.x will be higher because it's harder for our community to support Maven 1.x at this point. There might be a few committers left here who maintain Maven 1.x projects but I would imagine the interest is pretty low here in Maven 1.x. So the burden of fixes to Maven itself when you have problems will probably be yours. Yours is the first request I've heard to convert from Maven 2.x to 1.x. As such I don't even know if there are any tools around. There might be but I don't recall there being any. Probably easy enough to take on the existing tools and go the other way. One tool that can convert from M1 to M2 is the Maven One Plugin: http://maven.apache.org/plugins/maven-one-plugin/ This is a plugin for Maven 2. You should have a look at the sources for the convert goal, to get you started. Then, as Jason said, it's a matter of doing it in the opposite direction. On 22-Apr-09, at 10:21 AM, Michael K. Craghead wrote: I know this seems like a strange request, but what is the best way to convert a Maven 2 project to Maven 1? Our development team was going to start to move to Maven 2, but the plans have changed. Unfortunately, I've already built all of my code using Maven 2. I need to know how to convert my various projects to Maven 1. That includes changing the directory structure to leave out the main directory folder between the src and java folders, as well as any other directory differences that I might not be thinking of at the moment. Thanks. Michael K. Craghead Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl -- happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Dennis Lundberg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Converting to Maven 1.x
I know this seems like a strange request, but what is the best way to convert a Maven 2 project to Maven 1? Our development team was going to start to move to Maven 2, but the plans have changed. Unfortunately, I've already built all of my code using Maven 2. I need to know how to convert my various projects to Maven 1. That includes changing the directory structure to leave out the main directory folder between the src and java folders, as well as any other directory differences that I might not be thinking of at the moment. Thanks. Michael K. Craghead
Re: Converting to Maven 1.x
Bash the manager over the head until he changes his mind ;-) -Stephen 2009/4/22 Michael K. Craghead mcragh...@yahoo.com I know this seems like a strange request, but what is the best way to convert a Maven 2 project to Maven 1? Our development team was going to start to move to Maven 2, but the plans have changed. Unfortunately, I've already built all of my code using Maven 2. I need to know how to convert my various projects to Maven 1. That includes changing the directory structure to leave out the main directory folder between the src and java folders, as well as any other directory differences that I might not be thinking of at the moment. Thanks. Michael K. Craghead
Re: Converting to Maven 1.x
Do you know you will be the latest one on this list to use maven 1 :p 2009/4/22 Stephen Connolly stephen.alan.conno...@gmail.com Bash the manager over the head until he changes his mind ;-) -Stephen 2009/4/22 Michael K. Craghead mcragh...@yahoo.com I know this seems like a strange request, but what is the best way to convert a Maven 2 project to Maven 1? Our development team was going to start to move to Maven 2, but the plans have changed. Unfortunately, I've already built all of my code using Maven 2. I need to know how to convert my various projects to Maven 1. That includes changing the directory structure to leave out the main directory folder between the src and java folders, as well as any other directory differences that I might not be thinking of at the moment. Thanks. Michael K. Craghead
Re: Converting to Maven 1.x
And has the manger mandated all code shall be written in C? Strange indeed. -Dave On Wed, Apr 22, 2009 at 11:37 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Bash the manager over the head until he changes his mind ;-) -Stephen 2009/4/22 Michael K. Craghead mcragh...@yahoo.com I know this seems like a strange request, but what is the best way to convert a Maven 2 project to Maven 1? Our development team was going to start to move to Maven 2, but the plans have changed. Unfortunately, I've already built all of my code using Maven 2. I need to know how to convert my various projects to Maven 1. That includes changing the directory structure to leave out the main directory folder between the src and java folders, as well as any other directory differences that I might not be thinking of at the moment. Thanks. Michael K. Craghead
Re: Converting to Maven 1.x
Unfortunately that won't work this time. Our effort is just a very small part of a much larger project. I was looking forward to using 2 and had gotten use to m2eclipse. Michael K. Craghead From: Stephen Connolly stephen.alan.conno...@gmail.com To: Maven Users List users@maven.apache.org Sent: Wednesday, April 22, 2009 1:37:33 PM Subject: Re: Converting to Maven 1.x Bash the manager over the head until he changes his mind ;-) -Stephen 2009/4/22 Michael K. Craghead mcragh...@yahoo.com I know this seems like a strange request, but what is the best way to convert a Maven 2 project to Maven 1? Our development team was going to start to move to Maven 2, but the plans have changed. Unfortunately, I've already built all of my code using Maven 2. I need to know how to convert my various projects to Maven 1. That includes changing the directory structure to leave out the main directory folder between the src and java folders, as well as any other directory differences that I might not be thinking of at the moment. Thanks. Michael K. Craghead
Re: Converting to Maven 1.x
I'm sure, but stillI don't have a choice. Michael K. Craghead From: nicolas de loof nicolas.del...@gmail.com To: Maven Users List users@maven.apache.org Sent: Wednesday, April 22, 2009 1:40:02 PM Subject: Re: Converting to Maven 1.x Do you know you will be the latest one on this list to use maven 1 :p 2009/4/22 Stephen Connolly stephen.alan.conno...@gmail.com Bash the manager over the head until he changes his mind ;-) -Stephen 2009/4/22 Michael K. Craghead mcragh...@yahoo.com I know this seems like a strange request, but what is the best way to convert a Maven 2 project to Maven 1? Our development team was going to start to move to Maven 2, but the plans have changed. Unfortunately, I've already built all of my code using Maven 2. I need to know how to convert my various projects to Maven 1. That includes changing the directory structure to leave out the main directory folder between the src and java folders, as well as any other directory differences that I might not be thinking of at the moment. Thanks. Michael K. Craghead
Re: Converting to Maven 1.x
It hasn't gone that far...So should I to assume from the responses that there is no good or easy way to convert to Maven 1? Michael K. Craghead From: David Hoffer dhoff...@gmail.com To: Maven Users List users@maven.apache.org Sent: Wednesday, April 22, 2009 1:40:42 PM Subject: Re: Converting to Maven 1.x And has the manger mandated all code shall be written in C? Strange indeed. -Dave On Wed, Apr 22, 2009 at 11:37 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Bash the manager over the head until he changes his mind ;-) -Stephen 2009/4/22 Michael K. Craghead mcragh...@yahoo.com I know this seems like a strange request, but what is the best way to convert a Maven 2 project to Maven 1? Our development team was going to start to move to Maven 2, but the plans have changed. Unfortunately, I've already built all of my code using Maven 2. I need to know how to convert my various projects to Maven 1. That includes changing the directory structure to leave out the main directory folder between the src and java folders, as well as any other directory differences that I might not be thinking of at the moment. Thanks. Michael K. Craghead
Re: Converting to Maven 1.x
Never used m1, no idea. -Dave On Wed, Apr 22, 2009 at 11:48 AM, Michael K. Craghead mcragh...@yahoo.comwrote: It hasn't gone that far...So should I to assume from the responses that there is no good or easy way to convert to Maven 1? Michael K. Craghead From: David Hoffer dhoff...@gmail.com To: Maven Users List users@maven.apache.org Sent: Wednesday, April 22, 2009 1:40:42 PM Subject: Re: Converting to Maven 1.x And has the manger mandated all code shall be written in C? Strange indeed. -Dave On Wed, Apr 22, 2009 at 11:37 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Bash the manager over the head until he changes his mind ;-) -Stephen 2009/4/22 Michael K. Craghead mcragh...@yahoo.com I know this seems like a strange request, but what is the best way to convert a Maven 2 project to Maven 1? Our development team was going to start to move to Maven 2, but the plans have changed. Unfortunately, I've already built all of my code using Maven 2. I need to know how to convert my various projects to Maven 1. That includes changing the directory structure to leave out the main directory folder between the src and java folders, as well as any other directory differences that I might not be thinking of at the moment. Thanks. Michael K. Craghead
Re: Converting to Maven 1.x
why not just use an ant script to call m2 that way your build is ok, and m1 can be used to build everything (every problem can be solved by adding a layer of indirection) Sent from my [rhymes with myPod] ;-) On 22 Apr 2009, at 18:49, David Hoffer dhoff...@gmail.com wrote: Never used m1, no idea. -Dave On Wed, Apr 22, 2009 at 11:48 AM, Michael K. Craghead mcragh...@yahoo.comwrote: It hasn't gone that far...So should I to assume from the responses that there is no good or easy way to convert to Maven 1? Michael K. Craghead From: David Hoffer dhoff...@gmail.com To: Maven Users List users@maven.apache.org Sent: Wednesday, April 22, 2009 1:40:42 PM Subject: Re: Converting to Maven 1.x And has the manger mandated all code shall be written in C? Strange indeed. -Dave On Wed, Apr 22, 2009 at 11:37 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Bash the manager over the head until he changes his mind ;-) -Stephen 2009/4/22 Michael K. Craghead mcragh...@yahoo.com I know this seems like a strange request, but what is the best way to convert a Maven 2 project to Maven 1? Our development team was going to start to move to Maven 2, but the plans have changed. Unfortunately, I've already built all of my code using Maven 2. I need to know how to convert my various projects to Maven 1. That includes changing the directory structure to leave out the main directory folder between the src and java folders, as well as any other directory differences that I might not be thinking of at the moment. Thanks. Michael K. Craghead - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Converting to Maven 1.x
Besides starting from scratch? No. Maven 1.x is dead for all intents and purposes. Michael K. Craghead wrote: It hasn't gone that far...So should I to assume from the responses that there is no good or easy way to convert to Maven 1? Michael K. Craghead From: David Hoffer dhoff...@gmail.com To: Maven Users List users@maven.apache.org Sent: Wednesday, April 22, 2009 1:40:42 PM Subject: Re: Converting to Maven 1.x And has the manger mandated all code shall be written in C? Strange indeed. -Dave On Wed, Apr 22, 2009 at 11:37 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Bash the manager over the head until he changes his mind ;-) -Stephen 2009/4/22 Michael K. Craghead mcragh...@yahoo.com I know this seems like a strange request, but what is the best way to convert a Maven 2 project to Maven 1? Our development team was going to start to move to Maven 2, but the plans have changed. Unfortunately, I've already built all of my code using Maven 2. I need to know how to convert my various projects to Maven 1. That includes changing the directory structure to leave out the main directory folder between the src and java folders, as well as any other directory differences that I might not be thinking of at the moment. Thanks. Michael K. Craghead
Re: Converting to Maven 1.x
You should explain to your manager the costs incurred for using Maven 1.x will be higher because it's harder for our community to support Maven 1.x at this point. There might be a few committers left here who maintain Maven 1.x projects but I would imagine the interest is pretty low here in Maven 1.x. So the burden of fixes to Maven itself when you have problems will probably be yours. Yours is the first request I've heard to convert from Maven 2.x to 1.x. As such I don't even know if there are any tools around. There might be but I don't recall there being any. Probably easy enough to take on the existing tools and go the other way. On 22-Apr-09, at 10:21 AM, Michael K. Craghead wrote: I know this seems like a strange request, but what is the best way to convert a Maven 2 project to Maven 1? Our development team was going to start to move to Maven 2, but the plans have changed. Unfortunately, I've already built all of my code using Maven 2. I need to know how to convert my various projects to Maven 1. That includes changing the directory structure to leave out the main directory folder between the src and java folders, as well as any other directory differences that I might not be thinking of at the moment. Thanks. Michael K. Craghead Thanks, Jason -- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl -- happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org