Project

General

Profile

Build from source files » History » Revision 5

Revision 4 (chin-yeh, 02/09/2012 11:04 AM) → Revision 5/6 (chin-yeh, 02/09/2012 11:32 AM)

{{toc}} 

 h1. Build from source files 

 *Required:*  
 * "Apache Maven":http://maven.apache.org/ 

 This section describes how to build and deploy the following components to "Nexus":http://192.168.2.13:8081/nexus/index.html: 
 * [[Build from source files#Steps|mlm-union]] 
 * [[Build from source files#Steps|ecosproxy]] 

 *Required:*  
 * "Apache Maven":http://maven.apache.org/ 

 _See also_: 
 > If build using <code>Eclipse</code>, refer to this link to setup the environment: 
 >> [[General Info:Setup Development Environment]] 

 h2. Steps 

 # checkout the following projects from the [[wiki#SCM|repository]]: 
 ** mlm-union 
 ** ecosproxy 
 # <code>cd</code> to the *mlm-union* folder 
 <pre> 
 $ cd mlm-union 
 </pre> 
 # execute the Maven goal, *clean* and *deploy* 
 <pre> 
 $ mvn clean deploy 
 </pre> 
 ** _You could skip the unit tests but it's strongly not recommended:_ 
 <pre>$ mvn -Dmaven.test.skip=true clean deploy</pre> 
 # if no error, continue to the following steps 
 # <code>cd</code> to the *ecosproxy* folder 
 <pre>$ cd ecosproxy</pre> 
 # execute the Maven goal, *clean* and *deploy* 
 <pre> 
 $ mvn clean deploy 
 </pre> 
 ** _You could skip the unit tests but it's strongly not recommended:_ 
 <pre>$ mvn -Dmaven.test.skip=true clean deploy</pre> 
 # done