Skip to content

Applied mapping file contains invalid entries #335

Open
@Denqu

Description

@Denqu

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.

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