-
Notifications
You must be signed in to change notification settings - Fork 17
/
pom.xml
93 lines (86 loc) · 3 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2018, 2020 THALES GLOBAL SERVICES.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0
SPDX-License-Identifier: EPL-2.0
Contributors:
Thales - initial API and 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>
<groupId>org.polarsys</groupId>
<artifactId>capella.target-definition</artifactId>
<version>0.14.0-SNAPSHOT</version>
<packaging>pom</packaging>
<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>
<tycho-version>2.7.5</tycho-version>
<tycho-extras-version>2.7.5</tycho-extras-version>
<targetPlatform.name>capella.target-definition.targetplatform</targetPlatform.name>
<converterApplication.name>org.eclipse.cbi.targetplatform.tpd.converter</converterApplication.name>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-eclipserun-plugin</artifactId>
<version>${tycho-extras-version}</version>
<configuration>
<repositories>
<repository>
<id>targetplatform-tp</id>
<layout>p2</layout>
<url>https://download.eclipse.org/releases/2023-03</url>
</repository>
<repository>
<id>targetplatform</id>
<layout>p2</layout>
<url>https://download.eclipse.org/cbi/updates/tpd/nightly/latest</url>
</repository>
</repositories>
<!-- Set dependencies to launch the application -->
<dependencies>
<dependency>
<artifactId>org.eclipse.cbi.targetplatform.feature</artifactId>
<type>eclipse-feature</type>
</dependency>
<dependency>
<artifactId>org.eclipse.equinox.p2.sdk</artifactId>
<type>eclipse-feature</type>
</dependency>
</dependencies>
<executionEnvironment>JavaSE-17</executionEnvironment>
</configuration>
<executions>
<execution>
<id>generate.target</id>
<phase>validate</phase>
<configuration>
<executionEnvironment>JavaSE-17</executionEnvironment>
<applicationsArgs>
<args>-application ${converterApplication.name} tp/${targetPlatform.name}</args>
</applicationsArgs>
</configuration>
<goals>
<goal>eclipse-run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>