Skip to content

minimizeJar too aggressive #255

Description

@RefuX

Affected version

3.6.0

Bug description

I'm shading the com.fasterxml.woodstox:woodstox-core:7.0.0 library.

META-INF/services/javax.xml.stream.XMLEventFactory:
my.shaded.wstx.stax.WstxEventFactory

META-INF/services/javax.xml.stream.XMLInputFactory:
my.shaded.wstx.stax.WstxInputFactory

META-INF/services/javax.xml.stream.XMLOutputFactory:
my.shaded.wstx.stax.WstxOutputFactory

With minimizeJar set to true, even though we have the above references to these Factory classes. The Factory classes are minimized out.

For now my work-around is to create a static reference to the Factories 😭

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions