Update Orbit to R20220302172233 for 2022-03
[egit/eclipse.git] / pom.xml
blob3a4825580b8927f940169cea9d0d6cbb4b8399a2
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>6.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>https://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>https://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     <maven-version-minimum>3.6.3</maven-version-minimum>
64     <egit-version>6.1.0-SNAPSHOT</egit-version>
65     <tycho-version>2.5.0</tycho-version>
66     <tycho-extras-version>${tycho-version}</tycho-extras-version>
67     <java-version>11</java-version>
68     <ecj-version>3.27.0</ecj-version>
69     <spotbugs-maven-plugin-version>4.4.1</spotbugs-maven-plugin-version>
70     <jgit-site>file:/${basedir}/../../jgit/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/target/repository</jgit-site>
71     <license-site>https://download.eclipse.org/cbi/updates/license</license-site>
72     <signer-input-directory>/home/data/httpd/download-staging.priv/egit</signer-input-directory>
73     <download-publish-path>/home/data/httpd/download.eclipse.org/egit/updates-nightly</download-publish-path>
74     <target-platform>egit-4.17</target-platform>
75     <tycho.scmUrl>scm:git:https://git.eclipse.org/r/egit/egit.git</tycho.scmUrl>
76     <egit.test.tmpdir></egit.test.tmpdir>
77     <test.vmparams></test.vmparams>
78     <coretest.vmparams>-Degit.test.tmpdir=${egit.test.tmpdir}</coretest.vmparams>
79     <uitest.vmparams>-Degit.test.tmpdir=${egit.test.tmpdir} -Dorg.eclipse.swtbot.search.timeout=30000 -Dorg.eclipse.swtbot.screenshots.dir=target/screenshots -Xmx1024m</uitest.vmparams>
80     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
81     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
82   </properties>
84   <profiles>
85     <profile>
86       <id>static-checks</id>
87       <build>
88         <plugins>
89           <plugin>
90             <groupId>com.github.spotbugs</groupId>
91             <artifactId>spotbugs-maven-plugin</artifactId>
92           </plugin>
93           <plugin>
94             <groupId>org.apache.maven.plugins</groupId>
95             <artifactId>maven-pmd-plugin</artifactId>
96           </plugin>
97         </plugins>
98       </build>
99     </profile>
100     <profile>
101       <id>eclipse-sign</id>
102       <build>
103         <plugins>
104           <plugin>
105             <groupId>org.eclipse.tycho</groupId>
106             <artifactId>target-platform-configuration</artifactId>
107             <configuration>
108               <includePackedArtifacts>true</includePackedArtifacts>
109             </configuration>
110           </plugin>
111           <plugin>
112             <groupId>org.eclipse.cbi.maven.plugins</groupId>
113             <artifactId>eclipse-jarsigner-plugin</artifactId>
114             <executions>
115               <execution>
116                 <id>sign</id>
117                 <goals>
118                   <goal>sign</goal>
119                 </goals>
120                 <phase>verify</phase>
121               </execution>
122             </executions>
123           </plugin>
124           <plugin>
125             <groupId>org.eclipse.tycho</groupId>
126             <artifactId>tycho-p2-plugin</artifactId>
127             <executions>
128               <execution>
129                 <id>p2-metadata</id>
130                 <goals>
131                   <goal>p2-metadata</goal>
132                 </goals>
133                 <phase>verify</phase>
134               </execution>
135             </executions>
136             <configuration>
137               <defaultP2Metadata>false</defaultP2Metadata>
138             </configuration>
139           </plugin>
140         </plugins>
141       </build>
142     </profile>
143     <profile>
144       <id>macosx</id>
145       <activation>
146         <os>
147           <name>mac os x</name>
148           <family>mac</family>
149         </os>
150       </activation>
151       <properties>
152         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams} -XstartOnFirstThread</ui.test.vmargs>
153       </properties>
154     </profile>
155     <profile>
156       <id>other-os</id>
157       <activation>
158         <os>
159           <name>not-mac</name>
160           <family>!mac</family>
161         </os>
162       </activation>
163       <properties>
164         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams}</ui.test.vmargs>
165       </properties>
166     </profile>
167   </profiles>
169   <modules>
170     <module>org.eclipse.egit.target</module>
172     <module>org.eclipse.egit</module>
173     <module>org.eclipse.egit.core</module>
174     <module>org.eclipse.egit.ui</module>
176     <module>org.eclipse.egit.mylyn.ui</module>
177     <module>org.eclipse.egit.mylyn-feature</module>
179     <module>org.eclipse.egit.doc</module>
180     <module>org.eclipse.egit-feature</module>
182     <module>org.eclipse.egit.gitflow-feature</module>
183         <module>org.eclipse.egit.gitflow</module>
184         <module>org.eclipse.egit.gitflow.ui</module>
185     <module>org.eclipse.egit.gitflow.test</module>
187     <module>org.eclipse.egit.source-feature</module>
189     <module>org.eclipse.egit.repository</module>
191     <module>org.eclipse.egit.core.junit</module>
192     <module>org.eclipse.egit.core.test</module>
193     <module>org.eclipse.egit.ui.test</module>
194     <module>org.eclipse.egit.mylyn.ui.test</module>
195   </modules>
197   <pluginRepositories>
198     <pluginRepository>
199       <id>repo.eclipse.org.cbi-releases</id>
200       <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
201     </pluginRepository>
202     <pluginRepository>
203       <id>repo.eclipse.org.cbi-snapshots</id>
204       <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
205     </pluginRepository>
206     <pluginRepository>
207       <id>repo.eclipse.org.dash-releases</id>
208       <url>https://repo.eclipse.org/content/repositories/dash-licenses-releases/</url>
209     </pluginRepository>
210     <pluginRepository>
211       <id>repo.eclipse.org.dash-snapshots</id>
212       <url>https://repo.eclipse.org/content/repositories/dash-licenses-snapshots/</url>
213     </pluginRepository>
214   </pluginRepositories>
216   <repositories>
217     <repository>
218       <id>jgit</id>
219       <layout>p2</layout>
220       <url>${jgit-site}</url>
221     </repository>
222     <repository>
223       <id>eclipse.license</id>
224       <layout>p2</layout>
225       <url>${license-site}</url>
226     </repository>
227   </repositories>
229   <build>
230     <plugins>
231       <plugin>
232         <groupId>org.apache.maven.plugins</groupId>
233         <artifactId>maven-enforcer-plugin</artifactId>
234         <executions>
235           <execution>
236             <id>enforce-maven</id>
237             <goals>
238               <goal>enforce</goal>
239             </goals>
240             <configuration>
241               <rules>
242                 <requireMavenVersion>
243                   <version>${maven-version-minimum}</version>
244                 </requireMavenVersion>
245               </rules>
246             </configuration>
247           </execution>
248         </executions>
249       </plugin>
250       <plugin>
251         <groupId>org.eclipse.tycho</groupId>
252         <artifactId>tycho-maven-plugin</artifactId>
253         <extensions>true</extensions>
254       </plugin>
255       <plugin>
256         <groupId>org.eclipse.tycho</groupId>
257         <artifactId>target-platform-configuration</artifactId>
258         <configuration>
259           <target>
260             <artifact>
261               <groupId>org.eclipse.egit</groupId>
262               <artifactId>org.eclipse.egit.target</artifactId>
263               <version>${egit-version}</version>
264               <classifier>${target-platform}</classifier>
265             </artifact>
266           </target>
267           <resolver>p2</resolver>
268           <pomDependencies>consider</pomDependencies>
269           <environments>
270             <environment>
271               <os>linux</os>
272               <ws>gtk</ws>
273               <arch>x86_64</arch>
274             </environment>
275             <environment>
276               <os>win32</os>
277               <ws>win32</ws>
278               <arch>x86_64</arch>
279             </environment>
280             <environment>
281               <os>macosx</os>
282               <ws>cocoa</ws>
283               <arch>x86_64</arch>
284             </environment>
285           </environments>
286         </configuration>
287       </plugin>
288     </plugins>
289     <pluginManagement>
290       <plugins>
291         <!-- Tycho plugins -->
292         <plugin>
293           <groupId>org.eclipse.tycho</groupId>
294           <artifactId>tycho-compiler-plugin</artifactId>
295           <version>${tycho-version}</version>
296           <configuration>
297             <encoding>UTF-8</encoding>
298             <release>${java-version}</release>
299             <!-- Do not use useProjectSettings; it'll always override -nowarn -->
300             <useProjectSettings>false</useProjectSettings>
301             <compilerArgs>
302               <arg>-properties</arg>
303               <arg>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</arg>
304               <arg>-nowarn</arg>
305             </compilerArgs>
306           </configuration>
307           <dependencies>
308               <dependency>
309                 <groupId>org.eclipse.jdt</groupId>
310                 <artifactId>ecj</artifactId>
311                 <version>${ecj-version}</version>
312               </dependency>
313           </dependencies>
314         </plugin>
315         <plugin>
316           <groupId>org.eclipse.tycho</groupId>
317           <artifactId>tycho-source-plugin</artifactId>
318           <version>${tycho-version}</version>
319           <executions>
320             <execution>
321               <id>attach-source</id>
322               <goals>
323                 <goal>plugin-source</goal>
324               </goals>
325             </execution>
326           </executions>
327         </plugin>
328         <plugin>
329           <groupId>org.eclipse.tycho</groupId>
330           <artifactId>tycho-packaging-plugin</artifactId>
331           <version>${tycho-version}</version>
332           <configuration>
333             <sourceReferences>
334               <generate>true</generate>
335             </sourceReferences>
336           </configuration>
337           <dependencies>
338             <dependency>
339               <groupId>org.eclipse.tycho.extras</groupId>
340               <artifactId>tycho-sourceref-jgit</artifactId>
341               <version>${tycho-extras-version}</version>
342             </dependency>
343           </dependencies>
344         </plugin>
345         <plugin>
346           <groupId>org.eclipse.tycho</groupId>
347           <artifactId>tycho-surefire-plugin</artifactId>
348           <version>${tycho-version}</version>
349           <configuration>
350             <trimStackTrace>false</trimStackTrace>
351             <useJDK>BREE</useJDK>
352           </configuration>
353         </plugin>
354         <plugin>
355           <groupId>org.eclipse.tycho</groupId>
356           <artifactId>tycho-maven-plugin</artifactId>
357           <version>${tycho-version}</version>
358         </plugin>
359         <plugin>
360           <groupId>org.eclipse.tycho</groupId>
361           <artifactId>target-platform-configuration</artifactId>
362           <version>${tycho-version}</version>
363         </plugin>
364         <plugin>
365           <groupId>org.eclipse.tycho</groupId>
366           <artifactId>tycho-p2-plugin</artifactId>
367           <version>${tycho-version}</version>
368         </plugin>
369         <plugin>
370           <groupId>org.eclipse.tycho</groupId>
371           <artifactId>tycho-p2-publisher-plugin</artifactId>
372           <version>${tycho-version}</version>
373         </plugin>
374         <plugin>
375           <groupId>org.eclipse.tycho</groupId>
376           <artifactId>tycho-p2-repository-plugin</artifactId>
377           <version>${tycho-version}</version>
378         </plugin>
379         <!-- other plugins -->
380         <plugin>
381           <groupId>org.apache.maven.plugins</groupId>
382           <artifactId>maven-enforcer-plugin</artifactId>
383           <version>3.0.0-M3</version>
384         </plugin>
385         <plugin>
386           <groupId>org.apache.maven.plugins</groupId>
387           <artifactId>maven-antrun-plugin</artifactId>
388           <version>1.8</version>
389         </plugin>
390         <plugin>
391           <groupId>com.github.spotbugs</groupId>
392           <artifactId>spotbugs-maven-plugin</artifactId>
393           <version>${spotbugs-maven-plugin-version}</version>
394           <configuration>
395             <excludeFilterFile>${project.basedir}/../spotbugs-excludes.xml</excludeFilterFile>
396             <xmlOutput>true</xmlOutput>
397             <failOnError>false</failOnError>
398           </configuration>
399           <executions>
400             <execution>
401               <goals>
402                 <goal>check</goal>
403               </goals>
404             </execution>
405           </executions>
406         </plugin>
407         <plugin>
408           <groupId>org.apache.maven.plugins</groupId>
409           <artifactId>maven-pmd-plugin</artifactId>
410           <version>3.15.0</version>
411           <configuration>
412             <sourceEncoding>utf-8</sourceEncoding>
413             <minimumTokens>100</minimumTokens>
414             <targetJdk>${java-version}</targetJdk>
415             <format>xml</format>
416             <failOnViolation>false</failOnViolation>
417             <linkXRef>false</linkXRef>
418           </configuration>
419           <executions>
420             <execution>
421               <goals>
422                 <goal>cpd-check</goal>
423               </goals>
424             </execution>
425           </executions>
426         </plugin>
427         <plugin>
428           <groupId>org.apache.maven.plugins</groupId>
429           <artifactId>maven-assembly-plugin</artifactId>
430           <version>3.2.0</version>
431         </plugin>
432         <plugin>
433           <groupId>org.codehaus.mojo</groupId>
434           <artifactId>build-helper-maven-plugin</artifactId>
435           <version>3.0.0</version>
436         </plugin>
437         <plugin>
438           <groupId>org.eclipse.cbi.maven.plugins</groupId>
439           <artifactId>eclipse-jarsigner-plugin</artifactId>
440           <version>1.3.2</version>
441         </plugin>
442       </plugins>
443     </pluginManagement>
444   </build>
446   <distributionManagement>
447     <repository>
448       <id>repo.eclipse.org</id>
449       <name>EGit Maven Repository - Releases</name>
450       <url>https://repo.eclipse.org/content/repositories/egit-releases/</url>
451     </repository>
452     <snapshotRepository>
453       <id>repo.eclipse.org</id>
454       <name>EGit Maven Repository - Snapshots</name>
455       <url>https://repo.eclipse.org/content/repositories/egit-snapshots/</url>
456       <uniqueVersion>true</uniqueVersion>
457     </snapshotRepository>
458   </distributionManagement>
459 </project>