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 <build><sourceDirectory> element to point to the
> > > source in $basedir/target/checkout/src? Or modify my checkoutDirectory?
> > >
> > > What are your suggestions regarding this?
> > >
> > > Thanks,
> > > Dave
> > >
> >
>

Reply via email to