Skip to content

maven-publish

Repackages the EMF artifacts of an existing release as Maven artifacts and optionally publishes them to Maven Central.

This job uses the CBI aggregator to materialize the p2 artifacts to deploy into a Maven-style repository. For publishing to OSSRH, some information is missing:

  1. The POM files are missing some required information.
  2. The required Javadoc jars need to be generated.

To complete the POM files, a small utility, pommod, is contained in the releng project in form of a Maven Java project. This tool is first built via Maven and is later used to modify the POM files.

The missing Javadocs are also automatically produced from the p2 source bundles by this job.

After these preparations for publishing are done:

  1. The POM files will have been enriched with the required information by the pommod utility.
  2. The jars including, sources and javadocs, will have been added to the local Maven repository

Finally, the shell script optionally deploys the jars, their sources, and their javadocs to OSSRH into a staging repository. After uploading, the new staging repository must be closed and then released.

Last Successful Artifacts