Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2018-11-22 10:48:03 -0500
committerMatthias Sohn2018-11-22 11:04:23 -0500
commitfde41b3e9907290e37255dc294fc3322026c08d5 (patch)
tree47370b0e8de86843e02500ff29c0a2e1acdcf47e /org.eclipse.mylyn.github.target/pom.xml
parent0ef9c59cbb90eede5053c749c40c9e968f72868b (diff)
downloadegit-github-fde41b3e9907290e37255dc294fc3322026c08d5.tar.gz
egit-github-fde41b3e9907290e37255dc294fc3322026c08d5.tar.xz
egit-github-fde41b3e9907290e37255dc294fc3322026c08d5.zip
Implement explicit target platform
Add a proper target platform definition and also use that in the Tycho build to ensure we use the same classpath in Eclipse and during Maven build. Run org.eclipse.mylyn.github.tests during Maven test phase. Change-Id: I6010f301f157525357b741d1d699a8a2207ac647 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.mylyn.github.target/pom.xml')
-rw-r--r--org.eclipse.mylyn.github.target/pom.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.github.target/pom.xml b/org.eclipse.mylyn.github.target/pom.xml
new file mode 100644
index 00000000..c22a23d1
--- /dev/null
+++ b/org.eclipse.mylyn.github.target/pom.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2018, Matthias Sohn <matthias.sohn@sap.com>
+
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License 2.0
+ which accompanies this distribution, and is available at
+ https://www.eclipse.org/legal/epl-2.0/
+
+ SPDX-License-Identifier: EPL-2.0
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>org.eclipse.mylyn.github.target</artifactId>
+ <packaging>pom</packaging>
+ <name>EGit Github Target Platform Definition</name>
+
+ <parent>
+ <artifactId>github-parent</artifactId>
+ <groupId>org.eclipse.mylyn.github</groupId>
+ <version>5.2.0-SNAPSHOT</version>
+ </parent>
+
+ <properties>
+ <target-platform>github</target-platform>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>${target-platform}.target</file>
+ <type>target</type>
+ <classifier>${target-platform}</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>

Back to the top