Synchronizing releasing.md

Change-Id: Ie863343d1371eb605114aa1906e279319a39c2be
1 file changed
tree: c849529d653b42cb11d14084d169e7b5abdbd35e
  1. archive-template/
  2. packages/
  3. releng/
  4. .gitignore
  5. .project
  6. CONTRIBUTING.md
  7. LastRecorded+1.txt
  8. pom.xml
  9. README.md
  10. RELEASING.md
README.md

The EPP Build

The Eclipse Packaging Project (EPP) provides the download packages based on the content of the yearly Simultaneous Release. The download packages are provided from www.eclipse.org/downloads/eclipse-packages/.

Creating and releasing packages

Please see RELEASING.md in this repo for instructions on the release process for the EPP project.

Build a Package Locally

It's easy to run the build locally! All you need is Maven and then you need to tell Maven which package(s) to build via profile. As an example, the following command from the root of the Git repository builds the RCP/RAP package against the Simultaneous Release staging p2 repository:

mvn clean verify -Pepp.package.rcp

This build creates output in two places:

  1. tar.gz/zip/dmg archives with the packages in archive/ and
  2. a p2 repository with the EPP artifacts in archive/repository/.

Windows users

In the past the last step in the build process used to fail. For further details see bug 426416. If that happens again

mvn clean package -P"epp.package.rcp"

Available Profiles

Each package uses its own profile:

  • epp.package.committers
  • epp.package.cpp
  • epp.package.embedcpp
  • epp.package.dsl
  • epp.package.java
  • epp.package.jee
  • epp.package.modeling
  • epp.package.parallel
  • epp.package.php
  • epp.package.rcp
  • epp.package.scout

macOS dmg files can only be created within the Eclipse Foundation network. To enable creating dmg files enable the eclipse-package-dmg profile. Without eclipse-package-dmg enabled, the .tar.gz for macOS will be created regardless.

With the signing profiles enabled, the build artifacts (bundles, features) and the Windows and macOS executables are signed. This is done by using the Eclipse Foundation internal signing service and can be activated only if the build is running there.

  • eclipse-sign-jar profile enables signing of the EPP bundles and jar files
  • eclipse-sign-mac profile enables usage of macOS signing service
  • eclipse-sign-dmg profile enables signing of the DMG files for the macOS platform (the eclipse-package-dmg needs to be enabled too!)
  • eclipse-sign-windows profile enables usage of Windows signing service

Additional Configuration Possibilities

By default, the EPP build uses the content of the Eclipse Simultaneous Release Staging repository at http://download.eclipse.org/staging/2020-03/ as input. Sometimes it is desired to build against another release (e.g. a different milestone), or against a local mirror of this repository. This can be achieved by setting the Java property eclipse.simultaneous.release.repositoryto another URL. As an example, by adding the following argument to the Maven command line, the EPP build will read its input from the composite Eclipse 2020-03 repository:

-Declipse.simultaneous.release.repository="http://download.eclipse.org/releases/2020-03"