用于上传到私服的maven的pom.xml

用于上传到私服的maven的pom.xml
maven上传jar的pom.xml:
<? xml version="1.0" encoding="UTF-8" ?>
< project >
    
< modelVersion > 4.0.0 </ modelVersion >
    
< groupId > com.asiainfo.mime4j </ groupId > <! - 存储位置 -- >
    
< artifactId > aimime4j </ artifactId > <! - 工程名 -- >
    
< name > aimime4j </ name >
    
< version > 1.0-SNAPSHOT </ version >
    
< url > http://localhost </ url > <! - 服务器 -- >

    
<! - 部署位置 -- >
    
< distributionManagement >
        
< repository >
            
< id > aicu-repository </ id >
            
< name > AICU Repository </ name >
            
< url > ftp://localhost/repository/ </ url >
        
</ repository >
    
</ distributionManagement >

    
< dependencies >
        
< dependency >
            
< groupId > junit </ groupId >
            
< artifactId > junit </ artifactId >
            
< version > 3.8.1 </ version >
            
< scope > test </ scope >
        
</ dependency >
        
< dependency >
            
< groupId > commons-logging </ groupId >
            
< artifactId > commons-logging </ artifactId >
            
< version > 1.1 </ version >
        
</ dependency >
        
< dependency >
            
< groupId > commons-io </ groupId >
            
< artifactId > commons-io </ artifactId >
            
< version > 1.3.1 </ version >
        
</ dependency >
    
</ dependencies >

  
<! - 需要的插件 -- >
    
< build >
        
< defaultGoal > install </ defaultGoal >
        
< plugins >
            
< plugin >
                
< artifactId > maven-compiler-plugin </ artifactId >
                
< version > 2.0.2 </ version >
                
< configuration >
                    
< source > 1.5 </ source >
                    
< target > 1.5 </ target >
                
</ configuration >
            
</ plugin >
        
</ plugins >
        
< extensions >
            
< extension >
                
< groupId > org.apache.maven.wagon </ groupId >
                
< artifactId > wagon-ftp </ artifactId >
                
< version > 1.0-alpha-6 </ version >
            
</ extension >
        
</ extensions >
    
</ build >
</ project >

--------------------

    WE准高手

你可能感兴趣的:(用于上传到私服的maven的pom.xml)