编译和打包
# 编译
mvn compile
# 打包
mvn package
以上命令会自动下载依赖文件、包和插件。
编译完成后,输出的结果默认会放在 target 目录下。
更新依赖包
需要更新依赖包版本只要修改[pom.xml](pom.xml)并修改版本号即可。
依赖包和插件的组名、包名和版本可以在以下仓库内找到:
- 中心maven仓库: http://search.maven.org/
- 或到下面列举的仓库列表中查找
其他仓库地址
公有仓库地址
- https://mirrors.tencent.com/nexus/repository/maven-public/
- http://maven.aliyun.com/nexus/#view-repositories
- http://mvnrepository.com/
- http://search.maven.org/
- http://repository.jboss.com/maven2/
- http://repository.sonatype.org/content/groups/public/
- http://mirrors.ibiblio.org/pub/mirrors/maven2/org/acegisecurity/
私有仓库地址
其他maven功能
批量转表工具和其他工具的开发文档请参见该项目的主页。