2014-02-10 10:52:13 -05:00
|
|
|
# Maven
|
2010-11-15 17:29:30 -05:00
|
|
|
|
2015-01-03 09:34:00 -05:00
|
|
|
Maven is available under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)
|
2010-11-15 17:29:30 -05:00
|
|
|
|
2014-02-10 10:52:13 -05:00
|
|
|
- [Maven Issue Tracker](http://jira.codehaus.org/browse/MNG)
|
|
|
|
- [Maven Wiki](https://cwiki.apache.org/confluence/display/MAVEN/Index)
|
|
|
|
- [Building Maven](http://maven.apache.org/guides/development/guide-building-m2.html)
|
2015-01-03 09:34:00 -05:00
|
|
|
- [Running Core ITs](http://maven.apache.org/core-its/core-it-suite/)
|
2014-02-10 10:52:13 -05:00
|
|
|
|
|
|
|
## Bootstrapping Basics
|
|
|
|
|
2015-01-03 09:34:00 -05:00
|
|
|
If you want to bootstrap Maven, you'll need:
|
2014-02-10 10:52:13 -05:00
|
|
|
|
|
|
|
- Java 1.6+
|
|
|
|
- Ant 1.8 or later
|
|
|
|
|
|
|
|
First, give Ant a location into which the completed Maven distro should be installed:
|
|
|
|
|
|
|
|
```
|
2015-01-03 09:34:00 -05:00
|
|
|
export M2_HOME=$HOME/apps/maven/apache-maven-3.2.x-SNAPSHOT
|
2014-02-10 10:52:13 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
Then, run Ant:
|
|
|
|
|
|
|
|
```
|
|
|
|
ant
|
|
|
|
```
|
|
|
|
|
|
|
|
Once the build completes, you should have a new Maven distro ready to roll in your $M2_HOME directory!
|