blob: 87b2a3e9f67f7cafb51053b721ab509d3b2f9016 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2011, 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>
<name>RAP Tools build</name>
<groupId>org.eclipse.rap</groupId>
<artifactId>org.eclipse.rap.tools-parent</artifactId>
<version>2.2.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<tycho-version>0.18.1</tycho-version>
<tycho-extras-version>${tycho-version}</tycho-extras-version>
<signing-plugin-version>1.0.4</signing-plugin-version>
<base-platform>4.3/R-4.3.1-201309111000/</base-platform>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/rap/org.eclipse.rap.tools.git</tycho.scmUrl>
<!-- disabled due to bug 393977
<baseline-repository>http://download.eclipse.org/rt/rap/nightly/tooling/</baseline-repository>
-->
</properties>
<prerequisites>
<maven>3.0</maven>
</prerequisites>
<modules>
<!-- The feature -->
<module>../../features/org.eclipse.rap.tools.feature</module>
<module>../../features/org.eclipse.rap.tools.transition.feature</module>
<!-- The p2 repository -->
<module>repository</module>
<!-- The bundles -->
<module>../../bundles/org.eclipse.rap.doc</module>
<module>../../bundles/org.eclipse.rap.tools.intro</module>
<module>../../bundles/org.eclipse.rap.tools.templates</module>
<module>../../bundles/org.eclipse.rap.tools.launch</module>
<module>../../bundles/org.eclipse.rap.tools.launch.rwt</module>
<!-- tests -->
<!--
<module>../../tests/org.eclipse.rap.tools.tests</module>
-->
<module>../../tests/org.eclipse.rap.tools.launch.rwt.test</module>
</modules>
<repositories>
<repository>
<id>base-platform-repository</id>
<layout>p2</layout>
<url>http://download.eclipse.org/eclipse/updates/${base-platform}</url>
</repository>
<repository>
<id>jetty-repository</id>
<layout>p2</layout>
<url>http://download.eclipse.org/jetty/updates/jetty-bundles-8.x/8.1.3.v20120522/</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>
<dependency>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-sourceref-jgit</artifactId>
<version>${tycho-extras-version}</version>
</dependency>
</dependencies>
<configuration>
<timestampProvider>jgit</timestampProvider>
<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>
<!-- disabled due to bug 393977
<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.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<useUIHarness>true</useUIHarness>
<appArgLine>-nl en -consoleLog</appArgLine>
<includes>
<include>**/*Test.*</include>
</includes>
<runOrder>random</runOrder>
<dependency>
<type>eclipse-feature</type>
<artifactId>org.eclipse.rcp</artifactId>
<version>0.0.0</version>
</dependency>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>pack-and-sign</id>
<activation>
<property>
<name>sign</name>
<value>true</value>
</property>
</activation>
<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>
</project>