Clone this repo:
  1. fe52f66 [501677]: Merge release/4.0.1 to master by Stephan Born · 3 weeks ago master
  2. 288203e [496718]: Merge release/4.0.0 to master by Stephan Born · 3 weeks ago
  3. e6c6c89 CRNT-41255: Merge IPP 9.2.0 M17 to SD 4.0.1 by Stephan Born · 3 months ago release/4.0.1 release/4.1.0 v4.0.1.20160914-0417-GA
  4. 1d82ba9 CRNT-39927: Integration tests fails for the Archetypes if Maven 3.3.x is used by Sven Rottstock · 4 months ago
  5. a644923 CRNT-39150: Add missing projects by Sven Rottstock · 5 months ago

Building Stardust

This quick guide is primarily written for a Windows environment. If you're using a Linux derivate or Mac OS then some commands, like setting an environment variable, may be different. In this case please consult the corresponding manuals of your operating system how you can get the same result.

Environment Variables

  1. Create a file setenv.bat in your checkout directory
  2. Fill the file with the following and replace the <...> with your system configuration:
   set M2_HOME=<YourMavenInstallDir>
   set JAVA_HOME=<YourJavaInstallDir>
   rem add M2_HOME/bin to your environment variable PATH
   set PATH=%M2_HOME%/bin;%PATH%
   set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m
   set product.home=<YourCheckoutDirectory>/product

We suggest Maven 3.0.5 and Java 1.6. Please install these tools from their official website if not already installed. If you're working on the development branch or any other branch which contains the commit f07b8c217 you can also use a higher version of Maven (up to 3.3.x) and Java 1.8 for the build.

Maven Settings

Since the commit f07b8c217 Stardust is using the Maven Toolchains feature. This means that you must provide a toolchains.xml file (either in your %USERPROFILE%/.m2 folder or you can pass this file to the mvn command via the -t parameter) to perform a build. The file can look as follows:

<?xml version="1.0" encoding="UTF8"?>
<toolchains xmlns="http://maven.apache.org/TOOLCHAINS/1.1.0" 
   xsi:schemaLocation="http://maven.apache.org/TOOLCHAINS/1.1.0 http://maven.apache.org/xsd/toolchains-1.1.0.xsd">

   <!-- JDK toolchains -->


Please adjust the jdkHome property to your environment in the toolchains.xml file.

First build step (Building non-OSGI bundles)

Open a cmd window in the folder and execute:

mvn clean install -f product\components-pom.xml -Dproduct.home=%product.home%

To skip test execution add the -DskipTests=true parameter to the mvn command. If the build ends with BUILD SUCCESSFUL you can continue with the second build step.

Second build step (Building OSGI bundles for Eclipse)


mvn clean package -f product\pom.xml -Dproduct.home=%product.home%

If the build ends with BUILD SUCCESSFUL you are done. Build results can be found under: /repository/org.eclipse.stardust.modeling.repository/target/

Note, that your local build has always the version 9.9.9-SNAPSHOT. For further documentation please go to the Stardust Build Wiki.