-
Notifications
You must be signed in to change notification settings - Fork 21
/
pom.xml
179 lines (160 loc) · 6.64 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2017 Inria and others.
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.html
Contributors:
Inria - initial API and implementation
-->
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<relativePath>../..</relativePath>
<groupId>org.eclipse.gemoc.gemoc-studio.bundle</groupId>
<artifactId>org.eclipse.gemoc.gemoc_studio.parent</artifactId>
<version>3.5.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.gemoc.studio.tests.system.mwb</artifactId>
<packaging>eclipse-test-plugin</packaging>
<properties>
<!-- override this property using the command line in order to adapt to your work environment -->
<gemoc-studio.repository>${basedir}/../../../../gemoc-studio</gemoc-studio.repository>
<tests-inputs-gen.path>${basedir}/tests-inputs-gen</tests-inputs-gen.path>
<sequentialFSM.modeling.root>${gemoc-studio.repository}/official_samples/MelangeK3FSM/modeling_workbench</sequentialFSM.modeling.root>
<sequentialFSM.tests-inputs-gen.path>${tests-inputs-gen.path}/SequentialFSM</sequentialFSM.tests-inputs-gen.path>
<k3FSM.modeling.root>${gemoc-studio.repository}/official_samples/K3FSM/modeling_workbench</k3FSM.modeling.root>
<k3FSM.tests-inputs-gen.path>${tests-inputs-gen.path}/K3FSM</k3FSM.tests-inputs-gen.path>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<argLine>-Xmx1500m</argLine>
<useUIHarness>true</useUIHarness>
<useUIThread>false</useUIThread>
<product>org.eclipse.sdk.ide</product>
<application>org.eclipse.ui.ide.workbench</application>
<testFailureIgnore>true</testFailureIgnore> <!-- failed tests here must fail the build-->
<systemProperties>
<WORKSPACE>${basedir}/../../../..</WORKSPACE>
</systemProperties>
<bundleStartLevel>
<bundle>
<id>org.eclipse.gemoc.studio.tests.logging.config</id>
<!-- <level>4</level> -->
<autoStart>true</autoStart>
</bundle>
</bundleStartLevel>
</configuration>
</plugin>
<!-- generates the tests-inputs zip used by the tests -->
<!-- the origin of the sources used for these zips can -->
<!-- be locally overwritten by setting the appropriate system property on the command line -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<mkdir dir="${tests-inputs-gen.path}" />
<!-- MelangeK3FSM -->
<mkdir dir="${sequentialFSM.tests-inputs-gen.path}" />
<zip destfile="${sequentialFSM.tests-inputs-gen.path}/org.eclipse.gemoc.example.melangek3fsm.model_examples.zip">
<fileset dir="${sequentialFSM.modeling.root}/org.eclipse.gemoc.example.melangek3fsm.model_examples/" />
</zip>
<!-- K3FSM -->
<mkdir dir="${k3FSM.tests-inputs-gen.path}" />
<zip destfile="${k3FSM.tests-inputs-gen.path}/org.eclipse.gemoc.example.k3fsm.model_examples.zip">
<fileset dir="${k3FSM.modeling.root}/org.eclipse.gemoc.example.k3fsm.model_examples/" />
</zip>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<dependency-resolution>
<extraRequirements>
<!-- Eclipse platform -->
<requirement>
<type>eclipse-feature</type>
<id>org.eclipse.e4.rcp</id>
<versionRange>4.18.0</versionRange>
</requirement>
<requirement>
<type>eclipse-feature</type>
<id>org.eclipse.sdk</id>
<versionRange>4.18.0</versionRange>
</requirement>
<!-- GEMOC components -->
<requirement>
<type>eclipse-feature</type>
<id>org.eclipse.gemoc.modeldebugging.feature</id>
<versionRange>3.1.0</versionRange>
</requirement>
<requirement>
<type>eclipse-feature</type>
<id>org.eclipse.gemoc.gemoc_studio.branding.feature</id>
<versionRange>3.1.0</versionRange>
</requirement>
<requirement>
<type>eclipse-feature</type>
<id>org.eclipse.gemoc.gemoc_studio.additions.feature</id>
<versionRange>3.1.0</versionRange>
</requirement>
<!-- SWTBot features -->
<requirement>
<type>eclipse-feature</type>
<id>org.eclipse.swtbot</id>
<versionRange>3.0.0</versionRange>
</requirement>
<requirement>
<type>eclipse-feature</type>
<id>org.eclipse.swtbot.eclipse</id>
<versionRange>3.0.0</versionRange>
</requirement>
<requirement>
<type>eclipse-feature</type>
<id>org.eclipse.swtbot.ide</id>
<versionRange>3.0.0</versionRange>
</requirement>
<requirement>
<type>eclipse-plugin</type>
<id>org.eclipse.gemoc.studio.tests.logging.config</id>
<versionRange>0.0.0</versionRange>
</requirement>
</extraRequirements>
</dependency-resolution>
</configuration>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>${tests-inputs-gen.path}</directory>
<excludes>
<exclude>**/.gitignore</exclude>
<exclude>**/readme.md</exclude>
</excludes>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
</build>
</project>