aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2013-04-18 17:21:03 (EDT)
committerSzymon Brandys2013-05-14 07:29:28 (EDT)
commit1e102f98e58caa5c410e34f2b8b8b7ce01283347 (patch)
treea181a9e9a042f7c6c950094fb86f7b3208b757fa
parentc40ed72192b9facfb2c6925eb17a21ee69e1b580 (diff)
downloadorg.eclipse.orion.client-1e102f98e58caa5c410e34f2b8b8b7ce01283347.zip
org.eclipse.orion.client-1e102f98e58caa5c410e34f2b8b8b7ce01283347.tar.gz
org.eclipse.orion.client-1e102f98e58caa5c410e34f2b8b8b7ce01283347.tar.bz2
Bug 399023 - Add client reactor to enable setup of Hudson jobs
With this change the client bundles can be built based on only the client's git repository. Run mvn clean install in the root of the client source tree in order to build the client bundles. This prepares setting up Hudson jobs for the Maven build.
-rw-r--r--bundles/org.eclipse.orion.client.core/pom.xml12
-rw-r--r--bundles/org.eclipse.orion.client.editor/pom.xml12
-rw-r--r--bundles/org.eclipse.orion.client.git/pom.xml12
-rw-r--r--bundles/org.eclipse.orion.client.ui/pom.xml12
-rw-r--r--bundles/org.eclipse.orion.client.users/pom.xml12
-rw-r--r--pom.xml152
6 files changed, 182 insertions, 30 deletions
diff --git a/bundles/org.eclipse.orion.client.core/pom.xml b/bundles/org.eclipse.orion.client.core/pom.xml
index ba10369..2e04c27 100644
--- a/bundles/org.eclipse.orion.client.core/pom.xml
+++ b/bundles/org.eclipse.orion.client.core/pom.xml
@@ -18,14 +18,14 @@
<groupId>org.eclipse.orion</groupId>
<artifactId>org.eclipse.orion.client.core</artifactId>
- <version>2.0.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<parent>
- <groupId>org.eclipse.orion</groupId>
- <artifactId>org.eclipse.orion.parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../../org.eclipse.orion.server</relativePath>
- </parent>
+ <groupId>org.eclipse.orion</groupId>
+ <artifactId>org.eclipse.orion.client.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../..</relativePath>
+ </parent>
</project> \ No newline at end of file
diff --git a/bundles/org.eclipse.orion.client.editor/pom.xml b/bundles/org.eclipse.orion.client.editor/pom.xml
index e9d5ee6..6c8ecc4 100644
--- a/bundles/org.eclipse.orion.client.editor/pom.xml
+++ b/bundles/org.eclipse.orion.client.editor/pom.xml
@@ -18,14 +18,14 @@
<groupId>org.eclipse.orion</groupId>
<artifactId>org.eclipse.orion.client.editor</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<parent>
- <groupId>org.eclipse.orion</groupId>
- <artifactId>org.eclipse.orion.parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../../org.eclipse.orion.server</relativePath>
- </parent>
+ <groupId>org.eclipse.orion</groupId>
+ <artifactId>org.eclipse.orion.client.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../..</relativePath>
+ </parent>
</project> \ No newline at end of file
diff --git a/bundles/org.eclipse.orion.client.git/pom.xml b/bundles/org.eclipse.orion.client.git/pom.xml
index c262312..82b3bc0 100644
--- a/bundles/org.eclipse.orion.client.git/pom.xml
+++ b/bundles/org.eclipse.orion.client.git/pom.xml
@@ -18,14 +18,14 @@
<groupId>org.eclipse.orion</groupId>
<artifactId>org.eclipse.orion.client.git</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<parent>
- <groupId>org.eclipse.orion</groupId>
- <artifactId>org.eclipse.orion.parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../../org.eclipse.orion.server</relativePath>
- </parent>
+ <groupId>org.eclipse.orion</groupId>
+ <artifactId>org.eclipse.orion.client.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../..</relativePath>
+ </parent>
</project> \ No newline at end of file
diff --git a/bundles/org.eclipse.orion.client.ui/pom.xml b/bundles/org.eclipse.orion.client.ui/pom.xml
index ed09a17..4f06d7f 100644
--- a/bundles/org.eclipse.orion.client.ui/pom.xml
+++ b/bundles/org.eclipse.orion.client.ui/pom.xml
@@ -18,14 +18,14 @@
<groupId>org.eclipse.orion</groupId>
<artifactId>org.eclipse.orion.client.ui</artifactId>
- <version>2.0.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<parent>
- <groupId>org.eclipse.orion</groupId>
- <artifactId>org.eclipse.orion.parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../../org.eclipse.orion.server</relativePath>
- </parent>
+ <groupId>org.eclipse.orion</groupId>
+ <artifactId>org.eclipse.orion.client.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../..</relativePath>
+ </parent>
</project> \ No newline at end of file
diff --git a/bundles/org.eclipse.orion.client.users/pom.xml b/bundles/org.eclipse.orion.client.users/pom.xml
index 46039a1..75c48ef 100644
--- a/bundles/org.eclipse.orion.client.users/pom.xml
+++ b/bundles/org.eclipse.orion.client.users/pom.xml
@@ -18,14 +18,14 @@
<groupId>org.eclipse.orion</groupId>
<artifactId>org.eclipse.orion.client.users</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<parent>
- <groupId>org.eclipse.orion</groupId>
- <artifactId>org.eclipse.orion.parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../../org.eclipse.orion.server</relativePath>
- </parent>
+ <groupId>org.eclipse.orion</groupId>
+ <artifactId>org.eclipse.orion.client.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../..</relativePath>
+ </parent>
</project> \ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..6acec2d
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2013, SAP AG 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:
+ Matthias Sohn - 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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <prerequisites>
+ <maven>3.0</maven>
+ </prerequisites>
+
+ <groupId>org.eclipse.orion</groupId>
+ <artifactId>org.eclipse.orion.client.parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <name>Orion Client Parent</name>
+
+ <mailingLists>
+ <mailingList>
+ <name>orion-dev Mailing List</name>
+ <post>orion-dev@eclipse.org</post>
+ <subscribe>https://dev.eclipse.org/mailman/listinfo/orion-dev</subscribe>
+ <unsubscribe>https://dev.eclipse.org/mailman/listinfo/orion-dev</unsubscribe>
+ <archive>http://dev.eclipse.org/mhonarc/lists/orion-dev</archive>
+ </mailingList>
+ </mailingLists>
+
+ <issueManagement>
+ <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;product=Orion;classification=Eclipse</url>
+ <system>Bugzilla</system>
+ </issueManagement>
+
+ <licenses>
+ <license>
+ <name>Eclipse Public License v1.0</name>
+ <comments>
+ 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.htm
+ </comments>
+ </license>
+ </licenses>
+
+ <properties>
+ <orion-version>1.0.0-SNAPSHOT</orion-version>
+ <tycho-version>0.16.0</tycho-version>
+ <tycho-extras-version>0.16.0</tycho-extras-version>
+ <tycho.scmUrl>scm:git:http://git.eclipse.org/gitroot/orion/org.eclipse.orion.client.git</tycho.scmUrl>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <java-version>1.6</java-version>
+ </properties>
+
+ <modules>
+ <module>bundles/org.eclipse.orion.client.core</module>
+ <module>bundles/org.eclipse.orion.client.editor</module>
+ <module>bundles/org.eclipse.orion.client.git</module>
+ <module>bundles/org.eclipse.orion.client.ui</module>
+ <module>bundles/org.eclipse.orion.client.users</module>
+ </modules>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>${java-version}</source>
+ <target>${java-version}</target>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-compiler-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <source>${java-version}</source>
+ <target>${java-version}</target>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-source-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <executions>
+ <execution>
+ <id>attach-source</id>
+ <goals>
+ <goal>plugin-source</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-packaging-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <format>'v'yyyyMMdd-HHmm</format>
+ <sourceReferences>
+ <generate>true</generate>
+ </sourceReferences>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-sourceref-jgit</artifactId>
+ <version>${tycho-extras-version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <encoding>ISO-8859-1</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>