Browse Source

added photon target

andreas muelder 7 years ago
parent
commit
a7161f42bf
1 changed files with 80 additions and 0 deletions
  1. 80 0
      releng/org.yakindu.sct.releng/pom.xml

+ 80 - 0
releng/org.yakindu.sct.releng/pom.xml

@@ -282,6 +282,7 @@
 							</target>
 						</configuration>
 					</plugin>
+					<!-- Workaround for https://github.com/eclipse/xtext/issues/1231 -->
 					<plugin>
 						<groupId>org.eclipse.xtend</groupId>
 						<artifactId>xtend-maven-plugin</artifactId>
@@ -304,6 +305,7 @@
 							</dependency>
 						</dependencies>
 					</plugin>
+					<!-- Workaround for https://github.com/eclipse/xtext/issues/1231 -->
 					<plugin>
 						<groupId>org.eclipse.xtext</groupId>
 						<artifactId>xtext-maven-plugin</artifactId>
@@ -329,6 +331,84 @@
 				</plugins>
 			</build>
 		</profile>
+		<profile>
+			<id>Photon.target</id>
+			<activation>
+				<activeByDefault>false</activeByDefault>
+			</activation>
+			<properties>
+				<xtext-version>2.14.0</xtext-version>
+				<ecore-xtext-version>1.2.0</ecore-xtext-version>
+				<ecore-xcore-version>1.3.1</ecore-xcore-version>
+				<ecore-xcore-lib-version>1.1.100</ecore-xcore-lib-version>
+			</properties>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.eclipse.tycho</groupId>
+						<artifactId>target-platform-configuration</artifactId>
+						<version>${tycho-version}</version>
+						<configuration>
+							<includePackedArtifacts>true</includePackedArtifacts>
+							<target>
+								<artifact>
+									<groupId>org.yakindu.base</groupId>
+									<artifactId>org.yakindu.base.target</artifactId>
+									<version>3.4.0-SNAPSHOT</version>
+									<classifier>Photon</classifier>
+								</artifact>
+							</target>
+						</configuration>
+					</plugin>
+					<plugin>
+						<!-- Workaround for https://github.com/eclipse/xtext/issues/1231 -->
+						<groupId>org.eclipse.xtend</groupId>
+						<artifactId>xtend-maven-plugin</artifactId>
+						<version>${xtext-version}</version>
+						<dependencies>
+							<dependency>
+								<groupId>org.eclipse.jdt</groupId>
+								<artifactId>org.eclipse.jdt.core</artifactId>
+								<version>3.13.102</version>
+							</dependency>
+							<dependency>
+								<groupId>org.eclipse.jdt</groupId>
+								<artifactId>org.eclipse.jdt.compiler.apt</artifactId>
+								<version>1.3.110</version>
+							</dependency>
+							<dependency>
+								<groupId>org.eclipse.jdt</groupId>
+								<artifactId>org.eclipse.jdt.compiler.tool</artifactId>
+								<version>1.2.101</version>
+							</dependency>
+						</dependencies>
+					</plugin>
+					<plugin>
+						<!-- Workaround for https://github.com/eclipse/xtext/issues/1231 -->
+						<groupId>org.eclipse.xtext</groupId>
+						<artifactId>xtext-maven-plugin</artifactId>
+						<version>${xtext-version}</version>
+						<dependencies>
+							<dependency>
+								<groupId>org.eclipse.jdt</groupId>
+								<artifactId>org.eclipse.jdt.core</artifactId>
+								<version>3.13.102</version>
+							</dependency>
+							<dependency>
+								<groupId>org.eclipse.jdt</groupId>
+								<artifactId>org.eclipse.jdt.compiler.apt</artifactId>
+								<version>1.3.110</version>
+							</dependency>
+							<dependency>
+								<groupId>org.eclipse.jdt</groupId>
+								<artifactId>org.eclipse.jdt.compiler.tool</artifactId>
+								<version>1.2.101</version>
+							</dependency>
+						</dependencies>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
 		<profile>
 			<id>enableSigning</id>
 			<activation>