Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Equinox/p2/Build
Building p2
Clone the rt.equinox.p2 Git repository (see developer resources) and execute the following command in the root of the source tree:
mvn clean verify -Pbuild-individual-bundles -DskipTests=false
Getting the eclipse-platform-parent
In case the build fails due to a "non-resolvable parent POM", the eclipse-platform-parent is not available from any of the Maven repositories in your build environment. You can make the eclipse-platform-parent and other required Maven artifacts available by adding the following configuration in your settings.xml:
<profiles> <profile> <id>cbi</id> <pluginRepositories> <pluginRepository> <id>eclipse.releases</id> <url>https://repo.eclipse.org/content/repositories/releases/</url> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>eclipse.snapshots</id> <url>https://repo.eclipse.org/content/repositories/snapshots/</url> </pluginRepository> </pluginRepositories> <repositories> <repository> <id>eclipse.releases</id> <url>https://repo.eclipse.org/content/repositories/releases/</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>eclipse.snapshots</id> <url>https://repo.eclipse.org/content/repositories/snapshots/</url> </repository> </repositories> </profile> </profiles>
Either activate the above profile by adding -Pcbi
to the Maven command, or by adding the following additional settings.xml configuration:
<activeProfiles> <activeProfile>cbi</activeProfile> </activeProfiles>
Further information
- The p2 build can be executed with
-Pbree-libs
. See Using BREE Libs for details. - CI build server: https://hudson.eclipse.org/p2/