Skip to content

Support attachMap and attachSeed independently of attach #288

Open
@maloewe-ona

Description

@maloewe-ona

Currently the parameters attachMap and attachSeed only have an effect if attach is set as well.
However, there might be cases where it would be useful to replace the final JAR file (i.e. attach=false), but still use attachMap=true to attach the mappings to make troubleshooting later easier.

Would it be possible to decouple these options so they are independent of attach?

Workaround

Set attach=true and appendClassifier=false, and then attachMap=true or attachSeed=true.

It appears this will then make the plugin use the same output name as the original JAR file, therefore replacing it and not additionally attaching the processed JAR.
But that feels rather hacky and I am not sure if that is officially supported usage of the plugin, since it defeats the purpose of attach=true.

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