java的使用proguard maven进行代码混淆

原文链接:http://www.ithao123.cn/content-10417251.html


maven的proguard插件配置:


            
                com.github.wvengen
                proguard-maven-plugin
                2.0.11
                
                    
                        
                        package
                        
                            
                            proguard
                        
                    
                
                
                    
                    true
                    
                    true
                    
                    pg
                    
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        

                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                    
                    ${project.build.finalName}-pg.jar
                    
                    
                        ${java.home}/lib/rt.jar
                    
                    
                    com/chinatelecom/gz/wy/zhukun/shiro_spring/**
                    
                    classes
                    
                    ${project.build.directory}
                
            


你可能感兴趣的:(java)