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.
Currently the parameters
attachMapandattachSeedonly have an effect ifattachis 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 useattachMap=trueto 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=trueandappendClassifier=false, and thenattachMap=trueorattachSeed=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.