jib
jib copied to clipboard
No war content at all in the generated image
Hi, I use jib-maven-plugin for many war/jar projects and find it really useful. But I came across a case of a war project where it doesn't work and I can't tell why. Everything seems to work as the image is correctly sent to the container registry. But the war content (exploded or not) is totally missing from the image (not even any class file). No log to tell what happened (even with -X and -Djib.serialize=true). The same occurs with another image or with jetty default image. And if I change the final name in the maven-war-plugin configuration (without packaging again), I get as expected an error saying that jib cannot find the war, so I guess jib can find the war and the error occurs later in the build. I use jib-maven-plugin 3.4.3 and maven-war-plugin 3.4.0. But it seemed to be the same with previous versions. Any idea ? How can I get more log otherwise ? Thanks Florent