How to exclude a folder in svn checkout in maven?
Posted
by Udo Fholl
on Stack Overflow
See other posts from Stack Overflow
or by Udo Fholl
Published on 2010-04-12T08:23:06Z
Indexed on
2010/04/12
8:53 UTC
Read the original article
Hit count: 355
Hi all,
Im using maven to checkout some projects. I don't want maven to checkout a folder. But it seems to ignore the excludes tag in configuration.
This is the svn structure:
trunk/
|
L_ folder_to_include
|
L_ folder_to_ignore
And here it goes a sample of the pom.xml:
<execution>
<id>checkout_application</id>
<configuration>
<connectionUrl>hostname</connectionUrl>
<checkoutDirectory>checkout_folder</checkoutDirectory>
<excludes>folder_to_ignore</excludes>
</configuration>
<phase>process-resources</phase>
<goals>
<goal>checkout</goal>
</goals>
</execution>
Sorry for the poor formatting and my english. I wasn't able to insert proper tabulation (four spaces?).
Thank you!
Udo.
© Stack Overflow or respective owner