[ https://issues.apache.org/jira/browse/MWAR-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Slawomir Jaranowski closed MWAR-470. ------------------------------------ Assignee: Slawomir Jaranowski Resolution: Fixed > 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 > Assignee: Slawomir Jaranowski > Priority: Major > Fix For: next-release > > > 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)