Introduction
In order to build the wireXN sources you must configure your Maven installation to access your local Eclipse installation -- this is required only for building the wireXN plugins for Eclipse.
Quick Setup
STEP 1/3 -- set Maven to use at least 256MB of RAM by adding the following to your environment variables: MAVEN_OPTS=-Xmx256M
STEP 2/3 -- copy the following into you local Maven settings file:
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<activeProfiles>
<activeProfile>eclipse</activeProfile>
</activeProfiles>
<profiles>
<profile>
<id>eclipse</id>
<properties>
<eclipse.home>path/to/eclipse</eclipse.home>
</properties>
</profile>
</profiles>
</settings>
Maven looks for this file in your user directory, usually under ~/.m2/settings.xml. If this file does not exist you should create it.
STEP 3/3 -- copy or symlink the Eclipse launcher from $ECLIPSE_HOME/plugins/org.eclipse.equinox.launcher_LAST_VERSION.jar to $ECLIPSE_HOME and rename it to startup.jar (where $ECLIPSE_HOME is your Eclipse installation directory; it should contain the eclipse.exe file).
The Rest of It
- See the source:trunk/src/config/maven/settings.xml
- See the Maven Settings Reference and the Maven Local Settings Model.
- Read Maven's User Documentation