EGit v5.1.2.201810061102-r
[egit/eclipse.git] / pom.xml
blobe04c27669ea0b159f4358e01e200389af4ac4b37
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.1.2.201810061102-r</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.1.2.201810061102-r</egit-version>
64     <tycho-version>1.2.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     <mockito-version>1.8.4</mockito-version>
68     <spotbugs-maven-plugin-version>3.1.6</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>http://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.6</target-platform>
74     <tycho.scmUrl>scm:git:https://git.eclipse.org/r/egit/egit.git</tycho.scmUrl>
75     <test.vmparams></test.vmparams>
76     <coretest.vmparams></coretest.vmparams>
77     <uitest.vmparams>-Dorg.eclipse.swtbot.search.timeout=30000 -Dorg.eclipse.swtbot.screenshots.dir=target/screenshots -Xmx1024m</uitest.vmparams>
78   </properties>
80   <profiles>
81     <profile>
82       <id>static-checks</id>
83       <build>
84         <plugins>
85           <plugin>
86             <groupId>com.github.spotbugs</groupId>
87             <artifactId>spotbugs-maven-plugin</artifactId>
88           </plugin>
89           <plugin>
90             <groupId>org.apache.maven.plugins</groupId>
91             <artifactId>maven-pmd-plugin</artifactId>
92           </plugin>
93         </plugins>
94       </build>
95     </profile>
96     <profile>
97       <id>eclipse-sign</id>
98       <build>
99         <plugins>
100           <plugin>
101             <groupId>org.eclipse.tycho</groupId>
102             <artifactId>target-platform-configuration</artifactId>
103             <configuration>
104               <includePackedArtifacts>true</includePackedArtifacts>
105             </configuration>
106           </plugin>
107           <plugin>
108             <groupId>org.eclipse.tycho.extras</groupId>
109             <artifactId>tycho-pack200a-plugin</artifactId>
110             <executions>
111               <execution>
112                 <id>pack200-normalize</id>
113                 <goals>
114                   <goal>normalize</goal>
115                 </goals>
116                 <phase>verify</phase>
117               </execution>
118             </executions>
119           </plugin>
120           <plugin>
121             <groupId>org.eclipse.cbi.maven.plugins</groupId>
122             <artifactId>eclipse-jarsigner-plugin</artifactId>
123             <executions>
124               <execution>
125                 <id>sign</id>
126                 <goals>
127                   <goal>sign</goal>
128                 </goals>
129                 <phase>verify</phase>
130               </execution>
131             </executions>
132           </plugin>
133           <plugin>
134             <groupId>org.eclipse.tycho.extras</groupId>
135             <artifactId>tycho-pack200b-plugin</artifactId>
136             <executions>
137               <execution>
138                 <id>pack200-pack</id>
139                 <goals>
140                   <goal>pack</goal>
141                 </goals>
142                 <phase>verify</phase>
143               </execution>
144             </executions>
145           </plugin>
146           <plugin>
147             <groupId>org.eclipse.tycho</groupId>
148             <artifactId>tycho-p2-plugin</artifactId>
149             <executions>
150               <execution>
151                 <id>p2-metadata</id>
152                 <goals>
153                   <goal>p2-metadata</goal>
154                 </goals>
155                 <phase>verify</phase>
156               </execution>
157             </executions>
158             <configuration>
159               <defaultP2Metadata>false</defaultP2Metadata>
160             </configuration>
161           </plugin>
162         </plugins>
163       </build>
164     </profile>
165     <profile>
166       <id>eclipse-pack</id>
167       <build>
168         <plugins>
169           <plugin>
170             <groupId>org.eclipse.tycho</groupId>
171             <artifactId>target-platform-configuration</artifactId>
172             <configuration>
173               <includePackedArtifacts>true</includePackedArtifacts>
174             </configuration>
175           </plugin>
176           <plugin>
177             <groupId>org.eclipse.tycho.extras</groupId>
178             <artifactId>tycho-pack200a-plugin</artifactId>
179             <executions>
180               <execution>
181                 <id>pack200-normalize</id>
182                 <goals>
183                   <goal>normalize</goal>
184                 </goals>
185               </execution>
186             </executions>
187           </plugin>
188           <plugin>
189             <groupId>org.eclipse.tycho.extras</groupId>
190             <artifactId>tycho-pack200b-plugin</artifactId>
191             <executions>
192               <execution>
193                 <id>pack200-pack</id>
194                 <goals>
195                   <goal>pack</goal>
196                 </goals>
197               </execution>
198             </executions>
199           </plugin>
200           <plugin>
201             <groupId>org.eclipse.tycho</groupId>
202             <artifactId>tycho-p2-plugin</artifactId>
203             <executions>
204               <execution>
205                 <id>p2-metadata</id>
206                 <goals>
207                   <goal>p2-metadata</goal>
208                 </goals>
209                 <phase>package</phase>
210               </execution>
211             </executions>
212             <configuration>
213               <defaultP2Metadata>false</defaultP2Metadata>
214             </configuration>
215           </plugin>
216         </plugins>
217       </build>
218     </profile>
219     <profile>
220       <id>macosx</id>
221       <activation>
222         <os>
223           <name>mac os x</name>
224           <family>mac</family>
225         </os>
226       </activation>
227       <properties>
228         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams} -XstartOnFirstThread</ui.test.vmargs>
229       </properties>
230     </profile>
231     <profile>
232       <id>other-os</id>
233       <activation>
234         <os>
235           <name>not-mac</name>
236           <family>!mac</family>
237         </os>
238       </activation>
239       <properties>
240         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams}</ui.test.vmargs>
241       </properties>
242     </profile>
243   </profiles>
245   <modules>
246     <module>org.eclipse.egit.target</module>
248     <module>org.eclipse.egit</module>
249     <module>org.eclipse.egit.core</module>
250     <module>org.eclipse.egit.ui</module>
252     <module>org.eclipse.egit.ui.smartimport</module>
254     <module>org.eclipse.egit.mylyn.ui</module>
255     <module>org.eclipse.egit.mylyn-feature</module>
257     <module>org.eclipse.egit.doc</module>
258     <module>org.eclipse.egit-feature</module>
260     <module>org.eclipse.egit.gitflow-feature</module>
261         <module>org.eclipse.egit.gitflow</module>
262         <module>org.eclipse.egit.gitflow.ui</module>
263     <module>org.eclipse.egit.gitflow.test</module>
265     <module>org.eclipse.egit.source-feature</module>
267     <module>org.eclipse.egit.repository</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         </plugin>
426         <plugin>
427           <groupId>org.eclipse.tycho</groupId>
428           <artifactId>tycho-maven-plugin</artifactId>
429           <version>${tycho-version}</version>
430         </plugin>
431         <plugin>
432           <groupId>org.eclipse.tycho</groupId>
433           <artifactId>target-platform-configuration</artifactId>
434           <version>${tycho-version}</version>
435         </plugin>
436         <plugin>
437           <groupId>org.eclipse.tycho</groupId>
438           <artifactId>tycho-p2-plugin</artifactId>
439           <version>${tycho-version}</version>
440         </plugin>
441         <plugin>
442           <groupId>org.eclipse.tycho.extras</groupId>
443           <artifactId>tycho-pack200a-plugin</artifactId>
444           <version>${tycho-extras-version}</version>
445         </plugin>
446         <plugin>
447           <groupId>org.eclipse.tycho.extras</groupId>
448           <artifactId>tycho-pack200b-plugin</artifactId>
449           <version>${tycho-extras-version}</version>
450         </plugin>
451         <plugin>
452           <groupId>org.jboss.tools.tycho-plugins</groupId>
453           <artifactId>repository-utils</artifactId>
454           <version>${jboss-tycho-plugins-version}</version>
455         </plugin>
456         <!-- other plugins -->
457         <plugin>
458           <groupId>org.apache.maven.plugins</groupId>
459           <artifactId>maven-resources-plugin</artifactId>
460           <version>3.1.0</version>
461           <configuration>
462             <encoding>ISO-8859-1</encoding>
463           </configuration>
464         </plugin>
465         <plugin>
466           <groupId>org.apache.maven.plugins</groupId>
467           <artifactId>maven-antrun-plugin</artifactId>
468           <version>1.8</version>
469         </plugin>
470         <plugin>
471           <groupId>com.github.spotbugs</groupId>
472           <artifactId>spotbugs-maven-plugin</artifactId>
473           <version>${spotbugs-maven-plugin-version}</version>
474           <configuration>
475             <xmlOutput>true</xmlOutput>
476             <failOnError>false</failOnError>
477           </configuration>
478           <executions>
479             <execution>
480               <goals>
481                 <goal>check</goal>
482               </goals>
483             </execution>
484           </executions>
485         </plugin>
486         <plugin>
487           <groupId>org.apache.maven.plugins</groupId>
488           <artifactId>maven-pmd-plugin</artifactId>
489           <version>3.10.0</version>
490           <configuration>
491             <sourceEncoding>utf-8</sourceEncoding>
492             <minimumTokens>100</minimumTokens>
493             <targetJdk>1.8</targetJdk>
494             <format>xml</format>
495             <failOnViolation>false</failOnViolation>
496           </configuration>
497           <executions>
498             <execution>
499               <goals>
500                 <goal>cpd-check</goal>
501               </goals>
502             </execution>
503           </executions>
504         </plugin>
505         <plugin>
506           <groupId>org.apache.maven.plugins</groupId>
507           <artifactId>maven-assembly-plugin</artifactId>
508           <version>3.1.0</version>
509         </plugin>
510         <plugin>
511           <groupId>org.codehaus.mojo</groupId>
512           <artifactId>build-helper-maven-plugin</artifactId>
513           <version>3.0.0</version>
514         </plugin>
515         <plugin>
516           <groupId>org.eclipse.cbi.maven.plugins</groupId>
517           <artifactId>eclipse-jarsigner-plugin</artifactId>
518           <version>1.1.5</version>
519         </plugin>
520       </plugins>
521     </pluginManagement>
522   </build>
524   <dependencies>
525     <dependency>
526       <groupId>org.mockito</groupId>
527       <artifactId>mockito-core</artifactId>
528       <version>${mockito-version}</version>
529     </dependency>
530   </dependencies>
532   <distributionManagement>
533     <repository>
534       <id>repo.eclipse.org</id>
535       <name>JGit Maven Repository - Releases</name>
536       <url>https://repo.eclipse.org/content/repositories/egit-releases/</url>
537     </repository>
538     <snapshotRepository>
539       <id>repo.eclipse.org</id>
540       <name>JGit Maven Repository - Snapshots</name>
541       <url>https://repo.eclipse.org/content/repositories/egit-snapshots/</url>
542       <uniqueVersion>true</uniqueVersion>
543     </snapshotRepository>
544   </distributionManagement>
545 </project>