随笔 - 55  文章 - 187  trackbacks - 0
<2008年1月>
303112345
6789101112
13141516171819
20212223242526
272829303112
3456789

常用链接

留言簿(12)

随笔分类

随笔档案

groovy

搜索

  •  

最新评论

阅读排行榜

评论排行榜

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准高手
posted on 2008-01-29 17:23 大卫 阅读(2657) 评论(0)  编辑  收藏 所属分类: Java

只有注册用户登录后才能发表评论。


网站导航: