Explode WAR instead of working on exploded WAR directory for Maven
See original GitHub issueExplode the WAR file rather than using this directory. The contents of the final WAR may be different from this directory (it’s possible to include or exclude files when packaging a WAR. Also the exploded WAR directory is configurable with <webappDirectory>
and may not be at build.getFinalName()
.
https://github.com/GoogleContainerTools/jib/pull/1068/files#r221696396
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:7 (4 by maintainers)
Top Results From Across the Web
war:exploded - Apache Maven WAR Plugin
Directory to unpack dependent WARs into if needed. Default value is: ${project.build.directory}/war/work . Optional Parameters ...
Read more >How to get Maven to run war:exploded but not war:war
The solution is quite simple. You need to override the default execution of the war plugin to disable it and add your own...
Read more >Classes/resources are not copied to WEB-INF war exploded ...
I'm a beginner in maven project and web application. I didn't know how put my .class files into my war exploded. It was:...
Read more >Beware of mvn war:inplace - Command Line Fanatic
I looked at the target directory. It was new. Brand new. I checked the new .war, exploding and decompiling the contents again. It...
Read more >Using exploded deployments and CLI attachments - WildFly
Deploy an artifact and explode it. Creating an exploded deployment from scratch. Let's create a from_scratch.war deployment: [standalone@ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@edrandall @joelhandwell @Daiki-Kawanuma @cessien @kurczynski @CauchyPeano We’ve released v1.7.0 with this fix!
The following maven ‘hack’ seems to provide a crude workaround, by extracting the META-INF/ from the war into the working dir after packaging but before the Jib goal executes: