Merge "[releng] remove unused SWTBot TPD files"
[egit/eclipse.git] / pom.xml
blob390485c3022b49cc054566456a0d9e309f640b6f
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3    Copyright (C) 2009, Igor Fedorenko <igor@ifedorenko.com>
4    Copyright (C) 2010, Chris Aniszczyk <caniszczyk@gmail.com>
5    Copyright (C) 2011-2012 Matthias Sohn <matthias.sohn@sap.com>
7    All rights reserved. This program and the accompanying materials
8    are made available under the terms of the Eclipse Public License 2.0
9    which accompanies this distribution, and is available at
10    https://www.eclipse.org/legal/epl-2.0/
12    SPDX-License-Identifier: EPL-2.0
13 -->
15 <project xmlns="http://maven.apache.org/POM/4.0.0"
16     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
18   <modelVersion>4.0.0</modelVersion>
20   <groupId>org.eclipse.egit</groupId>
21   <artifactId>egit-parent</artifactId>
22   <version>5.1.0-SNAPSHOT</version>
23   <packaging>pom</packaging>
25   <name>EGit Parent</name>
27   <mailingLists>
28     <mailingList>
29       <name>egit-dev Mailing List</name>
30       <post>egit-dev@eclipse.org</post>
31       <subscribe>https://dev.eclipse.org/mailman/listinfo/egit-dev</subscribe>
32       <unsubscribe>https://dev.eclipse.org/mailman/listinfo/egit-dev</unsubscribe>
33       <archive>http://dev.eclipse.org/mhonarc/lists/egit-dev</archive>
34     </mailingList>
36     <mailingList>
37       <name>GIT Mailing List</name>
38       <post>git@vger.kernel.org</post>
39       <archive>http://marc.info/?l=git</archive>
40     </mailingList>
41   </mailingLists>
43   <issueManagement>
44     <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;product=EGit;classification=Technology</url>
45     <system>Bugzilla</system>
46   </issueManagement>
48   <licenses>
49     <license>
50       <name>Eclipse Public License 2.0</name>
51       <comments>
52         All rights reserved. This program and the accompanying materials
53         are made available under the terms of the Eclipse Public License 2.0
54         which accompanies this distribution, and is available at
55         https://www.eclipse.org/legal/epl-2.0/
57         SPDX-License-Identifier: EPL-2.0
58       </comments>
59     </license>
60   </licenses>
62   <properties>
63     <egit-version>5.1.0-SNAPSHOT</egit-version>
64     <tycho-version>1.2.0</tycho-version>
65     <tycho-extras-version>${tycho-version}</tycho-extras-version>
66     <jboss-tycho-plugins-version>1.1.0</jboss-tycho-plugins-version>
67     <mockito-version>1.8.4</mockito-version>
68     <jgit-site>file:/${basedir}/../../jgit/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/target/repository</jgit-site>
69     <license-site>http://download.eclipse.org/cbi/updates/license</license-site>
70     <signer-input-directory>/home/data/httpd/download-staging.priv/egit</signer-input-directory>
71     <download-publish-path>/home/data/httpd/download.eclipse.org/egit/updates-nightly</download-publish-path>
72     <target-platform>egit-4.6</target-platform>
73     <tycho.scmUrl>scm:git:https://git.eclipse.org/r/egit/egit.git</tycho.scmUrl>
74     <test.vmparams></test.vmparams>
75     <coretest.vmparams></coretest.vmparams>
76     <uitest.vmparams>-Dorg.eclipse.swtbot.search.timeout=30000 -Dorg.eclipse.swtbot.screenshots.dir=target/screenshots -Xmx1024m</uitest.vmparams>
77   </properties>
79   <profiles>
80     <profile>
81       <id>static-checks</id>
82       <build>
83         <plugins>
84           <plugin>
85             <groupId>com.github.spotbugs</groupId>
86             <artifactId>spotbugs-maven-plugin</artifactId>
87           </plugin>
88           <plugin>
89             <groupId>org.apache.maven.plugins</groupId>
90             <artifactId>maven-pmd-plugin</artifactId>
91           </plugin>
92         </plugins>
93       </build>
94     </profile>
95     <profile>
96       <id>eclipse-sign</id>
97       <build>
98         <plugins>
99           <plugin>
100             <groupId>org.eclipse.tycho</groupId>
101             <artifactId>target-platform-configuration</artifactId>
102             <configuration>
103               <includePackedArtifacts>true</includePackedArtifacts>
104             </configuration>
105           </plugin>
106           <plugin>
107             <groupId>org.eclipse.tycho.extras</groupId>
108             <artifactId>tycho-pack200a-plugin</artifactId>
109             <executions>
110               <execution>
111                 <id>pack200-normalize</id>
112                 <goals>
113                   <goal>normalize</goal>
114                 </goals>
115                 <phase>verify</phase>
116               </execution>
117             </executions>
118           </plugin>
119           <plugin>
120             <groupId>org.eclipse.cbi.maven.plugins</groupId>
121             <artifactId>eclipse-jarsigner-plugin</artifactId>
122             <executions>
123               <execution>
124                 <id>sign</id>
125                 <goals>
126                   <goal>sign</goal>
127                 </goals>
128                 <phase>verify</phase>
129               </execution>
130             </executions>
131           </plugin>
132           <plugin>
133             <groupId>org.eclipse.tycho.extras</groupId>
134             <artifactId>tycho-pack200b-plugin</artifactId>
135             <executions>
136               <execution>
137                 <id>pack200-pack</id>
138                 <goals>
139                   <goal>pack</goal>
140                 </goals>
141                 <phase>verify</phase>
142               </execution>
143             </executions>
144           </plugin>
145           <plugin>
146             <groupId>org.eclipse.tycho</groupId>
147             <artifactId>tycho-p2-plugin</artifactId>
148             <executions>
149               <execution>
150                 <id>p2-metadata</id>
151                 <goals>
152                   <goal>p2-metadata</goal>
153                 </goals>
154                 <phase>verify</phase>
155               </execution>
156             </executions>
157             <configuration>
158               <defaultP2Metadata>false</defaultP2Metadata>
159             </configuration>
160           </plugin>
161         </plugins>
162       </build>
163     </profile>
164     <profile>
165       <id>eclipse-pack</id>
166       <build>
167         <plugins>
168           <plugin>
169             <groupId>org.eclipse.tycho</groupId>
170             <artifactId>target-platform-configuration</artifactId>
171             <configuration>
172               <includePackedArtifacts>true</includePackedArtifacts>
173             </configuration>
174           </plugin>
175           <plugin>
176             <groupId>org.eclipse.tycho.extras</groupId>
177             <artifactId>tycho-pack200a-plugin</artifactId>
178             <executions>
179               <execution>
180                 <id>pack200-normalize</id>
181                 <goals>
182                   <goal>normalize</goal>
183                 </goals>
184               </execution>
185             </executions>
186           </plugin>
187           <plugin>
188             <groupId>org.eclipse.tycho.extras</groupId>
189             <artifactId>tycho-pack200b-plugin</artifactId>
190             <executions>
191               <execution>
192                 <id>pack200-pack</id>
193                 <goals>
194                   <goal>pack</goal>
195                 </goals>
196               </execution>
197             </executions>
198           </plugin>
199           <plugin>
200             <groupId>org.eclipse.tycho</groupId>
201             <artifactId>tycho-p2-plugin</artifactId>
202             <executions>
203               <execution>
204                 <id>p2-metadata</id>
205                 <goals>
206                   <goal>p2-metadata</goal>
207                 </goals>
208                 <phase>package</phase>
209               </execution>
210             </executions>
211             <configuration>
212               <defaultP2Metadata>false</defaultP2Metadata>
213             </configuration>
214           </plugin>
215         </plugins>
216       </build>
217     </profile>
218     <profile>
219       <id>macosx</id>
220       <activation>
221         <os>
222           <name>mac os x</name>
223           <family>mac</family>
224         </os>
225       </activation>
226       <properties>
227         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams} -XstartOnFirstThread</ui.test.vmargs>
228       </properties>
229     </profile>
230     <profile>
231       <id>other-os</id>
232       <activation>
233         <os>
234           <name>not-mac</name>
235           <family>!mac</family>
236         </os>
237       </activation>
238       <properties>
239         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams}</ui.test.vmargs>
240       </properties>
241     </profile>
242   </profiles>
244   <modules>
245     <module>org.eclipse.egit.target</module>
247     <module>org.eclipse.egit</module>
248     <module>org.eclipse.egit.core</module>
249     <module>org.eclipse.egit.ui</module>
251     <module>org.eclipse.egit.ui.smartimport</module>
253     <module>org.eclipse.egit.mylyn.ui</module>
254     <module>org.eclipse.egit.mylyn-feature</module>
256     <module>org.eclipse.egit.doc</module>
257     <module>org.eclipse.egit-feature</module>
259     <module>org.eclipse.egit.gitflow-feature</module>
260         <module>org.eclipse.egit.gitflow</module>
261         <module>org.eclipse.egit.gitflow.ui</module>
262     <module>org.eclipse.egit.gitflow.test</module>
264     <module>org.eclipse.egit.source-feature</module>
266     <module>org.eclipse.egit.repository</module>
268     <module>org.eclipse.egit.core.test</module>
269     <module>org.eclipse.egit.ui.test</module>
270     <module>org.eclipse.egit.mylyn.ui.test</module>
271     <module>org.eclipse.egit.ui.importer.tests</module>
273   </modules>
275   <pluginRepositories>
276     <pluginRepository>
277       <id>repo.eclipse.org.cbi-releases</id>
278       <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
279     </pluginRepository>
280     <pluginRepository>
281       <id>repo.eclipse.org.cbi-snapshots</id>
282       <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
283     </pluginRepository>
284   </pluginRepositories>
286   <repositories>
287     <repository>
288       <id>jgit</id>
289       <layout>p2</layout>
290       <url>${jgit-site}</url>
291     </repository>
292     <repository>
293       <id>eclipse.license</id>
294       <layout>p2</layout>
295       <url>${license-site}</url>
296     </repository>
297   </repositories>
299   <build>
300     <plugins>
301       <plugin>
302         <groupId>org.apache.maven.plugins</groupId>
303         <artifactId>maven-enforcer-plugin</artifactId>
304         <version>3.0.0-M1</version>
305         <executions>
306           <execution>
307             <id>enforce-maven</id>
308             <goals>
309               <goal>enforce</goal>
310             </goals>
311             <configuration>
312               <rules>
313                 <requireMavenVersion>
314                   <version>3.5.2</version>
315                 </requireMavenVersion>
316               </rules>
317             </configuration>
318           </execution>
319         </executions>
320       </plugin>
321       <plugin>
322         <groupId>org.eclipse.tycho</groupId>
323         <artifactId>tycho-maven-plugin</artifactId>
324         <extensions>true</extensions>
325       </plugin>
326       <plugin>
327         <groupId>org.eclipse.tycho</groupId>
328         <artifactId>target-platform-configuration</artifactId>
329         <configuration>
330           <target>
331             <artifact>
332               <groupId>org.eclipse.egit</groupId>
333               <artifactId>org.eclipse.egit.target</artifactId>
334               <version>${egit-version}</version>
335               <classifier>${target-platform}</classifier>
336             </artifact>
337           </target>
338           <resolver>p2</resolver>
339           <pomDependencies>consider</pomDependencies>
340           <environments>
341             <environment>
342               <os>linux</os>
343               <ws>gtk</ws>
344               <arch>x86</arch>
345             </environment>
346             <environment>
347               <os>linux</os>
348               <ws>gtk</ws>
349               <arch>x86_64</arch>
350             </environment>
351             <environment>
352               <os>win32</os>
353               <ws>win32</ws>
354               <arch>x86</arch>
355             </environment>
356             <environment>
357               <os>win32</os>
358               <ws>win32</ws>
359               <arch>x86_64</arch>
360             </environment>
361             <environment>
362               <os>macosx</os>
363               <ws>cocoa</ws>
364               <arch>x86_64</arch>
365             </environment>
366           </environments>
367         </configuration>
368       </plugin>
369     </plugins>
370     <pluginManagement>
371       <plugins>
372         <!-- Tycho plugins -->
373         <plugin>
374           <groupId>org.eclipse.tycho</groupId>
375           <artifactId>tycho-compiler-plugin</artifactId>
376           <version>${tycho-version}</version>
377           <configuration>
378             <encoding>UTF-8</encoding>
379             <source>1.8</source>
380             <target>1.8</target>
381             <!-- Do not use useProjectSettings; it'll always override -nowarn -->
382             <useProjectSettings>false</useProjectSettings>
383             <compilerArgs>
384               <arg>-properties</arg>
385               <arg>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</arg>
386               <arg>-nowarn</arg>
387             </compilerArgs>
388           </configuration>
389         </plugin>
390         <plugin>
391           <groupId>org.eclipse.tycho</groupId>
392           <artifactId>tycho-source-plugin</artifactId>
393           <version>${tycho-version}</version>
394           <executions>
395             <execution>
396               <id>attach-source</id>
397               <goals>
398                 <goal>plugin-source</goal>
399               </goals>
400             </execution>
401           </executions>
402         </plugin>
403         <plugin>
404           <groupId>org.eclipse.tycho</groupId>
405           <artifactId>tycho-packaging-plugin</artifactId>
406           <version>${tycho-version}</version>
407           <configuration>
408             <sourceReferences>
409               <generate>true</generate>
410             </sourceReferences>
411           </configuration>
412           <dependencies>
413             <dependency>
414               <groupId>org.eclipse.tycho.extras</groupId>
415               <artifactId>tycho-sourceref-jgit</artifactId>
416               <version>${tycho-extras-version}</version>
417             </dependency>
418           </dependencies>
419         </plugin>
420         <plugin>
421           <groupId>org.eclipse.tycho</groupId>
422           <artifactId>tycho-surefire-plugin</artifactId>
423           <version>${tycho-version}</version>
424         </plugin>
425         <plugin>
426           <groupId>org.eclipse.tycho</groupId>
427           <artifactId>tycho-maven-plugin</artifactId>
428           <version>${tycho-version}</version>
429         </plugin>
430         <plugin>
431           <groupId>org.eclipse.tycho</groupId>
432           <artifactId>target-platform-configuration</artifactId>
433           <version>${tycho-version}</version>
434         </plugin>
435         <plugin>
436           <groupId>org.eclipse.tycho</groupId>
437           <artifactId>tycho-p2-plugin</artifactId>
438           <version>${tycho-version}</version>
439         </plugin>
440         <plugin>
441           <groupId>org.eclipse.tycho.extras</groupId>
442           <artifactId>tycho-pack200a-plugin</artifactId>
443           <version>${tycho-extras-version}</version>
444         </plugin>
445         <plugin>
446           <groupId>org.eclipse.tycho.extras</groupId>
447           <artifactId>tycho-pack200b-plugin</artifactId>
448           <version>${tycho-extras-version}</version>
449         </plugin>
450         <plugin>
451           <groupId>org.jboss.tools.tycho-plugins</groupId>
452           <artifactId>repository-utils</artifactId>
453           <version>${jboss-tycho-plugins-version}</version>
454         </plugin>
455         <!-- other plugins -->
456         <plugin>
457           <groupId>org.apache.maven.plugins</groupId>
458           <artifactId>maven-resources-plugin</artifactId>
459           <version>3.1.0</version>
460           <configuration>
461             <encoding>ISO-8859-1</encoding>
462           </configuration>
463         </plugin>
464         <plugin>
465           <groupId>org.apache.maven.plugins</groupId>
466           <artifactId>maven-antrun-plugin</artifactId>
467           <version>1.8</version>
468         </plugin>
469         <plugin>
470           <groupId>com.github.spotbugs</groupId>
471           <artifactId>spotbugs-maven-plugin</artifactId>
472           <version>3.1.3.1</version>
473           <configuration>
474             <findbugsXmlOutput>true</findbugsXmlOutput>
475             <failOnError>false</failOnError>
476           </configuration>
477           <executions>
478             <execution>
479               <goals>
480                 <goal>check</goal>
481               </goals>
482             </execution>
483           </executions>
484         </plugin>
485         <plugin>
486           <groupId>org.apache.maven.plugins</groupId>
487           <artifactId>maven-pmd-plugin</artifactId>
488           <version>3.10.0</version>
489           <configuration>
490             <sourceEncoding>utf-8</sourceEncoding>
491             <minimumTokens>100</minimumTokens>
492             <targetJdk>1.8</targetJdk>
493             <format>xml</format>
494             <failOnViolation>false</failOnViolation>
495           </configuration>
496           <executions>
497             <execution>
498               <goals>
499                 <goal>cpd-check</goal>
500               </goals>
501             </execution>
502           </executions>
503         </plugin>
504         <plugin>
505           <groupId>org.apache.maven.plugins</groupId>
506           <artifactId>maven-assembly-plugin</artifactId>
507           <version>3.1.0</version>
508         </plugin>
509         <plugin>
510           <groupId>org.codehaus.mojo</groupId>
511           <artifactId>build-helper-maven-plugin</artifactId>
512           <version>3.0.0</version>
513         </plugin>
514         <plugin>
515           <groupId>org.eclipse.cbi.maven.plugins</groupId>
516           <artifactId>eclipse-jarsigner-plugin</artifactId>
517           <version>1.1.5</version>
518         </plugin>
519       </plugins>
520     </pluginManagement>
521   </build>
523   <dependencies>
524     <dependency>
525       <groupId>org.mockito</groupId>
526       <artifactId>mockito-core</artifactId>
527       <version>${mockito-version}</version>
528     </dependency>
529   </dependencies>
531   <distributionManagement>
532     <repository>
533       <id>repo.eclipse.org</id>
534       <name>JGit Maven Repository - Releases</name>
535       <url>https://repo.eclipse.org/content/repositories/egit-releases/</url>
536     </repository>
537     <snapshotRepository>
538       <id>repo.eclipse.org</id>
539       <name>JGit Maven Repository - Snapshots</name>
540       <url>https://repo.eclipse.org/content/repositories/egit-snapshots/</url>
541       <uniqueVersion>true</uniqueVersion>
542     </snapshotRepository>
543   </distributionManagement>
544 </project>