You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MWAR-470] Support user property for packagingExcludes #535
Supporting a user property for packagingExcludes (for example 'maven.war.packagingExcludes') would be most welcome. The use case is building multiple microservices in standardized CICD pipelines where some artifacts must be ignored because they are installed by the environment the final artefact will run in, but not to be ignored when building/testing/developing locally or perhaps in some build stages.
A common alternative would be to use an optional maven profile with the packagingExcludes, excluding the artefacts upon activation in the CICD pipeline, but for dozens of microservices this leads to a lot of duplication or inheritance of profiles (which is a bad practice, since they can't truly be overridden in maven)
Activity