SpringBoot mvn 打包 jar 配置

注意:maven版本3.0.5 


		
		    
		        org.apache.maven.plugins
		        maven-compiler-plugin
		        
		            1.8
		            1.8
		            
		            
		            	${project.basedir}/src/main/webapp/WEB-INF/lib
		            
		        
		    
		    
		    
		        org.apache.maven.plugins
		        maven-surefire-plugin
		        
		          
		          true
		        
		    
		    
		    
		        org.springframework.boot
		        spring-boot-maven-plugin
		        
		        1.4.2.RELEASE
		        
		        
        			com.zit.Application
    			
		    
		
		  
              
              
                  
                src/main/webapp  
                  
                META-INF/resources  
                  
                    **/**  
                  
            
            
              
                src/main/webapp/WEB-INF/lib
                BOOT-INF/lib
                  
                    **/**  
                  
                false  
            
              
                src/main/resources  
                  
                    **/**  
                  
                false  
              
         
	

 

你可能感兴趣的:(Maven)