]> gerrit.simantics Code Review - simantics/platform.git/blob - releng/org.simantics.sdk.build.targetdefinition/build/pom.xml
Mirrored CBI TPD tool and eclipse collections to simantics.org
[simantics/platform.git] / releng / org.simantics.sdk.build.targetdefinition / build / pom.xml
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>
5
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>
10
11         <properties>
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>
21         </properties>
22
23         <build>
24                 <plugins>
25                         <plugin>
26                                 <groupId>org.eclipse.tycho.extras</groupId>
27                                 <artifactId>tycho-eclipserun-plugin</artifactId>
28                                 <version>${tycho-extras-version}</version>
29                                 <configuration>
30                                         <repositories>
31                                                 <repository>
32                                                         <id>${platform-version-name}</id>
33                                                         <layout>p2</layout>
34                                                         <url>${platform.repository.p2}</url>
35                                                 </repository>
36                                                 <repository>
37                                                         <id>targetplatform</id>
38                                                         <layout>p2</layout>
39                                                         <url>${targetPlatform.repository.p2}</url>
40                                                 </repository>
41                                         </repositories>
42                                         <appArgLine>-consoleLog -application ${targetPlatform.application.name} ${tpd}</appArgLine>
43                                         <!-- Set dependencies to launch the application -->
44                                         <dependencies>
45                                                 <dependency>
46                                                         <artifactId>${targetPlatform.application.feature}</artifactId>
47                                                         <type>eclipse-feature</type>
48                                                 </dependency>
49                                                 <dependency>
50                                                         <artifactId>org.eclipse.equinox.p2.sdk</artifactId>
51                                                         <type>eclipse-feature</type>
52                                                 </dependency>
53                                         </dependencies>
54                                 </configuration>
55                                 <executions>
56                                         <execution>
57                                                 <goals>
58                                                         <goal>eclipse-run</goal>
59                                                 </goals>
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>
63                                         </execution>
64                                 </executions>
65                         </plugin>
66                 </plugins>
67         </build>
68
69 </project>