You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Our assumption was that, the incremental obfuscation requires a single mapping file.
So all following maven modules and maven projects can respect the obfuscation done in previous modules/projects by reading the global mapping file.
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:
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.
The text was updated successfully, but these errors were encountered: