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