forked from jbosstools/m2e-wtp-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
211 lines (197 loc) · 6.77 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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2008 Sonatype, Inc.
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
-->
<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.wtp</groupId>
<artifactId>org.eclipse.m2e.wtp.tests.parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>M2E-WTP-TESTS :: Parent</name>
<properties>
<tycho-version>0.20.0</tycho-version>
<test.timeout>2400</test.timeout><!-- 45 mins -->
<tycho.test.jvmArgs>-Xms512m -Xmx1024m -XX:MaxPermSize=256m</tycho.test.jvmArgs>
<eclipse.target>luna</eclipse.target>
<eclipse-repo.url>http://download.eclipse.org/releases/${eclipse.target}</eclipse-repo.url>
<m2e-repo.url>http://repository.takari.io:8081/nexus/content/sites/m2e.extras/m2e/1.5.0/N/LATEST/</m2e-repo.url>
<!-- Warning : changing the mavenarchiver version requires submitting a new CQ in ipzilla -->
<mavenarchiver-repo.url>http://download.eclipse.org/m2e-wtp/signed/mavenarchiver/0.16.0/</mavenarchiver-repo.url>
</properties>
<organization>
<name>Eclipse foundation</name>
<url>http://www.eclipse.org</url>
</organization>
<licenses>
<license>
<name>Eclipse Public License - v 1.0</name>
<url>http://www.eclipse.org/legal/epl-v10.html</url>
</license>
</licenses>
<issueManagement>
<url>https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2E-WTP</url>
<system>Bugzilla</system>
</issueManagement>
<modules>
<module>org.eclipse.m2e.wtp.common.tests</module>
<module>org.eclipse.m2e.wtp.tests</module>
</modules>
<repositories>
<repository>
<id>eclipse</id>
<layout>p2</layout>
<url>${eclipse-repo.url}</url>
</repository>
<repository>
<id>m2e-core</id>
<layout>p2</layout>
<url>${m2e-repo.url}</url>
</repository>
<!-- Already included in m2e-wtp update site
<repository>
<id>mavenarchiver</id>
<layout>p2</layout>
<url>${mavenarchiver-repo.url}</url>
</repository>
-->
<repository>
<id>m2e-wtp</id>
<layout>p2</layout>
<url>http://download.eclipse.org/m2e-wtp/snapshots/${eclipse.target}</url>
</repository>
<repository>
<id>orbit</id>
<layout>p2</layout>
<url>http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository/</url>
</repository>
<repository>
<id>RSO-public-group</id>
<url>http://repository.sonatype.org/content/groups/sonatype-public-grid</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>RSO-public-group</id>
<url>http://repository.sonatype.org/content/groups/sonatype-public-grid</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>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<pomDependencies>consider</pomDependencies>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<useUIHarness>false</useUIHarness>
<includes>
<include>**/*Test.java</include>
</includes>
<argLine>${tycho.test.jvmArgs}</argLine>
<appArgLine>-pluginCustomization "${basedir}/plugin_customization.ini"</appArgLine>
<!-- kill test JVM if tests take more than X seconds to finish -->
<forkedProcessTimeoutInSeconds>${test.timeout}</forkedProcessTimeoutInSeconds>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>osx</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<tycho.test.jvmArgs>-Xmx1024m -XX:MaxPermSize=512m -Dosgi.ws=cocoa -XstartOnFirstThread</tycho.test.jvmArgs>
<osgi.ws>cocoa</osgi.ws>
</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>
<profile>
<id>sign</id>
<activation>
<property><name>jarsigner.alias</name></property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>sign</id>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>