You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jeffrey Mutonho <ej...@gmail.com> on 2004/11/11 13:03:37 UTC
checkout question
I'm using maven to checkout stuff (docs) from a CVS repository and
somehow a target directory is being created.I'm running maven from
this directory
/home/popsearch
and wish to have the docs fetched and be placed in
/home/popsearch/docs , like what happens with my other projects.At the
moment the docs are being placed in /home/popsearch/target/doc.I don't
want the "target" directory to be created as I'm not doing anything in
my goal as shown below in my maven.xml file
<project default="checkout-all" xmlns:j="jelly:core" xmlns:m="jelly:maven">
<preGoal name="checkout-all">
<j:set var="maven.scm.cvs.module">Clients/Projects/exact/doc</j:set>
<attainGoal name="scm:cvs-checkout-project"/>
</preGoal>
<goal name="checkout-all">
</goal>
</project>
jeff
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: checkout question
Posted by Brett Porter <br...@gmail.com>.
I'm not sure why you have the code in a pregoal, instead of just
putting it in the goal, but that's a different issue.
The default location of checkout is target/checkouts/...
You should refer to the SCM plugin documentation:
http://maven.apache.org/reference/plugins/scm/properties.html
On Thu, 11 Nov 2004 14:03:37 +0200, Jeffrey Mutonho <ej...@gmail.com> wrote:
> I'm using maven to checkout stuff (docs) from a CVS repository and
> somehow a target directory is being created.I'm running maven from
> this directory
>
> /home/popsearch
>
> and wish to have the docs fetched and be placed in
>
> /home/popsearch/docs , like what happens with my other projects.At the
> moment the docs are being placed in /home/popsearch/target/doc.I don't
> want the "target" directory to be created as I'm not doing anything in
> my goal as shown below in my maven.xml file
>
> <project default="checkout-all" xmlns:j="jelly:core" xmlns:m="jelly:maven">
> <preGoal name="checkout-all">
> <j:set var="maven.scm.cvs.module">Clients/Projects/exact/doc</j:set>
> <attainGoal name="scm:cvs-checkout-project"/>
> </preGoal>
>
> <goal name="checkout-all">
> </goal>
> </project>
>
> jeff
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org