We are trying to tie together a development environment where we want the user to a) have access to the war file content (html, web-inf, etc), and b) have a rich understanding of the dependencies that went into the war file.
We are currently looking at building two publications instead, one of the jar-file (which includes dependencies) and one of the war-file (without dependencies).
It’s not clear to me exactly what is “the right thing to do” with respect to war file POM’s, but since we saw the activiti-explorer war including dependencies, we wondered if that could also be easily solved with gradle.