< prev index next >

./README.md

Print this page




 175 ```
 176 
 177 ## Building Mission Control from Source
 178 
 179 Prerequisites for building Mission Control:
 180 1. Install JDK 8, and make sure it is the JDK in use (java -version)
 181 
 182 2. Install Maven (version 3.3.x. or above)
 183 
 184 First get third party dependencies into a local p2 repo and make it available on localhost:
 185 
 186 ```bash
 187 cd missioncontrolfolder/releng/third-party
 188 mvn p2:site
 189 mvn jetty:run
 190 ```
 191 
 192 Then in another terminal (in the project root):
 193 
 194 ```bash



 195 mvn package
 196 ```
 197 Note that you may need to define proxy settings if you happen to be behind a firewall. In your ~/.m2/settings.xml file (if you have none, simply create one), add:
 198 
 199 ```xml
 200 <settings>
 201   <proxies>
 202     <proxy>
 203       <id>http-proxy</id>
 204       <active>true</active>
 205       <protocol>http</protocol>
 206       <host>my.proxy.example.org</host>
 207       <port>80</port>
 208       <nonProxyHosts>localhost|*.example.org</nonProxyHosts>
 209     </proxy>
 210     <proxy>
 211       <id>https-proxy</id>
 212       <active>true</active>
 213       <protocol>https</protocol>
 214       <host>my.proxy.example.org</host>




 175 ```
 176 
 177 ## Building Mission Control from Source
 178 
 179 Prerequisites for building Mission Control:
 180 1. Install JDK 8, and make sure it is the JDK in use (java -version)
 181 
 182 2. Install Maven (version 3.3.x. or above)
 183 
 184 First get third party dependencies into a local p2 repo and make it available on localhost:
 185 
 186 ```bash
 187 cd missioncontrolfolder/releng/third-party
 188 mvn p2:site
 189 mvn jetty:run
 190 ```
 191 
 192 Then in another terminal (in the project root):
 193 
 194 ```bash
 195 cd core
 196 mvn install
 197 cd ../
 198 mvn package
 199 ```
 200 Note that you may need to define proxy settings if you happen to be behind a firewall. In your ~/.m2/settings.xml file (if you have none, simply create one), add:
 201 
 202 ```xml
 203 <settings>
 204   <proxies>
 205     <proxy>
 206       <id>http-proxy</id>
 207       <active>true</active>
 208       <protocol>http</protocol>
 209       <host>my.proxy.example.org</host>
 210       <port>80</port>
 211       <nonProxyHosts>localhost|*.example.org</nonProxyHosts>
 212     </proxy>
 213     <proxy>
 214       <id>https-proxy</id>
 215       <active>true</active>
 216       <protocol>https</protocol>
 217       <host>my.proxy.example.org</host>


< prev index next >