开发者

Use maven + yguard

Has anybody used maven and yguard for obfuscating jar files开发者_开发问答?How to do so?


I have done obfuscation using yguard in Maven. I have used the maven ant run plugin to run the ant tasks.

Steps:

  1. Refer to the build.xml in your pom.xml. Check documentation of Maven Antrun plugin. You have a lot of examples there.
  2. Create the build.xml with the rename elements as required by your project/jar. In case you want to refer to the Maven references like project information, define them as properties in your pom.xml before the ant task is executed

Please let me know if this answers your question

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜