Skip to content
Permalink
Browse files
Updated build instructions
git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@744683 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
ok2c committed Feb 15, 2009
1 parent 8d7d23e commit c762c5aca0f5466d92e2d57b0b145ebd0bcf3fc1
Showing 1 changed file with 41 additions and 5 deletions.
@@ -1,8 +1,44 @@
In order to build mime4j you need maven 2.0.6 or greater.
Building Apache Mime4j
======================

mvn -U -Plocal package
(1) Requisites
--------------
Mime4j utilizes Maven 2 as a distribution management and packaging tool. Version 2.0.7
or above is recommended.

-U runs a plugin update
-Plocal enable the local stage repository for dependencies.
JDK 1.5 or above is required in order to compile Mime4j.

Redistributables will be placed in the target folder.
Maven installation and configuration instructions can be found here:

http://maven.apache.org/run-maven/index.html

(2) Executing test cases

Execute the following command in order to compile and test the components:

mvn test

(3) Building packages

Execute the following command in order to build JAR and assembly packages:

mvn package

One can also utilize the 'local' profile to build JAR and assembly packages
in the off-line mode:

mvn -Plocal package

Redistributables will be placed in the target folder.

(4) Building documentation

Execute the following command in order to generate javadoc:

mvn javadoc:javadoc

(5) Building project web site

Execute the following command in order to generate the project web site:

mvn site

0 comments on commit c762c5a

Please sign in to comment.