forked from tesla/m2e-core-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
128 lines (117 loc) · 3.83 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
<?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.sonatype.forge</groupId>
<artifactId>forge-parent</artifactId>
<version>10</version>
</parent>
<groupId>org.eclipse.m2e</groupId>
<artifactId>m2e-core-tests</artifactId>
<version>1.6.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<!--
| can't use 0.20 because of https://bugs.eclipse.org/bugs/show_bug.cgi?id=431793
-->
<tycho-version>0.21.0-SNAPSHOT</tycho-version>
<eclipse-repo.url>http://download.eclipse.org/releases/luna</eclipse-repo.url>
<m2e-core.url>http://repository.takari.io:8081/nexus/content/sites/m2e.extras/m2e/1.6.0/N/LATEST/</m2e-core.url>
<tycho.test.jvmArgs>-Xmx800m -XX:MaxPermSize=256m</tycho.test.jvmArgs>
<tycho.surefire.timeout>600</tycho.surefire.timeout>
</properties>
<repositories>
<repository>
<id>eclipse</id>
<layout>p2</layout>
<url>${eclipse-repo.url}</url>
</repository>
<repository>
<id>m2e-core</id>
<layout>p2</layout>
<url>${m2e-core.url}</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>tycho-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<useUIHarness>true</useUIHarness>
<!-- kill test JVM if tests take more than 10 minutes (600 seconds) to finish -->
<forkedProcessTimeoutInSeconds>${tycho.surefire.timeout}</forkedProcessTimeoutInSeconds>
<argLine>${tycho.test.jvmArgs}</argLine>
<includes>
<include>**/*Test.class</include>
</includes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>uts</id>
<modules>
<module>org.eclipse.m2e.tests</module>
</modules>
</profile>
<profile>
<id>its</id>
<modules>
<module>org.eclipse.m2e.editor.tests</module>
<module>org.eclipse.m2e.editor.xml.tests</module>
</modules>
</profile>
<profile>
<id>osx</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<tycho.test.jvmArgs>-Xmx800m -XX:MaxPermSize=256m -XstartOnFirstThread</tycho.test.jvmArgs>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<dependencies>
<dependency>
<artifactId>org.eclipse.jdt.launching.macosx</artifactId>
<version>3.2.100</version>
<type>eclipse-plugin</type>
</dependency>
</dependencies>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>