1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.simantics</groupId>
7 <artifactId>org.simantics.sdk.build.targetdefinition.build</artifactId>
8 <version>1.0.0-SNAPSHOT</version>
9 <packaging>pom</packaging>
12 <tycho-version>1.5.0</tycho-version>
13 <tycho-extras-version>1.5.0</tycho-extras-version>
14 <platform-version-name>2019-12</platform-version-name>
15 <platform.repository.p2>http://www.simantics.org/update/${platform-version-name}</platform.repository.p2>
16 <targetPlatform.repository.p2>http://www.simantics.org/update/cbi/tpd/3.0.0-SNAPSHOT/</targetPlatform.repository.p2>
17 <targetPlatform.application.name>org.eclipse.cbi.targetplatform.tpd.converter</targetPlatform.application.name>
18 <targetPlatform.application.feature>org.eclipse.cbi.targetplatform-feature</targetPlatform.application.feature>
19 <!--<tpd>../org.simantics.sdk.build.targetdefinition.tpd</tpd>-->
20 <tpd>../simantics.tpd</tpd>
26 <groupId>org.eclipse.tycho.extras</groupId>
27 <artifactId>tycho-eclipserun-plugin</artifactId>
28 <version>${tycho-extras-version}</version>
32 <id>${platform-version-name}</id>
34 <url>${platform.repository.p2}</url>
37 <id>targetplatform</id>
39 <url>${targetPlatform.repository.p2}</url>
42 <appArgLine>-consoleLog -application ${targetPlatform.application.name} ${tpd}</appArgLine>
43 <!-- Set dependencies to launch the application -->
46 <artifactId>${targetPlatform.application.feature}</artifactId>
47 <type>eclipse-feature</type>
50 <artifactId>org.eclipse.equinox.p2.sdk</artifactId>
51 <type>eclipse-feature</type>
58 <goal>eclipse-run</goal>
60 <!-- The phase validate rebuild the targetplatform before to compile/test...
61 @see https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html -->
62 <phase>validate</phase>