| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (c) 2012 Eclipse Foundation. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Distribution License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/org/documents/edl-v10.php |
| |
| Contributors: |
| Igor Fedorenko - initial implementation |
| Lars Vogel - Adjustments for e4 tools |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>org.eclipse.e4.releng</groupId> |
| <artifactId>eclipse-parent</artifactId> |
| <version>0.14.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <properties> |
| <tycho.version>0.17.0</tycho.version> |
| <tycho-extras.version>0.17.0</tycho-extras.version> |
| |
| <orbit-repo.url>http://download.eclipse.org/tools/orbit/downloads/drops/R20130118183705/repository</orbit-repo.url> |
| <jetty-repo.url>http://www.eclipse.org/external/jetty/updates/jetty-bundles-8.x/8.1.3.v20120522/</jetty-repo.url> |
| <ecf-repo.url>http://download.eclipse.org/rt/ecf/3.5.6/site.p2</ecf-repo.url> |
| <emf-repo.url>http://download.eclipse.org/modeling/emf/emf/updates/2.9milestones/</emf-repo.url> |
| <aspectj-repo.url>http://download.eclipse.org/tools/ajdt/aspectj/update</aspectj-repo.url> |
| <egit-repo.url>http://download.eclipse.org/egit/updates</egit-repo.url> |
| <swtbot-repo.url>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site</swtbot-repo.url> |
| |
| <eclipse-updates-repo.url>http://download.eclipse.org/eclipse/updates/4.3milestones</eclipse-updates-repo.url> |
| <kepler-repo.url>http://download.eclipse.org/releases/kepler</kepler-repo.url> |
| <tycho-repo.url>https://oss.sonatype.org/content/groups/public/</tycho-repo.url> |
| <cbi-repo.url>https://repo.eclipse.org/content/groups/cbi/</cbi-repo.url> |
| </properties> |
| |
| <repositories> |
| <repository> |
| <id>eclipse-updates</id> |
| <url>${eclipse-updates-repo.url}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>kepler</id> |
| <url>${kepler-repo.url}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>orbit</id> |
| <url>${orbit-repo.url}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>ecf</id> |
| <url>${ecf-repo.url}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>jetty</id> |
| <url>${jetty-repo.url}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>emf</id> |
| <url>${emf-repo.url}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>egit</id> |
| <url>${egit-repo.url}</url> |
| <layout>p2</layout> |
| </repository> |
| <repository> |
| <id>swtbot</id> |
| <url>${swtbot-repo.url}</url> |
| <layout>p2</layout> |
| </repository> |
| </repositories> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>tycho</id> |
| <url>${tycho-repo.url}</url> |
| <releases><enabled>false</enabled></releases> |
| <snapshots><enabled>true</enabled></snapshots> |
| </pluginRepository> |
| <pluginRepository> |
| <id>cbi-plugins</id> |
| <url>${cbi-repo.url}</url> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-maven-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <extensions>true</extensions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <configuration> |
| <environments> |
| <environment> |
| <os>linux</os> |
| <ws>gtk</ws> |
| <arch>x86</arch> |
| </environment> |
| <environment> |
| <os>linux</os> |
| <ws>gtk</ws> |
| <arch>x86_64</arch> |
| </environment> |
| <environment> |
| <os>win32</os> |
| <ws>win32</ws> |
| <arch>x86</arch> |
| </environment> |
| <environment> |
| <os>win32</os> |
| <ws>win32</ws> |
| <arch>x86_64</arch> |
| </environment> |
| <environment> |
| <os>macosx</os> |
| <ws>cocoa</ws> |
| <arch>x86_64</arch> |
| </environment> |
| </environments> |
| <!-- example 3: work around Equinox bug 348045 --> |
| <filters> |
| <filter> |
| <type>p2-installable-unit</type> |
| <id>org.eclipse.equinox.servletbridge.extensionbundle</id> |
| <removeAll/> |
| </filter> |
| </filters> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>plugin-source</id> |
| <goals> |
| <goal>plugin-source</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <version>${tycho.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-compiler-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <compilerArguments> |
| <inlineJSR/> |
| <enableJavadoc/> |
| <encoding>ISO-8859-1</encoding> |
| </compilerArguments> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-packaging-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-buildtimestamp-jgit</artifactId> |
| <version>${tycho-extras.version}</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <strictBinIncludes>false</strictBinIncludes> |
| <format>'v'yyyyMMdd-HHmm</format> |
| <timestampProvider>jgit</timestampProvider> |
| <!--jgit.ignore> |
| pom.xml |
| </jgit.ignore--> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-surefire-plugin</artifactId> |
| <version>${tycho.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-source-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <strictSrcIncludes>false</strictSrcIncludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-director-plugin</artifactId> |
| <version>${tycho.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-repository-plugin</artifactId> |
| <version>${tycho.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-source-feature-plugin</artifactId> |
| <version>${tycho-extras.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-custom-bundle-plugin</artifactId> |
| <version>${tycho-extras.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <baselineMode>warn</baselineMode> |
| <baselineReplace>none</baselineReplace> |
| <baselineRepositories> |
| <repository> |
| <url>http://download.eclipse.org/e4/updates/0.13-I-builds</url> |
| </repository> |
| </baselineRepositories> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>eclipse-sign</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <includePackedArtifacts>true</includePackedArtifacts> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-pack200a-plugin</artifactId> |
| <version>${tycho-extras.version}</version> |
| <executions> |
| <execution> |
| <id>pack200-normalize</id> |
| <goals> |
| <goal>normalize</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.cbi.maven.plugins</groupId> |
| <artifactId>eclipse-jarsigner-plugin</artifactId> |
| <version>1.0.2</version> |
| <executions> |
| <execution> |
| <id>sign</id> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-pack200b-plugin</artifactId> |
| <version>${tycho-extras.version}</version> |
| <executions> |
| <execution> |
| <id>pack200-pack</id> |
| <goals> |
| <goal>pack</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <executions> |
| <execution> |
| <id>p2-metadata</id> |
| <goals> |
| <goal>p2-metadata</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| <configuration> |
| <defaultP2Metadata>false</defaultP2Metadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>eclipse-pack</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <includePackedArtifacts>true</includePackedArtifacts> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-pack200a-plugin</artifactId> |
| <version>${tycho-extras.version}</version> |
| <executions> |
| <execution> |
| <id>pack200-normalize</id> |
| <goals> |
| <goal>normalize</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-pack200b-plugin</artifactId> |
| <version>${tycho-extras.version}</version> |
| <executions> |
| <execution> |
| <id>pack200-pack</id> |
| <goals> |
| <goal>pack</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <executions> |
| <execution> |
| <id>p2-metadata</id> |
| <goals> |
| <goal>p2-metadata</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| <configuration> |
| <defaultP2Metadata>false</defaultP2Metadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>bree-libs</id> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-compiler-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <!-- |
| this tells Tycho to use JRE libraries that match bundle runtime execution environment |
| http://wiki.eclipse.org/Tycho/Release_Notes/0.14 |
| TODO provide CBI-specific wiki that explains how to setup BREE libraries and toolchain.xml |
| --> |
| <useJDK>BREE</useJDK> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| </profile> |
| </profiles> |
| </project> |