Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

TODO: Explain setting MAVEN_OPTS relative to NetBeans.

/Symptom

Platform

Options

Unix , (e.g. Solaris/Linux) or Windows

-Xmx512M -XX:MaxPermSize=128M

64 bit Unix, /Windows and/or out-of-memory or PermGen space errors

MAVEN_OPTS=-Xmx768M -XX:MaxPermSize=192M

64 bit Unix, /Windows with Java SE JDK 1.6 (update 14 or later)

-XX:MaxPermSize=128m -Xmx512M -XX:+UseCompressedOops

...

Here are the steps to build Apache CXF source with NetBeans:

  • Start NetBeans 7.0
  • Wiki MarkupOpen the Apache CXF project ( File->Open Project->\[Find and Select Parent CXF POM\] ). Click on the Open Project button.
  • Select Tools->Options->Miscellaneous Icon->Maven Tab. In the "Global Execution Options:" edit box, add desired options (if any) followed by clicking OK:

Profile option

Description

-Peverything

Builds everything including the distribution modules that are normally excluded and the sample projects.

-Pnochecks

Builds CXF without running Checkstyle

-Pfastinstall

Builds CXF without running Checkstyle or the tests

...