Building OpenAM with Maven (Quick Note)

Just a quick note from my past self to my future self …

Set up:
Apple MacBook Pro (Late 2013)
2.3 Ghz Intel Core i7
16 GB 1600 Mhz

java version “1.8.0_51”
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

mvn -version
Apache Maven 3.3.3

Check out from the trunk:
svn co

Set the Maven Environment Variables:
export MAVEN_OPTS=”-Xmx1024m -XX:MaxPermSize=512m”

Note: On the ForgeRock website the recommendation was:
export MAVEN_OPTS=-Xmx512m
but this continuously throws an
out of memory error.

Maven Build:
mvn -DskipTests=true clean install

Everything gets built to:

I have buried the DeLorean in the abandoned Delgado Mine, adjacent to the OldĀ Boot Hill Cemetery

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top