Build from source files » History » Version 6
chin-yeh, 02/09/2012 04:51 PM
1 | 1 | chin-yeh | {{toc}} |
---|---|---|---|
2 | |||
3 | 3 | chin-yeh | h1. Build from source files |
4 | 4 | chin-yeh | |
5 | 5 | chin-yeh | *Required:* |
6 | * "Apache Maven":http://maven.apache.org/ |
||
7 | |||
8 | 4 | chin-yeh | This section describes how to build and deploy the following components to "Nexus":http://192.168.2.13:8081/nexus/index.html: |
9 | * [[Build from source files#Steps|mlm-union]] |
||
10 | 1 | chin-yeh | * [[Build from source files#Steps|ecosproxy]] |
11 | |||
12 | 5 | chin-yeh | > If build using <code>Eclipse</code>, refer to this link to setup the environment: |
13 | >> [[General Info:Setup Development Environment]] |
||
14 | 1 | chin-yeh | |
15 | h2. Steps |
||
16 | 5 | chin-yeh | |
17 | # checkout the following projects from the [[wiki#SCM|repository]]: |
||
18 | ** mlm-union |
||
19 | ** ecosproxy |
||
20 | # <code>cd</code> to the *mlm-union* folder |
||
21 | <pre> |
||
22 | $ cd mlm-union |
||
23 | </pre> |
||
24 | # execute the Maven goal, *clean* and *deploy* |
||
25 | <pre> |
||
26 | $ mvn clean deploy |
||
27 | </pre> |
||
28 | ** _You could skip the unit tests but it's strongly not recommended:_ |
||
29 | <pre>$ mvn -Dmaven.test.skip=true clean deploy</pre> |
||
30 | # if no error, continue to the following steps |
||
31 | # <code>cd</code> to the *ecosproxy* folder |
||
32 | <pre>$ cd ecosproxy</pre> |
||
33 | # execute the Maven goal, *clean* and *deploy* |
||
34 | <pre> |
||
35 | $ mvn clean deploy |
||
36 | </pre> |
||
37 | ** _You could skip the unit tests but it's strongly not recommended:_ |
||
38 | <pre>$ mvn -Dmaven.test.skip=true clean deploy</pre> |
||
39 | 6 | chin-yeh | # you may need to update [[Wiki#Latest-Stable-Version|Latest Stable Version]] section |
40 | 5 | chin-yeh | # done |