F Carlsen created MWAR-470:
------------------------------
Summary: Support user property for packagingExcludes
Key: MWAR-470
URL: https://issues.apache.org/jira/browse/MWAR-470
Project: Maven WAR Plugin
Issue Type: Improvement
Affects Versions: 3.4.0
Reporter: F Carlsen
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)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)