| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (C) 2012, 2013 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.incubator</groupId> |
| <artifactId>org.eclipse.rap.incubator-parent</artifactId> |
| <version>0.1.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <properties> |
| <tycho-version>0.18.0</tycho-version> |
| <tycho-extras-version>${tycho-version}</tycho-extras-version> |
| <signing-plugin-version>1.0.1</signing-plugin-version> |
| <surefire-version>2.15</surefire-version> |
| <junit-version>4.8.2</junit-version> |
| <mockito-version>1.9.5</mockito-version> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <rap-repository>http://download.eclipse.org/rt/rap/nightly/runtime/</rap-repository> |
| <rap-incubator-repository>http://download.eclipse.org/rt/rap/incubator/nightly/</rap-incubator-repository> |
| <baseline-repository>${rap-incubator-repository}</baseline-repository> |
| </properties> |
| |
| <prerequisites> |
| <maven>3.0</maven> |
| </prerequisites> |
| |
| <repositories> |
| <repository> |
| <id>rap-repository</id> |
| <layout>p2</layout> |
| <url>${rap-repository}</url> |
| </repository> |
| <repository> |
| <id>extra-dependencies-repository</id> |
| <layout>p2</layout> |
| <url>http://build.eclipse.org/rt/rap/base-platforms/2.2/extra-dependencies</url> |
| </repository> |
| <repository> |
| <id>orbit-dependencies-repository</id> |
| <layout>p2</layout> |
| <url>http://download.eclipse.org/tools/orbit/downloads/drops/R20130827064939/repository</url> |
| </repository> |
| <repository> |
| <id>fileupload-dependencies-repository</id> |
| <layout>p2</layout> |
| <url>http://build.eclipse.org/rt/rap/incubator/nightly/fileupload/</url> |
| </repository> |
| <repository> |
| <id>clientscripting-dependencies-repository</id> |
| <layout>p2</layout> |
| <url>http://build.eclipse.org/rt/rap/incubator/nightly/clientscripting/</url> |
| </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> |
| </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> |
| </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> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <version>${tycho-version}</version> |
| <configuration> |
| <dependency-resolution> |
| <optionalDependencies>ignore</optionalDependencies> |
| </dependency-resolution> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <profiles> |
| |
| <profile> |
| <id>eclipse-sign</id> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>m2e-cbi</id> |
| <url>http://download.eclipse.org/technology/m2e/maven/</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> |
| |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit-version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </project> |