Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time



build status

Elexis 3 Base Repository

developer info

Created the pom.xml like this
mvn org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms -DgroupId=ch.elexis.base -Dversion=3.0.0-SNAPSHOT

Then I manually adjusted the pom.xml’x in the base folder and in the

  • There is handy tool to see InstallableUnit in P2-Repositories. See p2-browser.

It can be easily launched on the console using javaws

  • The p2 site contains only the artifacts built inside this repository.
  • No Eclipse RCP product is built, as we assume that the core product is distributed using the Elexis 3 core.


You need Java 1.8+. Maven >= 3.3. Then you should be able to generate a p2 update site using the following calls:

git clone
cd elexis-3-base
mvn -V -Dtycho.localArtifacts=ignore -Dmaven.test.skip=true clean verify


  • -V: emits version of Java, Maven, GUI-Toolkit, Architecture. Handy when you ask a problem
  • clean: Build everything from scratch
  • verify: Compile, test and build a P2-site including products. But does NOT install maven artefacts
  • -Dtycho.localArtifacts=ignore: Do not use any locally built maven artefacts
  • -Dmaven.test.skip=true: Skip unit tests (Use it only if you want to speed up the build)
  • Jenkins-CI job copIES the generated the *p2site\target\repository to a subdirectory reachable under
  • Add `-Dmaven.test.skip=true` if you want to skip running the unit tests.
  • -Drepo_variant=release as starting with branch 3.3 we begin to use the P2 named like and use branch names likes 3.3, 3.4

After the build use Help..Add New Software add a new ‘local’ p2 site pointing at the generated ch.elexis.base.p2site\target\repository directory and install the desired plugins


  • Decide how the release naming will work
    mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=3.0.1-SNAPSHOT gives me a NPE.

Here some pointers.

Javadoc & checkstyle

Use mvn --show-version clean -Dmaven.test.skip install -DaltDeploymentRepository=snapshot-repo::default::file:./snapshots -DforceContextQualifier=javadoc javadoc:javadoc checkstyle:checkstyle-aggregate to generate output:

  • target/site/apidocs/index.html
  • target/site/checkstyle-aggregate.html
You can’t perform that action at this time.