blob: 0961c03cccafe4615c8a9713f9455bd8325f8499 (
plain) (
blame)
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
|
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.papyrus</groupId>
<artifactId>org.eclipse.papyrus.all.releng</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>org.eclipse.papyrus</groupId>
<artifactId>org.eclipse.papyrus.tests.releng</artifactId>
<version>1.2.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<testConfig>CI_TESTS_CONFIG</testConfig> <!-- See org.eclipse.papyrus.junit.framework.classification.ClassificationConfig -->
<testSuiteClass>org.eclipse.papyrus.tests.AllTests</testSuiteClass>
<jacoco.version>0.7.9</jacoco.version>
<!-- Separate property for test argLine seems to be required when running Jacoco + Surefire -->
<test.argLine>-Xms512m -Xmx2048m -XX:SoftRefLRUPolicyMSPerMB=100</test.argLine>
<target.platform>org.eclipse.papyrus.main.tests.${target.suffix}.target</target.platform>
</properties>
<modules>
<!-- Features -->
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.infra.core.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.infra.emf.expressions.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.infra.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.infra.nattable.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.infra.services.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.uml.assistants.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.uml.decoratormodel.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.uml.diagram.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.uml.expressions.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.uml.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.uml.nattable.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.uml.tools.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.views.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.uml.textedit.tests.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.uml.alf.tests.feature</module>
<module>../../features/papyrus-tests-features/org.eclipse.papyrus.tests.toolsmiths.feature</module>
<!-- Plugins -->
<module>../../tests/junit/plugins</module>
<module>targetPlatform</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<failIfNoTests>false</failIfNoTests>
<useUIHarness>true</useUIHarness>
<useUIThread>true</useUIThread>
<testFailureIgnore>true</testFailureIgnore>
<!-- ${tycho.testArgLine} is populated by JaCoCo and is required to enable code coverage -->
<argLine>${tycho.testArgLine} ${test.argLine}</argLine>
<appArgLine>-testConfig=${testConfig}</appArgLine>
<product>org.eclipse.sdk.ide</product>
<skipTests>${skipInnerTests}</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<configuration>
<excludes>
<exclude>org.eclipse.uml2</exclude>
</excludes>
<includes>
<include>org.eclipse.papyrus.*</include>
</includes>
</configuration>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>defaultProfile</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>papyrus-main</id>
<layout>p2</layout>
<url>${papyrus.repo.main}</url>
</repository>
<repository>
<id>papyrus-toolsmiths</id>
<layout>p2</layout>
<url>${papyrus.repo.toolsmiths}</url>
</repository>
</repositories>
</profile>
<profile>
<id>mac-tests</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<test.argLine>-Xms512m -Xmx2048m -XX:SoftRefLRUPolicyMSPerMB=100 -XstartOnFirstThread</test.argLine>
</properties>
</profile>
<profile>
<id>buildAll</id>
<activation>
<property>
<name>buildAll</name>
<value>true</value>
</property>
</activation>
<!-- Papyrus Update sites not included (They are included in the same build) -->
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>attach-p2-metadata</id>
<phase>package</phase>
<goals>
<goal>p2-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
|