欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/Agda, C++/Erlang/Lisp
Apache Maven
来自开放百科 - 灰狐
(版本间的差异)
小 (→图集) |
小 |
||
第37行: | 第37行: | ||
mvn clean dependency:copy-dependencies package | mvn clean dependency:copy-dependencies package | ||
mvn site | mvn site | ||
− | == | + | |
+ | ==子项目== | ||
*[[Continuum]] | *[[Continuum]] | ||
*[[Archiva]] | *[[Archiva]] | ||
*[[Maven Wagon]] | *[[Maven Wagon]] | ||
*[[Maven Doxia]] | *[[Maven Doxia]] | ||
+ | |||
+ | ==图书== | ||
+ | *[http://book.huihoo.com/maven-the-definitive-guide/ 《Maven权威指南》] | ||
+ | |||
==图集== | ==图集== | ||
<gallery widths=100px heights=100px perrow=6> | <gallery widths=100px heights=100px perrow=6> | ||
第55行: | 第60行: | ||
http://download.java.net/maven/1/ | http://download.java.net/maven/1/ | ||
*[https://code.google.com/p/maven-android-plugin/ Android Maven Plugin] | *[https://code.google.com/p/maven-android-plugin/ Android Maven Plugin] | ||
− | |||
[[category:apache]] | [[category:apache]] | ||
[[category:project management]] | [[category:project management]] | ||
[[category:build automation]] | [[category:build automation]] |
2014年12月15日 (一) 05:04的版本
您可以在Wikipedia上了解到此条目的英文信息 Apache Maven Thanks, Wikipedia. |
目录 |
安装指南
Debian
apt-get install openjdk-7-jdk apt-get install maven
通常
install Maven 2:
1) Unpack the archive where you would like to store the binaries, eg:
tar zxvf maven-2.0.tar.gz
or
unzip maven-2.0.zip
2) A directory called "maven-2.0" will be created.
3) Add the bin directory to your PATH, eg:
export PATH=/usr/local/maven-2.0/bin:$PATH
or
set PATH="c:\program files\maven-2.0\bin";%PATH%
4) Make sure JAVA_HOME is set to the location of your JDK
5) Run "mvn --version" to verify that it is correctly installed.
Creating a Project
mvn archetype:create -DgroupId=org.huihoo.app -DartifactId=my-app cd my-app mvn package java -cp target/my-app-1.0-SNAPSHOT.jar org.huihoo.app.App
Which will print the quintessential:
Hello World!
Running Maven Tools
mvn clean dependency:copy-dependencies package mvn site
子项目
图书
图集
链接
- The Central Repository
- A Maven 2 repository for hosting java.net projects libraries and dependencies: https://maven2-repository.dev.java.net/
http://download.java.net/maven/2/
- Java.net Maven Repository https://maven-repository.dev.java.net/
分享您的观点