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
I have an Eclipse 4 plug-in project, cause there is a feature module which would be packaged into a jar by Maven Tycho. Meanwhile there are also other modules going to be packaged as jars, such as plugins and fragments.
But when I add the proguard-maven-plugin and execute maven packaging, everything works fine until the feature jar. It throws an error likes below, and I take many tries(add inFilter tag, exclusions tag, and so on) to solve it but failed.
So, can anybody tell me how to skip certain jar(s) when there are mutil jars in a project, or any way to solve the problem below is also okay.
Thanks a lot!
The text was updated successfully, but these errors were encountered:
You would need to show your project structure and how you define input jars.
Thanks for your reply.
The project structure is simple, which only includes two plug-in projects, one feature project and one product project. And I use Tycho to execute the building.
Now I have solved this problem by setting the <injar> to "classes" and the <phase> to "compile", however before this I respectively setted them to "${project.build.finalName}.jar" and "package". Although it was solved, but to be honest, I don't know the reason and how to set the correct values for the two fields.
I have an Eclipse 4 plug-in project, cause there is a feature module which would be packaged into a jar by Maven Tycho. Meanwhile there are also other modules going to be packaged as jars, such as plugins and fragments.
But when I add the proguard-maven-plugin and execute maven packaging, everything works fine until the feature jar. It throws an error likes below, and I take many tries(add inFilter tag, exclusions tag, and so on) to solve it but failed.
So, can anybody tell me how to skip certain jar(s) when there are mutil jars in a project, or any way to solve the problem below is also okay.
Thanks a lot!
The text was updated successfully, but these errors were encountered: