Difference between revisions of "Honeycomb/Releases/1609/Setting Up Your Dev Environment"
From fd.io
< Honeycomb | Releases/1609
(→Obtain the honeycomb source code) |
|||
Line 118: | Line 118: | ||
git clone git clone ssh://hagbard@gerrit.fd.io:29418/honeycomb.git | git clone git clone ssh://hagbard@gerrit.fd.io:29418/honeycomb.git | ||
</pre> | </pre> | ||
+ | |||
+ | Finally, because there are some infrastructure bits still being worked out, the initial patch | ||
+ | |||
+ | https://gerrit.fd.io/r/#/c/112/ | ||
+ | |||
+ | Needs to be used. | ||
+ | |||
+ | This can be accomplished with | ||
+ | |||
+ | <pre> | ||
+ | git review -d 112 | ||
+ | </pre> | ||
+ | |||
+ | == Building Honeycomb == | ||
+ | |||
+ | <syntaxhighlight lang="bash"> | ||
+ | cd honeycomb/ | ||
+ | mvn clean install | ||
+ | </syntaxhightlight> |
Revision as of 13:42, 27 January 2016
Setup settings.xml
Put the following in your ~/.m2/settings.xml
<?xml version="1.0" encoding="UTF-8"?> <!-- vi: set et smarttab sw=2 tabstop=2: --> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <profiles> <profile> <id>fd.io-release</id> <repositories> <repository> <id>fd.io-mirror</id> <name>fd.io-mirror</name> <url>https://nexus.fd.io/content/groups/public/</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>fd.io-mirror</id> <name>fd.io-mirror</name> <url>https://nexus.fd.io/content/repositories/public/</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> <profile> <id>fd.io-snapshots</id> <repositories> <repository> <id>fd.io-snapshot</id> <name>fd.io-snapshot</name> <url>https://nexus.fd.io/content/repositories/fd.io.snapshot/</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>fd.io-snapshot</id> <name>fd.io-snapshot</name> <url>https://nexus.fd.io/content/repositories/fd.io.snapshot/</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> <profile> <id>opendaylight-snapshots</id> <repositories> <repository> <id>opendaylight-snapshot</id> <name>opendaylight-snapshot</name> <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>opendaylight-shapshot</id> <name>opendaylight-snapshot</name> <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> <activeProfiles> <activeProfile>fd.io-release</activeProfile> <activeProfile>fd.io-snapshots</activeProfile> <activeProfile>opendaylight-snapshots</activeProfile> </activeProfiles> </settings>
Obtain the honeycomb source code
Make sure you have registered your ssh key with gerrit.
git clone git clone ssh://hagbard@gerrit.fd.io:29418/honeycomb.git
Finally, because there are some infrastructure bits still being worked out, the initial patch
https://gerrit.fd.io/r/#/c/112/
Needs to be used.
This can be accomplished with
git review -d 112
Building Honeycomb
cd honeycomb/ mvn clean install </syntaxhightlight>