By default the Gradle Ear plugin automatically generated the context-root element for each web module. The context-root appears to be the artifact name with the extension stripped off.
The problem with the default is that the context-root is going to change every time the version web module’s version changes. That’s not going to work for my needs and I would assume for others as well. We need to set a constant context-root regardless of the version on the artifact.
Is there some way to override the default value for the context-root?