问题描述:

We have a large enterprise web project that uses;

  • JDK 1.7
  • JSF & Primefaces
  • Spring Framework MVC 3.1.1
  • Several Web Service clients
  • Annotations (for spring rest services)

We want to obfuscate the builded WAR file before deploying it on the customer's side.

I have read several of tutorials and tried Proguard and JShrink but failed.

Proguard gives several warnings such as:

"Warning: class [WEB-INF/classes/web/util/XMLGregorianCalendarSerializer.class] unexpectedly contains class [web.util.XMLGregorianCalendarSerializer]"

and

Warning: there were 282 classes in incorrectly named files.

Note that I am using NetBeans IDE 7.2.1 any plug in for it are also welcome.

Any good tutorials or anyone can lead me?

相关阅读:
Top