I have been trying to configure extra directories for cleaning using maven-clean-plugin, but I haven't figured out the right syntax for specifying which directories to clean.
The last syntax I tried was this: <plugin> <artifactId>maven-clean-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId> <version>2.1</version> <configuration> <filesets> <include> src/main/gen </include> </filesets> <verbose>true</verbose> </configuration> </plugin> Which fails with a ClassCastException at CleanMojo.java:107 (it's expecting a File but got a String). <snip> private void removeAdditionalFilesets() throws MojoExecutionException { if ( filesets != null && !filesets.isEmpty() ) { for ( Iterator it = filesets.iterator(); it.hasNext(); ) { Fileset fileset = (Fileset) it.next(); <-- crash happens here </snip> It looks like the ability to have extra filesets cleaned was added less than a week ago (thanks, John!), and I haven't been able to find any examples or documentation. Thanks in advance for any assistance. Cheers, --Blake -- Blake Scholl Director, Product Development Pelago, Inc. cell: 206.276.6523 fax: 206.725.9285 [EMAIL PROTECTED]