blob: 207e7a70a673c6655cc424d17e6712a13d51718e [file] [log] [blame]
<?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>
<parent>
<groupId>org.eclipse.rap</groupId>
<artifactId>org.eclipse.rap.runtime-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.rap.mars.runtime-aggregation-repository</artifactId>
<packaging>eclipse-repository</packaging>
<version>3.0.0-SNAPSHOT</version>
<repositories>
<repository>
<id>base-platform-repository</id>
<layout>p2</layout>
<url>${base-platform-mars-repository}</url>
</repository>
<repository>
<id>base-platform-repository-with-ICU-bundle</id>
<layout>p2</layout>
<!-- This repository is required in order to pull in the base ICU bundle -->
<url>http://build.eclipse.org/rt/rap/base-platforms/3.0/RC4/runtime-base</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<repositoryName>RAP Runtime</repositoryName>
<includeAllDependencies>false</includeAllDependencies>
<compress>true</compress>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>mirror</goal>
</goals>
</execution>
</executions>
<configuration>
<source>
<repository>
<url>${base-platform-mars-repository}</url>
<layout>p2</layout>
</repository>
</source>
<ius>
<iu>
<id>a.jre.javase</id>
</iu>
</ius>
<includeOptional>false</includeOptional>
<includeNonGreedy>false</includeNonGreedy>
<latestVersionOnly>true</latestVersionOnly>
<mirrorMetadataOnly>true</mirrorMetadataOnly>
</configuration>
</plugin>
<!-- include legal files in zip -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>copy</id>
<phase>prepare-package</phase>
<configuration>
<target name="copy legal files">
<copy todir="${project.build.directory}/repository">
<fileset dir="${project.basedir}/../legal"/>
</copy>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>