Skip to main content
Jump to: navigation, search

Equinox/p2/Build

< Equinox‎ | p2
Revision as of 11:45, 8 January 2015 by T-oberlies.posteo.de (Talk | contribs) (416676 document for external users; remove notes about the process of making the build possible)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Back to the top