You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Phill Moran <pj...@rogers.com> on 2007/03/09 03:20:31 UTC

MAVEN 2.0 and SCM-SVN

This could be a dumb questions but why does maven SCM default to checkout to
/target/checkout? I would expect it to go to a dir under src/java. It also seems
that the SCM plug-in does not allow this to be overridden. I have tried setting
<sourceDirectory> and the others to no avail. I am using the standard MAVEN dir
structure.
Unless I am missing something fundamental this issue makes the plug-in a little
useless
 
 

Re: MAVEN 2.0 and SCM-SVN

Posted by Max Bowsher <ma...@mxtelecom.com>.
Phill Moran wrote:
> This could be a dumb questions but why does maven SCM default to checkout to
> /target/checkout? I would expect it to go to a dir under src/java. It also seems
> that the SCM plug-in does not allow this to be overridden. I have tried setting
> <sourceDirectory> and the others to no avail. I am using the standard MAVEN dir
> structure.
> Unless I am missing something fundamental this issue makes the plug-in a little
> useless

The thing you're missing is that the SCM code is usually used to do a
checkout in order to create a *temporary* working copy in order to build
a release from an SCM tag.

It's not at all clear what you are using it for, that you would find it
helpful to have it checking out under src.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: MAVEN 2.0 and SCM-SVN

Posted by Dan Tran <da...@gmail.com>.
By convention, any thing generated by the build execution should be placed
under ${project.build.directory) ( ie target)

scm:checkout is not the exception either.

A good use case of this, maven release:perform which checkouts a know tag
into target/checkout and performs the build from there.
After that user can freely remove target dir ( ie mvn clean )

But there are cases you will want override the checkoutDirectory.  May be
this is what you want, rather than calling it useless :)


-D


On 3/8/07, Phill Moran <pj...@rogers.com> wrote:
>
> This could be a dumb questions but why does maven SCM default to checkout
> to
> /target/checkout? I would expect it to go to a dir under src/java. It also
> seems
> that the SCM plug-in does not allow this to be overridden. I have tried
> setting
> <sourceDirectory> and the others to no avail. I am using the standard
> MAVEN dir
> structure.
> Unless I am missing something fundamental this issue makes the plug-in a
> little
> useless
>
>
>