Prepare 6.0.0-SNAPSHOT builds
[egit/eclipse.git] / pom.xml
blob863fbcc070854e31373609edaaaf0a34d43765ca
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     <egit-version>6.0.0-SNAPSHOT</egit-version>
64     <tycho-version>1.7.0</tycho-version>
65     <tycho-extras-version>${tycho-version}</tycho-extras-version>
66     <jboss-tycho-plugins-version>1.5.1</jboss-tycho-plugins-version>
67     <spotbugs-maven-plugin-version>3.1.12</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>https://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     <egit.test.tmpdir></egit.test.tmpdir>
75     <test.vmparams></test.vmparams>
76     <coretest.vmparams>-Degit.test.tmpdir=${egit.test.tmpdir}</coretest.vmparams>
77     <uitest.vmparams>-Degit.test.tmpdir=${egit.test.tmpdir} -Dorg.eclipse.swtbot.search.timeout=30000 -Dorg.eclipse.swtbot.screenshots.dir=target/screenshots -Xmx1024m</uitest.vmparams>
78     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
79     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
80   </properties>
82   <profiles>
83     <profile>
84       <id>compile-jdk-newer-than-8</id>
85       <!-- The release argument is allowed only if the Java version used to run maven is > 1.8 -->
86       <activation>
87         <jdk>[9,]</jdk>
88       </activation>
89       <build>
90         <plugins>
91           <plugin>
92             <groupId>org.eclipse.tycho</groupId>
93             <artifactId>tycho-compiler-plugin</artifactId>
94             <configuration>
95               <release>8</release>
96             </configuration>
97           </plugin>
98         </plugins>
99       </build>
100     </profile>
101     <profile>
102       <id>static-checks</id>
103       <build>
104         <plugins>
105           <plugin>
106             <groupId>com.github.spotbugs</groupId>
107             <artifactId>spotbugs-maven-plugin</artifactId>
108           </plugin>
109           <plugin>
110             <groupId>org.apache.maven.plugins</groupId>
111             <artifactId>maven-pmd-plugin</artifactId>
112           </plugin>
113         </plugins>
114       </build>
115     </profile>
116     <profile>
117       <id>eclipse-sign</id>
118       <build>
119         <plugins>
120           <plugin>
121             <groupId>org.eclipse.tycho</groupId>
122             <artifactId>target-platform-configuration</artifactId>
123             <configuration>
124               <includePackedArtifacts>true</includePackedArtifacts>
125             </configuration>
126           </plugin>
127           <plugin>
128             <groupId>org.eclipse.tycho.extras</groupId>
129             <artifactId>tycho-pack200a-plugin</artifactId>
130             <executions>
131               <execution>
132                 <id>pack200-normalize</id>
133                 <goals>
134                   <goal>normalize</goal>
135                 </goals>
136                 <phase>verify</phase>
137               </execution>
138             </executions>
139           </plugin>
140           <plugin>
141             <groupId>org.eclipse.cbi.maven.plugins</groupId>
142             <artifactId>eclipse-jarsigner-plugin</artifactId>
143             <executions>
144               <execution>
145                 <id>sign</id>
146                 <goals>
147                   <goal>sign</goal>
148                 </goals>
149                 <phase>verify</phase>
150               </execution>
151             </executions>
152           </plugin>
153           <plugin>
154             <groupId>org.eclipse.tycho.extras</groupId>
155             <artifactId>tycho-pack200b-plugin</artifactId>
156             <executions>
157               <execution>
158                 <id>pack200-pack</id>
159                 <goals>
160                   <goal>pack</goal>
161                 </goals>
162                 <phase>verify</phase>
163               </execution>
164             </executions>
165           </plugin>
166           <plugin>
167             <groupId>org.eclipse.tycho</groupId>
168             <artifactId>tycho-p2-plugin</artifactId>
169             <executions>
170               <execution>
171                 <id>p2-metadata</id>
172                 <goals>
173                   <goal>p2-metadata</goal>
174                 </goals>
175                 <phase>verify</phase>
176               </execution>
177             </executions>
178             <configuration>
179               <defaultP2Metadata>false</defaultP2Metadata>
180             </configuration>
181           </plugin>
182         </plugins>
183       </build>
184     </profile>
185     <profile>
186       <id>eclipse-pack</id>
187       <build>
188         <plugins>
189           <plugin>
190             <groupId>org.eclipse.tycho</groupId>
191             <artifactId>target-platform-configuration</artifactId>
192             <configuration>
193               <includePackedArtifacts>true</includePackedArtifacts>
194             </configuration>
195           </plugin>
196           <plugin>
197             <groupId>org.eclipse.tycho.extras</groupId>
198             <artifactId>tycho-pack200a-plugin</artifactId>
199             <executions>
200               <execution>
201                 <id>pack200-normalize</id>
202                 <goals>
203                   <goal>normalize</goal>
204                 </goals>
205               </execution>
206             </executions>
207           </plugin>
208           <plugin>
209             <groupId>org.eclipse.tycho.extras</groupId>
210             <artifactId>tycho-pack200b-plugin</artifactId>
211             <executions>
212               <execution>
213                 <id>pack200-pack</id>
214                 <goals>
215                   <goal>pack</goal>
216                 </goals>
217               </execution>
218             </executions>
219           </plugin>
220           <plugin>
221             <groupId>org.eclipse.tycho</groupId>
222             <artifactId>tycho-p2-plugin</artifactId>
223             <executions>
224               <execution>
225                 <id>p2-metadata</id>
226                 <goals>
227                   <goal>p2-metadata</goal>
228                 </goals>
229                 <phase>package</phase>
230               </execution>
231             </executions>
232             <configuration>
233               <defaultP2Metadata>false</defaultP2Metadata>
234             </configuration>
235           </plugin>
236         </plugins>
237       </build>
238     </profile>
239     <profile>
240       <id>macosx</id>
241       <activation>
242         <os>
243           <name>mac os x</name>
244           <family>mac</family>
245         </os>
246       </activation>
247       <properties>
248         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams} -XstartOnFirstThread</ui.test.vmargs>
249       </properties>
250     </profile>
251     <profile>
252       <id>other-os</id>
253       <activation>
254         <os>
255           <name>not-mac</name>
256           <family>!mac</family>
257         </os>
258       </activation>
259       <properties>
260         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams}</ui.test.vmargs>
261       </properties>
262     </profile>
263   </profiles>
265   <modules>
266     <module>org.eclipse.egit.target</module>
268     <module>org.eclipse.egit</module>
269     <module>org.eclipse.egit.core</module>
270     <module>org.eclipse.egit.ui</module>
272     <module>org.eclipse.egit.mylyn.ui</module>
273     <module>org.eclipse.egit.mylyn-feature</module>
275     <module>org.eclipse.egit.doc</module>
276     <module>org.eclipse.egit-feature</module>
278     <module>org.eclipse.egit.gitflow-feature</module>
279         <module>org.eclipse.egit.gitflow</module>
280         <module>org.eclipse.egit.gitflow.ui</module>
281     <module>org.eclipse.egit.gitflow.test</module>
283     <module>org.eclipse.egit.source-feature</module>
285     <module>org.eclipse.egit.repository</module>
287     <module>org.eclipse.egit.core.junit</module>
288     <module>org.eclipse.egit.core.test</module>
289     <module>org.eclipse.egit.ui.test</module>
290     <module>org.eclipse.egit.mylyn.ui.test</module>
291   </modules>
293   <pluginRepositories>
294     <pluginRepository>
295       <id>repo.eclipse.org.cbi-releases</id>
296       <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
297     </pluginRepository>
298     <pluginRepository>
299       <id>repo.eclipse.org.cbi-snapshots</id>
300       <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
301     </pluginRepository>
302     <pluginRepository>
303       <id>repo.eclipse.org.dash-releases</id>
304       <url>https://repo.eclipse.org/content/repositories/dash-licenses-releases/</url>
305     </pluginRepository>
306     <pluginRepository>
307       <id>repo.eclipse.org.dash-snapshots</id>
308       <url>https://repo.eclipse.org/content/repositories/dash-licenses-snapshots/</url>
309     </pluginRepository>
310   </pluginRepositories>
312   <repositories>
313     <repository>
314       <id>jgit</id>
315       <layout>p2</layout>
316       <url>${jgit-site}</url>
317     </repository>
318     <repository>
319       <id>eclipse.license</id>
320       <layout>p2</layout>
321       <url>${license-site}</url>
322     </repository>
323   </repositories>
325   <build>
326     <plugins>
327       <plugin>
328         <groupId>org.apache.maven.plugins</groupId>
329         <artifactId>maven-enforcer-plugin</artifactId>
330         <executions>
331           <execution>
332             <id>enforce-maven</id>
333             <goals>
334               <goal>enforce</goal>
335             </goals>
336             <configuration>
337               <rules>
338                 <requireMavenVersion>
339                   <version>3.5.2</version>
340                 </requireMavenVersion>
341               </rules>
342             </configuration>
343           </execution>
344         </executions>
345       </plugin>
346       <plugin>
347         <groupId>org.eclipse.tycho</groupId>
348         <artifactId>tycho-maven-plugin</artifactId>
349         <extensions>true</extensions>
350       </plugin>
351       <plugin>
352         <groupId>org.eclipse.tycho</groupId>
353         <artifactId>target-platform-configuration</artifactId>
354         <configuration>
355           <target>
356             <artifact>
357               <groupId>org.eclipse.egit</groupId>
358               <artifactId>org.eclipse.egit.target</artifactId>
359               <version>${egit-version}</version>
360               <classifier>${target-platform}</classifier>
361             </artifact>
362           </target>
363           <resolver>p2</resolver>
364           <pomDependencies>consider</pomDependencies>
365           <environments>
366             <environment>
367               <os>linux</os>
368               <ws>gtk</ws>
369               <arch>x86</arch>
370             </environment>
371             <environment>
372               <os>linux</os>
373               <ws>gtk</ws>
374               <arch>x86_64</arch>
375             </environment>
376             <environment>
377               <os>win32</os>
378               <ws>win32</ws>
379               <arch>x86</arch>
380             </environment>
381             <environment>
382               <os>win32</os>
383               <ws>win32</ws>
384               <arch>x86_64</arch>
385             </environment>
386             <environment>
387               <os>macosx</os>
388               <ws>cocoa</ws>
389               <arch>x86_64</arch>
390             </environment>
391           </environments>
392         </configuration>
393       </plugin>
394     </plugins>
395     <pluginManagement>
396       <plugins>
397         <!-- Tycho plugins -->
398         <plugin>
399           <groupId>org.eclipse.tycho</groupId>
400           <artifactId>tycho-compiler-plugin</artifactId>
401           <version>${tycho-version}</version>
402           <configuration>
403             <encoding>UTF-8</encoding>
404             <source>1.8</source>
405             <target>1.8</target>
406             <!-- Do not use useProjectSettings; it'll always override -nowarn -->
407             <useProjectSettings>false</useProjectSettings>
408             <compilerArgs>
409               <arg>-properties</arg>
410               <arg>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</arg>
411               <arg>-nowarn</arg>
412             </compilerArgs>
413           </configuration>
414         </plugin>
415         <plugin>
416           <groupId>org.eclipse.tycho</groupId>
417           <artifactId>tycho-source-plugin</artifactId>
418           <version>${tycho-version}</version>
419           <executions>
420             <execution>
421               <id>attach-source</id>
422               <goals>
423                 <goal>plugin-source</goal>
424               </goals>
425             </execution>
426           </executions>
427         </plugin>
428         <plugin>
429           <groupId>org.eclipse.tycho</groupId>
430           <artifactId>tycho-packaging-plugin</artifactId>
431           <version>${tycho-version}</version>
432           <configuration>
433             <sourceReferences>
434               <generate>true</generate>
435             </sourceReferences>
436           </configuration>
437           <dependencies>
438             <dependency>
439               <groupId>org.eclipse.tycho.extras</groupId>
440               <artifactId>tycho-sourceref-jgit</artifactId>
441               <version>${tycho-extras-version}</version>
442             </dependency>
443           </dependencies>
444         </plugin>
445         <plugin>
446           <groupId>org.eclipse.tycho</groupId>
447           <artifactId>tycho-surefire-plugin</artifactId>
448           <version>${tycho-version}</version>
449           <configuration>
450             <trimStackTrace>false</trimStackTrace>
451             <useJDK>BREE</useJDK>
452           </configuration>
453         </plugin>
454         <plugin>
455           <groupId>org.eclipse.tycho</groupId>
456           <artifactId>tycho-maven-plugin</artifactId>
457           <version>${tycho-version}</version>
458         </plugin>
459         <plugin>
460           <groupId>org.eclipse.tycho</groupId>
461           <artifactId>target-platform-configuration</artifactId>
462           <version>${tycho-version}</version>
463         </plugin>
464         <plugin>
465           <groupId>org.eclipse.tycho</groupId>
466           <artifactId>tycho-p2-plugin</artifactId>
467           <version>${tycho-version}</version>
468         </plugin>
469         <plugin>
470           <groupId>org.eclipse.tycho</groupId>
471           <artifactId>tycho-p2-publisher-plugin</artifactId>
472           <version>${tycho-version}</version>
473         </plugin>
474         <plugin>
475           <groupId>org.eclipse.tycho</groupId>
476           <artifactId>tycho-p2-repository-plugin</artifactId>
477           <version>${tycho-version}</version>
478         </plugin>
479         <plugin>
480           <groupId>org.eclipse.tycho.extras</groupId>
481           <artifactId>tycho-pack200a-plugin</artifactId>
482           <version>${tycho-extras-version}</version>
483         </plugin>
484         <plugin>
485           <groupId>org.eclipse.tycho.extras</groupId>
486           <artifactId>tycho-pack200b-plugin</artifactId>
487           <version>${tycho-extras-version}</version>
488         </plugin>
489         <plugin>
490           <groupId>org.jboss.tools.tycho-plugins</groupId>
491           <artifactId>repository-utils</artifactId>
492           <version>${jboss-tycho-plugins-version}</version>
493         </plugin>
494         <!-- other plugins -->
495         <plugin>
496           <groupId>org.apache.maven.plugins</groupId>
497           <artifactId>maven-enforcer-plugin</artifactId>
498           <version>3.0.0-M3</version>
499         </plugin>
500         <plugin>
501           <groupId>org.apache.maven.plugins</groupId>
502           <artifactId>maven-antrun-plugin</artifactId>
503           <version>1.8</version>
504         </plugin>
505         <plugin>
506           <groupId>com.github.spotbugs</groupId>
507           <artifactId>spotbugs-maven-plugin</artifactId>
508           <version>${spotbugs-maven-plugin-version}</version>
509           <configuration>
510             <xmlOutput>true</xmlOutput>
511             <failOnError>false</failOnError>
512           </configuration>
513           <executions>
514             <execution>
515               <goals>
516                 <goal>check</goal>
517               </goals>
518             </execution>
519           </executions>
520         </plugin>
521         <plugin>
522           <groupId>org.apache.maven.plugins</groupId>
523           <artifactId>maven-pmd-plugin</artifactId>
524           <version>3.12.0</version>
525           <configuration>
526             <sourceEncoding>utf-8</sourceEncoding>
527             <minimumTokens>100</minimumTokens>
528             <targetJdk>1.8</targetJdk>
529             <format>xml</format>
530             <failOnViolation>false</failOnViolation>
531             <linkXRef>false</linkXRef>
532           </configuration>
533           <executions>
534             <execution>
535               <goals>
536                 <goal>cpd-check</goal>
537               </goals>
538             </execution>
539           </executions>
540         </plugin>
541         <plugin>
542           <groupId>org.apache.maven.plugins</groupId>
543           <artifactId>maven-assembly-plugin</artifactId>
544           <version>3.2.0</version>
545         </plugin>
546         <plugin>
547           <groupId>org.codehaus.mojo</groupId>
548           <artifactId>build-helper-maven-plugin</artifactId>
549           <version>3.0.0</version>
550         </plugin>
551         <plugin>
552           <groupId>org.eclipse.cbi.maven.plugins</groupId>
553           <artifactId>eclipse-jarsigner-plugin</artifactId>
554           <version>1.3.1</version>
555         </plugin>
556       </plugins>
557     </pluginManagement>
558   </build>
560   <distributionManagement>
561     <repository>
562       <id>repo.eclipse.org</id>
563       <name>EGit Maven Repository - Releases</name>
564       <url>https://repo.eclipse.org/content/repositories/egit-releases/</url>
565     </repository>
566     <snapshotRepository>
567       <id>repo.eclipse.org</id>
568       <name>EGit Maven Repository - Snapshots</name>
569       <url>https://repo.eclipse.org/content/repositories/egit-snapshots/</url>
570       <uniqueVersion>true</uniqueVersion>
571     </snapshotRepository>
572   </distributionManagement>
573 </project>