Skip to content

Unable to exclude dependencies on repackaging war #15808

@rvijayarajan

Description

@rvijayarajan

I'm using spring-boot-maven-plugin to repackage my archive into a bootable and deployable WAR file. Doing so, I had to exclude few dependencies (transitive in my case). I tried excluding using exclusion configuration as mentioned in plugin documentation (https://docs.spring.io/spring-boot/docs/2.1.2.RELEASE/maven-plugin/examples/exclude-dependency.html). But it doesn't works. The dependencies I configure to exclude appears in the generated WAR file.

Plugin version: 2.1.2.RELEASE

Unfortunately I don't have a code snippet to post. I'll try to add later. Is this a known issue ?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions