jira-importer commented on issue #142: URL: https://github.com/apache/maven-clean-plugin/issues/142#issuecomment-2690260857
**[Joakim Erdfelt](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=joakime)** commented The 2.1.1-SNAPSHOT plugin can be found with the 2 following additions into your pom. Tested with maven-user-webapp. ```xml <build> ... <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>2.1.1-20060724.192148-1</version> <!-- This configuration is added to cleanup from war:inplace --> <configuration> <filesets> <fileset> <directory>${basedir}/src/main/webapp</directory> <includes> <include>META-INF</include> <include>WEB-INF/classes</include> <include>WEB-INF/tld</include> <include>WEB-INF/lib</include> </includes> <excludes> <excludes>user/*</excludes> <excludes>WEB-INF/*.tld</excludes> <excludes>WEB-INF/*.xml</excludes> </excludes> </fileset> </filesets> </configuration> </plugin> <plugins> ... </build> ``` and a new repository entry to find it. ```xml <pluginRepositories> <pluginRepository> <!-- Needed for maven-clean-plugin with fileset support --> <id>snapshots.apache.org</id> <url>http://people.apache.org/maven-snapshot-repository</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
