Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.3.0
-
None
-
None
Description
My project generates wsdls using the jaxws-maven-plugin which puts the generated wsdls in ${project.build.directory}/${project.build.finalName}/WEB-INF/wsdls so that they are packaged up in the war file. Then I have a client jar that copies those wsdls out of the war file using the maven-dependency-plugin and generates a client from the wsdls using the jaxws-maven-plugin.
This all works fine using 3.2.3 of the maven-war-plugin. However, after upgrading to 3.3.0 my project fails to build because the wsdls are no longer preserved. It seems that they are being deleted by the maven-war-plugin.
I created an example project on Github which recreates the problem. The master branch is using 3.2.3 and the maven-war-plugin-3.3.0 branch is using 3.3.0. You can find more details in the readme file of the example project:
https://github.com/klieber/maven-war-plugin-bug
I also suspect that MWAR-427 is the change that introduced this bug.
Please let me know if there is anymore information I can provide. Thanks!
Attachments
Issue Links
- causes
-
MRESOURCES-260 copy-resources goal copies directories, but not files
- Closed
- is caused by
-
MWAR-427 WAR plugin includes the same artifact twice if used without clean
- Closed
- is duplicated by
-
MWAR-435 Maven WAR Plugin 3.3.0 with minify-maven-plugin does not work correctly anymore
- Closed
-
MWAR-437 WAR plugin erases files written by YUICompressor plugin
- Closed
- is related to
-
MWAR-439 WAR Plugin 3.3.1 hits NPE when exploding if maven session start time is null
- Closed
-
MWAR-441 Allow "outdatedCheckPath" parameter to be set to cover web app dir root (everything in the web app directory)
- Closed