组件打包常用工具-proguard-maven-plugin等

 1.proguard-maven-plugin


                com.github.wvengen
                proguard-maven-plugin
                2.0.13
                
                    
                        package
                        
                            proguard
                        
                    
                
                
                    true
                    pg
                    
                     
                        
                         
                           
                         
                        
                        
 
                        
                        
 
                        
 
                        
                         
                        
 
                        
                        
                        
 
                        
                        
 
                        
                        
 
                        
                        
 
                        
                        
 
                    
                    ${project.build.finalName}-pg
                    
                        ${java.home}/lib/rt.jar
                    
 
                
            

2. maven-shade-plugin


        

             
 

3.maven-Assembly-plugin


      
           

4.onejar-maven-plugin


        

 

 5.mvaen-jar-plugin和 maven-dependency-plugin

	    

			
				org.apache.maven.plugins
				maven-jar-plugin
				
				  
					**/log4j.properties
				  
				  
				  	
				  	false
				    
						true
						com.lwf.test.TestClass
						lib/
				    
				  
				
			
			
				org.apache.maven.plugins
				maven-dependency-plugin
				2.5.1
				
				  
					copy-dependencies
					package
					
						copy-dependencies
					
					
					 
					  runtime
					  ${project.build.directory}/lib/
					
				  
				
			      
			 
			 
			 
                com.github.wvengen
                proguard-maven-plugin
                2.0.13
                
                    
                        package
                        
                            proguard
                        
                    
                
                
                    true
                    pg
                    
                     
                        
                         
                           
                         
                        
                        
 
                        
                        
 
                        
 
                        
                         
                        
 
                        
                        
                        
 
                        
                        
 
                        
                        
 
                        
                        
 
                        
                        
 
                    
                    ${project.build.finalName}-pg
                    
                        ${java.home}/lib/rt.jar
                    
 
                
            
        
    

 

你可能感兴趣的:(Java模块,maven,java)