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