Re: SCM Plugin Default Directory
What are you trying to do? Are you checking out your project with the maven-scm-plugin? /Anders On Tue, Jun 1, 2010 at 17:32, D D dawi...@gmail.com wrote: Hello Everyone, I am using CVS as my scm. As I'm project converting from M1 to M2 I noticed that my default checkout is $basedir/target/checkout. So should I modify my buildsourceDirectory element to point to the source in $basedir/target/checkout/src? Or modify my checkoutDirectory? What are your suggestions regarding this? Thanks, Dave
Re: SCM Plugin Default Directory
Yes, I am using scm:checkout to get a project from cvs repository. Since I'm converting my projects from M1 to M2 I would like to know what is the best practice. Thanks, Dave On Tue, Jun 1, 2010 at 1:18 PM, Anders Hammar and...@hammar.net wrote: What are you trying to do? Are you checking out your project with the maven-scm-plugin? /Anders On Tue, Jun 1, 2010 at 17:32, D D dawi...@gmail.com wrote: Hello Everyone, I am using CVS as my scm. As I'm project converting from M1 to M2 I noticed that my default checkout is $basedir/target/checkout. So should I modify my buildsourceDirectory element to point to the source in $basedir/target/checkout/src? Or modify my checkoutDirectory? What are your suggestions regarding this? Thanks, Dave
Re: SCM Plugin Default Directory
Ok, I see. I very rearly use scm:checkout (I normally checkout from Eclipse or some other tool). But when I do, I pass along the -DcheckoutDirectory=whatever flag to get the checked out project where I want it. That checkout folder is going to be your new basedir. You should keep your direcotyr layout according to Maven's default layout (see http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html). I.e. don't fight Maven. /Anders On Tue, Jun 1, 2010 at 20:56, D D dawi...@gmail.com wrote: Yes, I am using scm:checkout to get a project from cvs repository. Since I'm converting my projects from M1 to M2 I would like to know what is the best practice. Thanks, Dave On Tue, Jun 1, 2010 at 1:18 PM, Anders Hammar and...@hammar.net wrote: What are you trying to do? Are you checking out your project with the maven-scm-plugin? /Anders On Tue, Jun 1, 2010 at 17:32, D D dawi...@gmail.com wrote: Hello Everyone, I am using CVS as my scm. As I'm project converting from M1 to M2 I noticed that my default checkout is $basedir/target/checkout. So should I modify my buildsourceDirectory element to point to the source in $basedir/target/checkout/src? Or modify my checkoutDirectory? What are your suggestions regarding this? Thanks, Dave
Re: SCM Plugin Default Directory
Thanks, I'm using the checkoutDirectory in my trial pom.xml so it's here to stay. As far as the standard directory layout my hands are tied I think. My team is using IBM's RAD and it has a mind of its own but Maven is assembling all I need rather nicely once I implemented proper locations for code and META-INF Cheers, Dave On Tue, Jun 1, 2010 at 2:17 PM, Anders Hammar and...@hammar.net wrote: Ok, I see. I very rearly use scm:checkout (I normally checkout from Eclipse or some other tool). But when I do, I pass along the -DcheckoutDirectory=whatever flag to get the checked out project where I want it. That checkout folder is going to be your new basedir. You should keep your direcotyr layout according to Maven's default layout (see http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html ). I.e. don't fight Maven. /Anders On Tue, Jun 1, 2010 at 20:56, D D dawi...@gmail.com wrote: Yes, I am using scm:checkout to get a project from cvs repository. Since I'm converting my projects from M1 to M2 I would like to know what is the best practice. Thanks, Dave On Tue, Jun 1, 2010 at 1:18 PM, Anders Hammar and...@hammar.net wrote: What are you trying to do? Are you checking out your project with the maven-scm-plugin? /Anders On Tue, Jun 1, 2010 at 17:32, D D dawi...@gmail.com wrote: Hello Everyone, I am using CVS as my scm. As I'm project converting from M1 to M2 I noticed that my default checkout is $basedir/target/checkout. So should I modify my buildsourceDirectory element to point to the source in $basedir/target/checkout/src? Or modify my checkoutDirectory? What are your suggestions regarding this? Thanks, Dave