If you already have some files checkouted in your current directory, you must use scm:update. If not, you can use mvn scm:checkout -DcheckoutDirectory=....

Emmanuel

Wayne Fay a écrit :
Hi guys,

Been using Maven2 for a while but never used the SCM features
previously. Decided to look into SCM for a project.

I got a working scm:checkout etc just now by configuring the SCM in my
pom.xml. But the files land in /target/checkout. And of course I want
them to land in my current directory so I can compile, package etc
properly.

Is this normal behavoir of scm:checkout?? If so, what's the m2 method
for moving the checkout code to the proper place in the filesystem so
it can be compiled, packed, site generated etc from this pom.xml file?

What I'm currently getting:
/projects/a/pom.xml  << this has my SCM info, I call "mvn scm..." here
/projects/a/target/checkout/src/java/...   <<this is where scm code lands

What I want:
/projects/a/pom.xml
/projects/a/src/java  <<this is where I want it to be
/projects/a/target/...

What am I missing? I can't imagine this is "right". Or is it?

Thanks.
Wayne

---------------------------------------------------------------------
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]

Reply via email to