...
Create two directories called ~/Downloads and ~/Applications. Download the Karaf 3.0.2 and Maven 3.2.3 binaries (the tar.gz versions of both) into ~/Downloads and extract it to ~/Applications. Keep the tar archives in ~/Downloads; we'll need that later.
Code Block | ||
---|---|---|
| ||
build:~$ cd; mkdir Downloads Applications build:~$ cd Downloads build:~$ wget http://download.nextag.com/apache/karaf/3.0.2/apache-karaf-3.0.2.tar.gz build:~$ wget https://archive.apache.org/dist/maven/maven-3/3.2.3/binaries/apache-maven-3.2.3-bin.tar.gz build:~$ tar -zxvf apache-karaf-3.0.2.tar.gz -C ../Applications/ build:~$ tar -zxvf apache-maven-3.2.3-bin.tar.gz -C ../Applications/ |
...
Code Block | ||
---|---|---|
| ||
mvn:org.onosproject/onos-features/1.1.0-SNAPSHOT/xml/features # (see note below to get proper version number) |
Note: If you clone the current code of branch onos-1.1, the onos version may differ from "1.1.0-SNAPSHOT" (may be "1.1.1-SNAPSHOT" or larger number). Please find the corrent version number of "onos" in the file ~/onos/pom.xml and replace the most current version string.
Now we are ready to build ONOS with Maven:
...