Maven Install 加入第三方依赖包

最终目录结构

irpc-client-0.0.1-SNAPSHOT/

config/

lib/

scripts/

irpc-client-0.0.1-SNAPSHOT.jar

start.sh

pom.xml

 


  4.0.0

  com.autohome
  irpc-client
  0.0.1-SNAPSHOT
  jar

  irpc
  http://maven.apache.org

  
    UTF-8
  

  
    
      junit
      junit
      3.8.1
      
      test
    
	
	
	    io.netty
	    netty-all
	    4.1.2.Final
	
  
  
		src/main/java
		
			
				org.apache.maven.plugins
				maven-compiler-plugin
				
					lib
					1.6
					1.6
					UTF-8
				
			
			  
	          
	            org.apache.maven.plugins  
	            maven-jar-plugin  
	            2.4  
	              
	              
	                  
	                  
	  
	                      
	                    false  
	  
	                      
	                      
	                          
	                        true  
	                          
	                        lib/  
	                          
	                        com.autohome.irpc.RpcClient  
	                      
	                  
	                  
	                  
	                    ${project.basedir}/xml/*  
	                  
	              
	          
	  
	          
	          
	            org.apache.maven.plugins  
	            maven-assembly-plugin  
	            2.4  
	              
	              
	                  
	                  
	                    src/main/assembly/package.xml  
	                  
	              
	              
	                  
	                    make-assembly  
	                    package  
	                      
	                        single  
	                      
	                  
	              
	        
		
  


package.xml

 

 

  
    bin  
      
      
        zip  
      
  
      
      
          
              
            false  
            lib  
            false  
          
      
  
      
          
          
            ${project.basedir}  
            /  
              
                README*  
                LICENSE*  
                NOTICE*  
              
          
          
          
          
            ${project.basedir}\src\main\config  
            config  
              
                *.xml  
                *.properties  
              
          
          
          
          
            ${project.build.scriptSourceDirectory}  
              
              
                startup.*  
              
          
  
          
          
            ${project.build.scriptSourceDirectory}  
              
              
                startup.*
              
          
          
          
          
            ${project.build.directory}  
              
              
                *.jar  
              
          
      

 

 

 

 

 

你可能感兴趣的:(maven)