Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Java Developer Kit (JDK)

You will need a JDK 56.0+ (J2SE Java SE 1.56.0+) or compatible JDK to build Apache Geronimo. It is recommended you use SUN's implementation, or something compatible like Apples implementation. Other JDK vendors implementations may work, but use at your own risk.

...

To execute the build process you need to have Apache Maven version 2.02.91 (or newer) installed.

To check if your installation is working and you have the required minimum version run:

...

No Format
Maven version: 2.02.91

If you have an incompatible version the server build will probably fail with a message complaining (wink)

...

Tip
titleWindows Tip

Windows users are strongly encouraged to change the M2 local repository (the place where dependencies are downloaded) to a shorter path with no spaces, e.g. C:\.m2.

Using a longer path may cause the build (and Geronimo itself) to behave very strangely when it hits the 260 char character limit for filenames on Windows.

In order to change the m2 local repository go to %USERPROFILE%\.m2 and edit or create settings.xml file to contain the following content:

Code Block
xml
xml
<?xml version="1.0"?>
<settings>
    <localRepository>C:\.m2</localRepository>
</settings>

...

Tip
titleWindows Tip

Windows users are strongly encouraged to checkout Geronimo into c:\g.

Using a longer path may cause the build (and Geronimo itself) to behave very strangely when it hits the 260 char limit for filenames on Windows.

Starting from 2.2, you You can also use Git mirrors to checkout Geronimo source code, and make sure you have a Git client installed before using the following command:

...

No Format
mvn -Pdefault,makeeclipse

Troubleshooting

If you're building the 2.0 branch and the build fails because it can't find an xbean jar (for example org.apache.xbean:xbean-naming:jar:3.2-r579367), then add the

No Format

http://svn.apache.org/repos/asf/openejb/repo/

...