Maven打包和Copy文件功能

项目结构:

Maven打包和Copy文件功能_第1张图片

POM.XML



    4.0.0

    com.scu.tgm.mavenpackge
    test
    1.1

    
        UTF-8
        
            
        
    

    
        
            
            
                maven-assembly-plugin
                
                    false
                    
                        src/main/resources/config/assembly.xml
                    
                
                
                    
                        package
                        
                            attached
                        
                    
                
            
            
            
                org.apache.maven.plugins
                maven-antrun-plugin
                
                    
                        package
                        
                            run
                        
                        
                            
                                
                                
                                
                            
                        
                    
                
            
        
    

    
        
            org.apache.poi
            poi
            3.7
            provided
        
        
            org.apache.poi
            poi-excelant
            3.14
            runtime
        
        
            org.apache.poi
            poi-ooxml
            3.7
        
    

assembly.xml



	1.0
	
		
		
		zip
	
	false
	
	
		
			src/main/resources/model-conf
			/conf
		
		
			src/main/resources/probe-conf
			/conf
		
	
	
	
		
			
			
			${project.build.directory}/${project.build.finalName}.jar
			/
			
			bie-ming-out.jar
		
		
			
			keystore
			/
			keystore-out
		
		
			
			pom.xml
			/
			pom-out.xml
		
	
	
	
		
		
			/
			
				
				com.scu.tgm.mavenpackge:test:jar
				
				org.apache.poi:poi:jar
			
		
		
		
			false
			/lib
			${artifact.artifactId}.${artifact.extension}
			false
			false
			
			runtime
		
	

 

你可能感兴趣的:(maven和tomcat)