...
This guide is intended to cover how to build the latest server/trunk
, though other newer branches should also follow similar instructions. Server trees that use the same basic build tooling include:
...
branches/2.2
. Refer to Building Apache Geronimo in the Development documents for more information on building Geronimo, including this and other branches.
Prerequisites
Java Developer Kit (JDK)
...
To execute the build process you need to have Apache Maven version 2.0.9
(or newer) installed. Note that Geronimo 2.2.x does not build with Maven 3.0 or above.
To check if your installation is working and you have the required minimum version run:
...
If you have an incompatible version the server build will probably fail with a message complaining
Tip | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Add the following to your settings.xml for maven so that you can avoid the redirect (and hence avoid the bogus poms/jars) and get beyond compilation failure problem to build Geronimo using maven. See this message for more details.
|
Subversion
To fetch the source code for the server, you will need to have a Subversion client version 1.2 (or newer, 1.4 is recommended) installed.
...
No Format |
---|
svn co https://svn.apache.org/repos/asf/geronimo/server/trunk serverbranches/2.2 server22 |
Tip | ||
---|---|---|
| ||
If you are using Chinese system, please change your locale to en_US. Otherwise, the maven 2.0.7(or below) can't parse Chinese characters. |
...