[e4] Create new RAP e4 p2 repository
Create a new separate p2 repository with all the content from the
standard RAP Runtime build *and* the newly included features from the
RAP e4 Incubator project after its move to the RAP Runtime project.
Change-Id: I51661f48c82bbd6d950252614fd4148b698bdf71
Signed-off-by: Markus Knauer <mknauer@eclipsesource.com>
diff --git a/pom.xml b/pom.xml
index 707228e..a645181 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,6 +77,7 @@
<module>features/org.eclipse.rap.e4.target.feature</module>
<!-- Repository projects -->
<module>releng/org.eclipse.rap.build/repository</module>
+ <module>releng/org.eclipse.rap.build/repository.e4</module>
<!-- Builder projects -->
<module>releng/org.eclipse.rap.clientbuilder</module>
</modules>
diff --git a/releng/org.eclipse.rap.build/repository.e4/category.xml b/releng/org.eclipse.rap.build/repository.e4/category.xml
new file mode 100644
index 0000000..cc97825
--- /dev/null
+++ b/releng/org.eclipse.rap.build/repository.e4/category.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2017 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
+-->
+<site>
+
+ <feature url="http://eclipse.org/rap"
+ id="org.eclipse.rap.e4.base.feature"
+ version="0.9.0.qualifier">
+ <category name="org.eclipse.rap.category"/>
+ </feature>
+
+ <feature url="http://eclipse.org/rap"
+ id="org.eclipse.rap.e4.target.feature"
+ version="0.9.0.qualifier">
+ <category name="org.eclipse.rap.category"/>
+ </feature>
+
+ <category-def
+ name="org.eclipse.rap.category"
+ label="Remote Application Platform (RAP) with e4">
+ <description>
+ Remote Application Platform (RAP) with e4 components
+ </description>
+ </category-def>
+
+</site>
diff --git a/releng/org.eclipse.rap.build/repository.e4/pom.xml b/releng/org.eclipse.rap.build/repository.e4/pom.xml
new file mode 100644
index 0000000..ce527a0
--- /dev/null
+++ b/releng/org.eclipse.rap.build/repository.e4/pom.xml
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2011, 2016 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.2.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>org.eclipse.rap.runtime-aggregation-repository-e4</artifactId>
+ <packaging>eclipse-repository</packaging>
+ <version>3.2.0-SNAPSHOT</version>
+
+ <repositories>
+ <repository>
+ <id>platform-repo</id>
+ <layout>p2</layout>
+ <url>${platform-repo.url}</url>
+ </repository>
+ <repository>
+ <id>orbit-repo</id>
+ <layout>p2</layout>
+ <url>${orbit-repo.url}</url>
+ </repository>
+ <repository>
+ <id>jetty-repo</id>
+ <layout>p2</layout>
+ <url>${jetty-repo.url}</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>
+ <finalName>rap-${unqualifiedVersion}-${buildType}-${build}</finalName>
+ </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>${platform-repo.url}</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>