Rev | Line | |
---|
[6785] | 1 | Building Apache Mime4j |
---|
| 2 | ====================== |
---|
| 3 | |
---|
| 4 | (1) Requisites |
---|
| 5 | -------------- |
---|
| 6 | Mime4j utilizes Maven 2 as a distribution management and packaging tool. Version 2.2.1 |
---|
| 7 | or above is recommended. |
---|
| 8 | |
---|
| 9 | JDK 1.5 or above is required in order to compile Mime4j. |
---|
| 10 | |
---|
| 11 | Maven installation and configuration instructions can be found here: |
---|
| 12 | |
---|
| 13 | http://maven.apache.org/run-maven/index.html |
---|
| 14 | |
---|
| 15 | (2) Executing test cases |
---|
| 16 | |
---|
| 17 | Execute the following command in order to compile and test the components: |
---|
| 18 | |
---|
| 19 | mvn test |
---|
| 20 | |
---|
| 21 | (3) Building packages |
---|
| 22 | |
---|
| 23 | Execute the following command in order to build JAR and assembly packages: |
---|
| 24 | |
---|
| 25 | mvn package |
---|
| 26 | |
---|
| 27 | Redistributables will be placed in the target folder. |
---|
| 28 | |
---|
| 29 | (4) Building documentation |
---|
| 30 | |
---|
| 31 | Execute the following command in order to generate javadoc: |
---|
| 32 | |
---|
| 33 | mvn javadoc:javadoc |
---|
| 34 | |
---|
| 35 | (5) Building project web site |
---|
| 36 | |
---|
| 37 | Execute the following command in order to generate the project web site: |
---|
| 38 | |
---|
| 39 | mvn site |
---|
Note: See
TracBrowser
for help on using the repository browser.