Skip to content

[MWAR-470] Support user property for packagingExcludes #535

@jira-importer

Description

@jira-importer

F Carlsen opened MWAR-470 and commented

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) 


Affects: 3.4.0

Remote Links:

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions