| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (C) 2011, 2015 EclipseSource and others. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/epl-v10.html |
| |
| Contributors: |
| EclipseSource - initial implementation |
| --> |
| <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.rap</groupId> |
| <artifactId>org.eclipse.rap.runtime-parent</artifactId> |
| <version>3.0.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <properties> |
| <tycho-version>0.21.0</tycho-version> |
| <tycho-extras-version>${tycho-version}</tycho-extras-version> |
| <signing-plugin-version>1.1.1</signing-plugin-version> |
| <surefire-version>2.17</surefire-version> |
| <!-- junit version used by maven-surefire, must correspond with junit in the target platform --> |
| <junit-version>4.11</junit-version> |
| <base-platform-mars>4.5milestones/S-4.5RC4-201506032000/</base-platform-mars> |
| <base-platform-mars-repository>http://download.eclipse.org/eclipse/updates/${base-platform-mars}</base-platform-mars-repository> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <!-- disabled due to bug 393977 |
| <baseline-repository>http://download.eclipse.org/rt/rap/nightly/runtime/</baseline-repository> |
| --> |
| <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/rap/org.eclipse.rap.git</tycho.scmUrl> |
| </properties> |
| |
| <prerequisites> |
| <maven>3.0</maven> |
| </prerequisites> |
| |
| <repositories> |
| <repository> |
| <id>base-platform-repository</id> |
| <layout>p2</layout> |
| <!-- |
| TODO [rst]: Because of bug 348045, we cannot add the entire platform repository to the |
| target platform, try target definitions instead. |
| --> |
| <url>http://build.eclipse.org/rt/rap/base-platforms/3.0/RC4/runtime-base</url> |
| </repository> |
| <repository> |
| <id>extra-dependencies-repository</id> |
| <layout>p2</layout> |
| <url>http://build.eclipse.org/rt/rap/base-platforms/3.0/extra-dependencies</url> |
| </repository> |
| <repository> |
| <id>license-feature</id> |
| <url>http://download.eclipse.org/cbi/updates/license/</url> |
| <layout>p2</layout> |
| </repository> |
| </repositories> |
| |
| <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>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> |
| <dependency> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-sourceref-jgit</artifactId> |
| <version>${tycho-extras-version}</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <timestampProvider>jgit</timestampProvider> |
| <!-- generate new qualifier even if it is only the pom.xml that changed |
| <jgit.ignore> |
| pom.xml |
| </jgit.ignore> |
| --> |
| <format>yyyyMMdd-HHmm</format> |
| <sourceReferences> |
| <generate>true</generate> |
| </sourceReferences> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <configuration> |
| <baselineRepositories> |
| <repository> |
| <url>${baseline-repository}</url> |
| </repository> |
| </baselineRepositories> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-source-plugin</artifactId> |
| <version>${tycho-version}</version> |
| <executions> |
| <execution> |
| <id>plugin-source</id> |
| <goals> |
| <goal>plugin-source</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire-version}</version> |
| <executions> |
| <execution> |
| <id>test</id> |
| <phase>test</phase> |
| <configuration> |
| <testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory> |
| <includes> |
| <include>**/*_Test.java</include> |
| </includes> |
| <runOrder>random</runOrder> |
| </configuration> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- ensure Java 1.5 class library compatibility --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>animal-sniffer-maven-plugin</artifactId> |
| <version>1.9</version> |
| <configuration> |
| <signature> |
| <groupId>org.codehaus.mojo.signature</groupId> |
| <artifactId>java15</artifactId> |
| <version>1.0</version> |
| </signature> |
| </configuration> |
| <executions> |
| <execution> |
| <id>ensure-java-1.5-class-library</id> |
| <phase>test</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <profiles> |
| |
| <profile> |
| <id>eclipse-sign</id> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>eclipse-cbi</id> |
| <url>https://repo.eclipse.org/content/groups/cbi/</url> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <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>${signing-plugin-version}</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> |
| |
| </profiles> |
| |
| <!-- Required by maven-surefire --> |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit-version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </project> |