Skip to content

includeDependencyInjar does not respect filters #388

Open
@Marcono1234

Description

@Marcono1234

Version

  • Maven plugin: 2.6.1
  • ProGuard (does not matter?)
    • proguard-base: 7.6.1
    • proguard-core: 9.1.7

Description

When using includeDependencyInjar: true, none of the class and resource filters are applied, in particular:

  • addManifest
  • addMavenDescriptor
  • inFilter

This will most likely always lead to ProGuard warnings due to duplicate META-INF/MANIFEST.MF, and the resulting JAR contains under META-INF/maven/ the Maven descriptors of dependencies.

This seems unintended?

If you want I can try creating a pull request for this.

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

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions