proguard-maven-plugin
proguard-maven-plugin copied to clipboard
Applied mapping file contains invalid entries
Hello everyone,
first of all, thank you for the proguard maven plugin :)
Unfortunately we have noticed a issue, when using the applyMappingFile option.
Here is our setup:
- a maven project with many modules, which are also executed parallel
- enabled incremental option
- applyMappingFile is set to "./globalMappingFile.txt" (so all modules write into that file)
- Plugin Version 2.5.1
While running the maven build, all modules executes the proguard-maven-plugin. The plugin executions write into the applied mapping file.
Rarely thewrite process of the proguard-maven-plugin results into a "broken" mapping file.
Entries like
com.my.company.class.LoremIpsumClass -> com.mycom.my.company.class.AnotherLoremIpsumClass -> com.my.company.class.AnotherLoremIpsumClass
appears in the mapping file.
My assumption is, that multiple plugin executions writes at the same time into the file. So maybe the write process needs to be synchronized.