You should also exclude it from clean. E.g. - <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.5</version> <executions> <execution> <id>auto-clean</id> <phase>clean</phase> <goals> <goal>clean</goal> </goals> <configuration> <filesets> <fileset> <directory>lib</directory> <includes> <include>**/*.*</include> </includes> <excludes> <exclude>java2html.jar</exclude> </excludes> </fileset> </filesets> <failOnError>false</failOnError> </configuration> </execution> </executions> </plugi...
You should also exclude it from clean. E.g. - <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.5</version> <executions> <execution> <id>auto-clean</id> <phase>clean</phase> <goals> <goal>clean</goal> </goals> <configuration> <filesets> <fileset> <directory>lib</directory> <includes> <include>/.</include> </includes> <excludes> <exclude>java2html.jar</exclude> </excludes> </fileset> </filesets> <failOnError>false</failOnError> </configuration> </execution> </executions> </plugin>
When running from maven the provided solution doesn't work. Is there any solution?