How to exclude folder in svn checkout in maven?

I am using maven to test some projects. I don't want maven to check the folder. But it seems to be ignoring the tag exception in the config.

This is the svn structure:

trunk /  
| - folder_to_include  
`- folder_to_ignore  

And here comes the sample 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> 

      

What am I doing wrong?

+2


source to share


1 answer


I observe the same behavior. I suggest filing this issue at http://jira.codehaus.org/browse/SCM .



+2


source







All Articles