-
Notifications
You must be signed in to change notification settings - Fork 11
/
pom.xml
98 lines (92 loc) · 3.81 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2016, 2017 Obeo
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
Contributors:
Obeo - 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>
<parent>
<groupId>org.eclipse.sirius</groupId>
<artifactId>sirius-parent</artifactId>
<version>7.4.3-SNAPSHOT</version>
<relativePath>../../packaging/org.eclipse.sirius.parent</relativePath>
</parent>
<properties>
<sonar.sources>pom.xml</sonar.sources>
<sonar.tests>src</sonar.tests>
</properties>
<artifactId>org.eclipse.sirius.tests.ui.properties</artifactId>
<packaging>eclipse-test-plugin</packaging>
<version>7.4.3-SNAPSHOT</version>
<profiles>
<profile>
<id>unreliable-tests</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<!-- There is currently no unreliable tests in this plug-in, so the tests are deactivated for unreliable-tests profile.
This is to avoid an error of kind
"Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:2.0.0:test (default-test)
on projectorg.eclipse.sirius.tests.ui.properties: No tests found."-->
<tests.junit.skip>true</tests.junit.skip>
</properties>
</profile>
<profile>
<id>long-tests</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<!-- There is currently no long tests in this plug-in, so the tests are deactivated for long-tests profile.
This is to avoid an error of kind
"Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:2.0.0:test (default-test)
on project org.eclipse.sirius.tests.ui.properties: No tests found."-->
<tests.junit.skip>true</tests.junit.skip>
</properties>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<dependencies>
<dependency>
<type>eclipse-feature</type>
<artifactId>org.eclipse.e4.rcp</artifactId>
<version>0.0.0</version>
</dependency>
</dependencies>
<systemProperties>
<org.eclipse.sirius.tests.skipLongTests>${tests.skipLongTests}</org.eclipse.sirius.tests.skipLongTests>
<org.eclipse.sirius.tests.skipUnreliableTests>${tests.skipUnreliableTests}</org.eclipse.sirius.tests.skipUnreliableTests>
<createLocalRepresentationInSeparateResource>${createLocalRepresentationInSeparateResource}</createLocalRepresentationInSeparateResource>
</systemProperties>
<skipTests>${tests.junit.skip}</skipTests>
<includes>
<include>${tests.junit.include}</include>
</includes>
<useUIHarness>true</useUIHarness>
<useUIThread>true</useUIThread>
<argLine>${tests.vmargs}</argLine>
<testFailureIgnore>${tests.ignoreFailures}</testFailureIgnore>
<forkedProcessTimeoutInSeconds>${tests.timeout}</forkedProcessTimeoutInSeconds>
</configuration>
</plugin>
</plugins>
</build>
</project>