Merge branch 'stable-5.3'
[egit/eclipse.git] / pom.xml
blob51e1c01470ea20560e9277a00f1a9225ab2e8d85
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.4.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.4.0-SNAPSHOT</egit-version>
64     <tycho-version>1.3.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     <spotbugs-maven-plugin-version>3.1.11</spotbugs-maven-plugin-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.junit</module>
269     <module>org.eclipse.egit.core.test</module>
270     <module>org.eclipse.egit.ui.test</module>
271     <module>org.eclipse.egit.mylyn.ui.test</module>
272     <module>org.eclipse.egit.ui.importer.tests</module>
274   </modules>
276   <pluginRepositories>
277     <pluginRepository>
278       <id>repo.eclipse.org.cbi-releases</id>
279       <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
280     </pluginRepository>
281     <pluginRepository>
282       <id>repo.eclipse.org.cbi-snapshots</id>
283       <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
284     </pluginRepository>
285   </pluginRepositories>
287   <repositories>
288     <repository>
289       <id>jgit</id>
290       <layout>p2</layout>
291       <url>${jgit-site}</url>
292     </repository>
293     <repository>
294       <id>eclipse.license</id>
295       <layout>p2</layout>
296       <url>${license-site}</url>
297     </repository>
298   </repositories>
300   <build>
301     <plugins>
302       <plugin>
303         <groupId>org.apache.maven.plugins</groupId>
304         <artifactId>maven-enforcer-plugin</artifactId>
305         <version>3.0.0-M1</version>
306         <executions>
307           <execution>
308             <id>enforce-maven</id>
309             <goals>
310               <goal>enforce</goal>
311             </goals>
312             <configuration>
313               <rules>
314                 <requireMavenVersion>
315                   <version>3.5.2</version>
316                 </requireMavenVersion>
317               </rules>
318             </configuration>
319           </execution>
320         </executions>
321       </plugin>
322       <plugin>
323         <groupId>org.eclipse.tycho</groupId>
324         <artifactId>tycho-maven-plugin</artifactId>
325         <extensions>true</extensions>
326       </plugin>
327       <plugin>
328         <groupId>org.eclipse.tycho</groupId>
329         <artifactId>target-platform-configuration</artifactId>
330         <configuration>
331           <target>
332             <artifact>
333               <groupId>org.eclipse.egit</groupId>
334               <artifactId>org.eclipse.egit.target</artifactId>
335               <version>${egit-version}</version>
336               <classifier>${target-platform}</classifier>
337             </artifact>
338           </target>
339           <resolver>p2</resolver>
340           <pomDependencies>consider</pomDependencies>
341           <environments>
342             <environment>
343               <os>linux</os>
344               <ws>gtk</ws>
345               <arch>x86</arch>
346             </environment>
347             <environment>
348               <os>linux</os>
349               <ws>gtk</ws>
350               <arch>x86_64</arch>
351             </environment>
352             <environment>
353               <os>win32</os>
354               <ws>win32</ws>
355               <arch>x86</arch>
356             </environment>
357             <environment>
358               <os>win32</os>
359               <ws>win32</ws>
360               <arch>x86_64</arch>
361             </environment>
362             <environment>
363               <os>macosx</os>
364               <ws>cocoa</ws>
365               <arch>x86_64</arch>
366             </environment>
367           </environments>
368         </configuration>
369       </plugin>
370     </plugins>
371     <pluginManagement>
372       <plugins>
373         <!-- Tycho plugins -->
374         <plugin>
375           <groupId>org.eclipse.tycho</groupId>
376           <artifactId>tycho-compiler-plugin</artifactId>
377           <version>${tycho-version}</version>
378           <configuration>
379             <encoding>UTF-8</encoding>
380             <source>1.8</source>
381             <target>1.8</target>
382             <!-- Do not use useProjectSettings; it'll always override -nowarn -->
383             <useProjectSettings>false</useProjectSettings>
384             <compilerArgs>
385               <arg>-properties</arg>
386               <arg>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</arg>
387               <arg>-nowarn</arg>
388             </compilerArgs>
389           </configuration>
390         </plugin>
391         <plugin>
392           <groupId>org.eclipse.tycho</groupId>
393           <artifactId>tycho-source-plugin</artifactId>
394           <version>${tycho-version}</version>
395           <executions>
396             <execution>
397               <id>attach-source</id>
398               <goals>
399                 <goal>plugin-source</goal>
400               </goals>
401             </execution>
402           </executions>
403         </plugin>
404         <plugin>
405           <groupId>org.eclipse.tycho</groupId>
406           <artifactId>tycho-packaging-plugin</artifactId>
407           <version>${tycho-version}</version>
408           <configuration>
409             <sourceReferences>
410               <generate>true</generate>
411             </sourceReferences>
412           </configuration>
413           <dependencies>
414             <dependency>
415               <groupId>org.eclipse.tycho.extras</groupId>
416               <artifactId>tycho-sourceref-jgit</artifactId>
417               <version>${tycho-extras-version}</version>
418             </dependency>
419           </dependencies>
420         </plugin>
421         <plugin>
422           <groupId>org.eclipse.tycho</groupId>
423           <artifactId>tycho-surefire-plugin</artifactId>
424           <version>${tycho-version}</version>
425           <configuration>
426             <trimStackTrace>false</trimStackTrace>
427           </configuration>
428         </plugin>
429         <plugin>
430           <groupId>org.eclipse.tycho</groupId>
431           <artifactId>tycho-maven-plugin</artifactId>
432           <version>${tycho-version}</version>
433         </plugin>
434         <plugin>
435           <groupId>org.eclipse.tycho</groupId>
436           <artifactId>target-platform-configuration</artifactId>
437           <version>${tycho-version}</version>
438         </plugin>
439         <plugin>
440           <groupId>org.eclipse.tycho</groupId>
441           <artifactId>tycho-p2-plugin</artifactId>
442           <version>${tycho-version}</version>
443         </plugin>
444         <plugin>
445           <groupId>org.eclipse.tycho.extras</groupId>
446           <artifactId>tycho-pack200a-plugin</artifactId>
447           <version>${tycho-extras-version}</version>
448         </plugin>
449         <plugin>
450           <groupId>org.eclipse.tycho.extras</groupId>
451           <artifactId>tycho-pack200b-plugin</artifactId>
452           <version>${tycho-extras-version}</version>
453         </plugin>
454         <plugin>
455           <groupId>org.jboss.tools.tycho-plugins</groupId>
456           <artifactId>repository-utils</artifactId>
457           <version>${jboss-tycho-plugins-version}</version>
458         </plugin>
459         <!-- other plugins -->
460         <plugin>
461           <groupId>org.apache.maven.plugins</groupId>
462           <artifactId>maven-resources-plugin</artifactId>
463           <version>3.1.0</version>
464           <configuration>
465             <encoding>ISO-8859-1</encoding>
466           </configuration>
467         </plugin>
468         <plugin>
469           <groupId>org.apache.maven.plugins</groupId>
470           <artifactId>maven-antrun-plugin</artifactId>
471           <version>1.8</version>
472         </plugin>
473         <plugin>
474           <groupId>com.github.spotbugs</groupId>
475           <artifactId>spotbugs-maven-plugin</artifactId>
476           <version>${spotbugs-maven-plugin-version}</version>
477           <configuration>
478             <xmlOutput>true</xmlOutput>
479             <failOnError>false</failOnError>
480           </configuration>
481           <executions>
482             <execution>
483               <goals>
484                 <goal>check</goal>
485               </goals>
486             </execution>
487           </executions>
488         </plugin>
489         <plugin>
490           <groupId>org.apache.maven.plugins</groupId>
491           <artifactId>maven-pmd-plugin</artifactId>
492           <version>3.11.0</version>
493           <configuration>
494             <sourceEncoding>utf-8</sourceEncoding>
495             <minimumTokens>100</minimumTokens>
496             <targetJdk>1.8</targetJdk>
497             <format>xml</format>
498             <failOnViolation>false</failOnViolation>
499             <linkXRef>false</linkXRef>
500           </configuration>
501           <executions>
502             <execution>
503               <goals>
504                 <goal>cpd-check</goal>
505               </goals>
506             </execution>
507           </executions>
508         </plugin>
509         <plugin>
510           <groupId>org.apache.maven.plugins</groupId>
511           <artifactId>maven-assembly-plugin</artifactId>
512           <version>3.1.0</version>
513         </plugin>
514         <plugin>
515           <groupId>org.codehaus.mojo</groupId>
516           <artifactId>build-helper-maven-plugin</artifactId>
517           <version>3.0.0</version>
518         </plugin>
519         <plugin>
520           <groupId>org.eclipse.cbi.maven.plugins</groupId>
521           <artifactId>eclipse-jarsigner-plugin</artifactId>
522           <version>1.1.5</version>
523         </plugin>
524       </plugins>
525     </pluginManagement>
526   </build>
528   <distributionManagement>
529     <repository>
530       <id>repo.eclipse.org</id>
531       <name>EGit Maven Repository - Releases</name>
532       <url>https://repo.eclipse.org/content/repositories/egit-releases/</url>
533     </repository>
534     <snapshotRepository>
535       <id>repo.eclipse.org</id>
536       <name>EGit Maven Repository - Snapshots</name>
537       <url>https://repo.eclipse.org/content/repositories/egit-snapshots/</url>
538       <uniqueVersion>true</uniqueVersion>
539     </snapshotRepository>
540   </distributionManagement>
541 </project>