jira-importer commented on issue #251: URL: https://github.com/apache/maven-war-plugin/issues/251#issuecomment-2967855916
**[Zecas](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zecas)** commented Hi, I came across this issue, and I'm having the same problem. My pom.xml settings: <build> <outputDirectory>WebContent/WEB-INF/classes</outputDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.0.1</version> <executions> <goal>explode</goal> </executions> <configuration> <archiveClasses>true</archiveClasses> <dependentWarIncludes> **/resources/\*.\* </dependentWarIncludes> <webResources> <resource> <!-- this is relative to the pom.xml directory --> <directory>${basedir}/WebContent</directory> </resource> </webResources> </configuration> </plugin> </plugins> </build> It creates a jar file inside the WEB-INF\lib folder, but doesn't remove classes from WEB-INF\classes folder. I've tried a clean build: mvn clean and then to be sure: mvn clean package Any workaround? -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org