EGit v4.8.0.201706111038-r
[egit/eclipse.git] / pom.xml
blob3bd06b9851d5bf381c74971dda90d533e5d39e2b
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 v1.0
9    which accompanies this distribution, and is available at
10    http://www.eclipse.org/legal/epl-v10.html
11 -->
13 <project xmlns="http://maven.apache.org/POM/4.0.0"
14     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
15     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
16   <modelVersion>4.0.0</modelVersion>
18   <prerequisites>
19     <maven>3.0</maven>
20   </prerequisites>
22   <groupId>org.eclipse.egit</groupId>
23   <artifactId>egit-parent</artifactId>
24   <version>4.8.0.201706111038-r</version>
25   <packaging>pom</packaging>
27   <name>EGit Parent</name>
29   <mailingLists>
30     <mailingList>
31       <name>egit-dev Mailing List</name>
32       <post>egit-dev@eclipse.org</post>
33       <subscribe>https://dev.eclipse.org/mailman/listinfo/egit-dev</subscribe>
34       <unsubscribe>https://dev.eclipse.org/mailman/listinfo/egit-dev</unsubscribe>
35       <archive>http://dev.eclipse.org/mhonarc/lists/egit-dev</archive>
36     </mailingList>
38     <mailingList>
39       <name>GIT Mailing List</name>
40       <post>git@vger.kernel.org</post>
41       <archive>http://marc.info/?l=git</archive>
42     </mailingList>
43   </mailingLists>
45   <issueManagement>
46     <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;product=EGit;classification=Technology</url>
47     <system>Bugzilla</system>
48   </issueManagement>
50   <licenses>
51     <license>
52       <name>Eclipse Public License v1.0</name>
53       <comments>
54        All rights reserved.
56        This program and the accompanying materials are made
57        available under the terms of the Eclipse Public License v1.0
58        which accompanies this distribution, and is available at
59        http://www.eclipse.org/legal/epl-v10.htm
60       </comments>
61     </license>
62   </licenses>
64   <properties>
65     <egit-version>4.8.0.201706111038-r</egit-version>
66     <tycho-version>1.0.0</tycho-version>
67     <tycho-extras-version>${tycho-version}</tycho-extras-version>
68     <jboss-tycho-plugins-version>0.26.0</jboss-tycho-plugins-version>
69     <mockito-version>1.8.4</mockito-version>
70     <jgit-site>file:/${basedir}/../../jgit/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/target/repository</jgit-site>
71     <license-site>http://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.6</target-platform>
75     <tycho.scmUrl>scm:git:https://git.eclipse.org/r/egit/egit.git</tycho.scmUrl>
76     <test.vmparams></test.vmparams>
77     <coretest.vmparams></coretest.vmparams>
78     <uitest.vmparams>-Dorg.eclipse.swtbot.search.timeout=30000 -Dorg.eclipse.swtbot.screenshots.dir=target/screenshots -Xmx1024m</uitest.vmparams>
79     <eclipse-with-smartimport>http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6M6-201603170200</eclipse-with-smartimport>
80   </properties>
82   <profiles>
83     <profile>
84       <id>static-checks</id>
85       <build>
86         <plugins>
87           <plugin>
88             <groupId>org.codehaus.mojo</groupId>
89             <artifactId>findbugs-maven-plugin</artifactId>
90           </plugin>
91           <plugin>
92             <groupId>org.apache.maven.plugins</groupId>
93             <artifactId>maven-pmd-plugin</artifactId>
94           </plugin>
95         </plugins>
96       </build>
97     </profile>
98     <profile>
99       <id>eclipse-sign</id>
100       <build>
101         <plugins>
102           <plugin>
103             <groupId>org.eclipse.tycho</groupId>
104             <artifactId>target-platform-configuration</artifactId>
105             <configuration>
106               <includePackedArtifacts>true</includePackedArtifacts>
107             </configuration>
108           </plugin>
109           <plugin>
110             <groupId>org.eclipse.tycho.extras</groupId>
111             <artifactId>tycho-pack200a-plugin</artifactId>
112             <executions>
113               <execution>
114                 <id>pack200-normalize</id>
115                 <goals>
116                   <goal>normalize</goal>
117                 </goals>
118                 <phase>verify</phase>
119               </execution>
120             </executions>
121           </plugin>
122           <plugin>
123             <groupId>org.eclipse.cbi.maven.plugins</groupId>
124             <artifactId>eclipse-jarsigner-plugin</artifactId>
125             <executions>
126               <execution>
127                 <id>sign</id>
128                 <goals>
129                   <goal>sign</goal>
130                 </goals>
131                 <phase>verify</phase>
132               </execution>
133             </executions>
134           </plugin>
135           <plugin>
136             <groupId>org.eclipse.tycho.extras</groupId>
137             <artifactId>tycho-pack200b-plugin</artifactId>
138             <executions>
139               <execution>
140                 <id>pack200-pack</id>
141                 <goals>
142                   <goal>pack</goal>
143                 </goals>
144                 <phase>verify</phase>
145               </execution>
146             </executions>
147           </plugin>
148           <plugin>
149             <groupId>org.eclipse.tycho</groupId>
150             <artifactId>tycho-p2-plugin</artifactId>
151             <executions>
152               <execution>
153                 <id>p2-metadata</id>
154                 <goals>
155                   <goal>p2-metadata</goal>
156                 </goals>
157                 <phase>verify</phase>
158               </execution>
159             </executions>
160             <configuration>
161               <defaultP2Metadata>false</defaultP2Metadata>
162             </configuration>
163           </plugin>
164         </plugins>
165       </build>
166     </profile>
167     <profile>
168       <id>eclipse-pack</id>
169       <build>
170         <plugins>
171           <plugin>
172             <groupId>org.eclipse.tycho</groupId>
173             <artifactId>target-platform-configuration</artifactId>
174             <configuration>
175               <includePackedArtifacts>true</includePackedArtifacts>
176             </configuration>
177           </plugin>
178           <plugin>
179             <groupId>org.eclipse.tycho.extras</groupId>
180             <artifactId>tycho-pack200a-plugin</artifactId>
181             <executions>
182               <execution>
183                 <id>pack200-normalize</id>
184                 <goals>
185                   <goal>normalize</goal>
186                 </goals>
187               </execution>
188             </executions>
189           </plugin>
190           <plugin>
191             <groupId>org.eclipse.tycho.extras</groupId>
192             <artifactId>tycho-pack200b-plugin</artifactId>
193             <executions>
194               <execution>
195                 <id>pack200-pack</id>
196                 <goals>
197                   <goal>pack</goal>
198                 </goals>
199               </execution>
200             </executions>
201           </plugin>
202           <plugin>
203             <groupId>org.eclipse.tycho</groupId>
204             <artifactId>tycho-p2-plugin</artifactId>
205             <executions>
206               <execution>
207                 <id>p2-metadata</id>
208                 <goals>
209                   <goal>p2-metadata</goal>
210                 </goals>
211                 <phase>package</phase>
212               </execution>
213             </executions>
214             <configuration>
215               <defaultP2Metadata>false</defaultP2Metadata>
216             </configuration>
217           </plugin>
218         </plugins>
219       </build>
220     </profile>
221     <profile>
222       <id>macosx</id>
223       <activation>
224         <os>
225           <name>mac os x</name>
226           <family>mac</family>
227         </os>
228       </activation>
229       <properties>
230         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams} -XstartOnFirstThread</ui.test.vmargs>
231       </properties>
232     </profile>
233     <profile>
234       <id>other-os</id>
235       <activation>
236         <os>
237           <name>not-mac</name>
238           <family>!mac</family>
239         </os>
240       </activation>
241       <properties>
242         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams}</ui.test.vmargs>
243       </properties>
244     </profile>
245   </profiles>
247   <modules>
248     <module>org.eclipse.egit.target</module>
250     <module>org.eclipse.egit</module>
251     <module>org.eclipse.egit.core</module>
252     <module>org.eclipse.egit.ui</module>
254     <module>org.eclipse.egit.ui.smartimport</module>
256     <module>org.eclipse.egit.mylyn.ui</module>
257     <module>org.eclipse.egit.mylyn-feature</module>
259     <module>org.eclipse.egit.doc</module>
260     <module>org.eclipse.egit-feature</module>
262     <module>org.eclipse.egit.gitflow-feature</module>
263         <module>org.eclipse.egit.gitflow</module>
264         <module>org.eclipse.egit.gitflow.ui</module>
265     <module>org.eclipse.egit.gitflow.test</module>
267     <module>org.eclipse.egit.source-feature</module>
269     <module>org.eclipse.egit.repository</module>
271     <module>org.eclipse.egit.core.test</module>
272     <module>org.eclipse.egit.ui.test</module>
273     <module>org.eclipse.egit.mylyn.ui.test</module>
274     <module>org.eclipse.egit.ui.importer.tests</module>
276   </modules>
278   <pluginRepositories>
279     <pluginRepository>
280       <id>repo.eclipse.org.cbi-releases</id>
281       <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
282     </pluginRepository>
283     <pluginRepository>
284       <id>repo.eclipse.org.cbi-snapshots</id>
285       <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
286     </pluginRepository>
287   </pluginRepositories>
289   <repositories>
290     <repository>
291       <id>jgit</id>
292       <layout>p2</layout>
293       <url>${jgit-site}</url>
294     </repository>
295     <repository>
296       <id>eclipse.license</id>
297       <layout>p2</layout>
298       <url>${license-site}</url>
299     </repository>
300   </repositories>
302   <build>
303     <plugins>
304       <plugin>
305         <groupId>org.eclipse.tycho</groupId>
306         <artifactId>tycho-maven-plugin</artifactId>
307         <extensions>true</extensions>
308       </plugin>
309       <plugin>
310         <groupId>org.eclipse.tycho</groupId>
311         <artifactId>target-platform-configuration</artifactId>
312         <configuration>
313           <target>
314             <artifact>
315               <groupId>org.eclipse.egit</groupId>
316               <artifactId>org.eclipse.egit.target</artifactId>
317               <version>${egit-version}</version>
318               <classifier>${target-platform}</classifier>
319             </artifact>
320           </target>
321           <resolver>p2</resolver>
322           <pomDependencies>consider</pomDependencies>
323           <environments>
324             <environment>
325               <os>linux</os>
326               <ws>gtk</ws>
327               <arch>x86</arch>
328             </environment>
329             <environment>
330               <os>linux</os>
331               <ws>gtk</ws>
332               <arch>x86_64</arch>
333             </environment>
334             <environment>
335               <os>win32</os>
336               <ws>win32</ws>
337               <arch>x86</arch>
338             </environment>
339             <environment>
340               <os>win32</os>
341               <ws>win32</ws>
342               <arch>x86_64</arch>
343             </environment>
344             <environment>
345               <os>macosx</os>
346               <ws>cocoa</ws>
347               <arch>x86_64</arch>
348             </environment>
349           </environments>
350         </configuration>
351       </plugin>
352     </plugins>
353     <pluginManagement>
354       <plugins>
355         <!-- Tycho plugins -->
356         <plugin>
357           <groupId>org.eclipse.tycho</groupId>
358           <artifactId>tycho-compiler-plugin</artifactId>
359           <version>${tycho-version}</version>
360           <configuration>
361             <encoding>UTF-8</encoding>
362             <source>1.8</source>
363             <target>1.8</target>
364             <!-- Do not use useProjectSettings; it'll always override -nowarn -->
365             <useProjectSettings>false</useProjectSettings>
366             <compilerArgs>
367               <arg>-properties</arg>
368               <arg>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</arg>
369               <arg>-nowarn</arg>
370             </compilerArgs>
371           </configuration>
372         </plugin>
373         <plugin>
374           <groupId>org.eclipse.tycho</groupId>
375           <artifactId>tycho-source-plugin</artifactId>
376           <version>${tycho-version}</version>
377           <executions>
378             <execution>
379               <id>attach-source</id>
380               <goals>
381                 <goal>plugin-source</goal>
382               </goals>
383             </execution>
384           </executions>
385         </plugin>
386         <plugin>
387           <groupId>org.eclipse.tycho</groupId>
388           <artifactId>tycho-packaging-plugin</artifactId>
389           <version>${tycho-version}</version>
390           <configuration>
391             <sourceReferences>
392               <generate>true</generate>
393             </sourceReferences>
394           </configuration>
395           <dependencies>
396             <dependency>
397               <groupId>org.eclipse.tycho.extras</groupId>
398               <artifactId>tycho-sourceref-jgit</artifactId>
399               <version>${tycho-extras-version}</version>
400             </dependency>
401           </dependencies>
402         </plugin>
403         <plugin>
404           <groupId>org.eclipse.tycho</groupId>
405           <artifactId>tycho-surefire-plugin</artifactId>
406           <version>${tycho-version}</version>
407         </plugin>
408         <plugin>
409           <groupId>org.eclipse.tycho</groupId>
410           <artifactId>tycho-maven-plugin</artifactId>
411           <version>${tycho-version}</version>
412         </plugin>
413         <plugin>
414           <groupId>org.eclipse.tycho</groupId>
415           <artifactId>target-platform-configuration</artifactId>
416           <version>${tycho-version}</version>
417         </plugin>
418         <plugin>
419           <groupId>org.eclipse.tycho</groupId>
420           <artifactId>tycho-p2-plugin</artifactId>
421           <version>${tycho-version}</version>
422         </plugin>
423         <plugin>
424           <groupId>org.eclipse.tycho.extras</groupId>
425           <artifactId>tycho-pack200a-plugin</artifactId>
426           <version>${tycho-extras-version}</version>
427         </plugin>
428         <plugin>
429           <groupId>org.eclipse.tycho.extras</groupId>
430           <artifactId>tycho-pack200b-plugin</artifactId>
431           <version>${tycho-extras-version}</version>
432         </plugin>
433         <plugin>
434           <groupId>org.jboss.tools.tycho-plugins</groupId>
435           <artifactId>repository-utils</artifactId>
436           <version>${jboss-tycho-plugins-version}</version>
437         </plugin>
438         <!-- other plugins -->
439         <plugin>
440           <groupId>org.apache.maven.plugins</groupId>
441           <artifactId>maven-resources-plugin</artifactId>
442           <version>3.0.2</version>
443           <configuration>
444             <encoding>ISO-8859-1</encoding>
445           </configuration>
446         </plugin>
447         <plugin>
448           <groupId>org.apache.maven.plugins</groupId>
449           <artifactId>maven-antrun-plugin</artifactId>
450           <version>1.8</version>
451         </plugin>
452         <plugin>
453           <groupId>org.codehaus.mojo</groupId>
454           <artifactId>findbugs-maven-plugin</artifactId>
455           <version>3.0.4</version>
456           <configuration>
457             <findbugsXmlOutput>true</findbugsXmlOutput>
458             <failOnError>false</failOnError>
459           </configuration>
460           <executions>
461             <execution>
462               <goals>
463                 <goal>check</goal>
464               </goals>
465             </execution>
466           </executions>
467         </plugin>
468         <plugin>
469           <groupId>org.apache.maven.plugins</groupId>
470           <artifactId>maven-pmd-plugin</artifactId>
471           <version>2.7.1</version>
472           <configuration>
473             <sourceEncoding>utf-8</sourceEncoding>
474             <minimumTokens>100</minimumTokens>
475             <targetJdk>1.8</targetJdk>
476             <format>xml</format>
477             <failOnViolation>false</failOnViolation>
478           </configuration>
479           <executions>
480             <execution>
481               <goals>
482                 <goal>cpd-check</goal>
483               </goals>
484             </execution>
485           </executions>
486         </plugin>
487         <plugin>
488           <groupId>org.apache.maven.plugins</groupId>
489           <artifactId>maven-assembly-plugin</artifactId>
490           <version>2.3</version>
491         </plugin>
492         <plugin>
493           <groupId>org.codehaus.mojo</groupId>
494           <artifactId>build-helper-maven-plugin</artifactId>
495           <version>1.7</version>
496         </plugin>
497         <plugin>
498           <groupId>org.eclipse.cbi.maven.plugins</groupId>
499           <artifactId>eclipse-jarsigner-plugin</artifactId>
500           <version>1.1.4</version>
501         </plugin>
502       </plugins>
503     </pluginManagement>
504   </build>
506   <dependencies>
507     <dependency>
508       <groupId>org.mockito</groupId>
509       <artifactId>mockito-core</artifactId>
510       <version>${mockito-version}</version>
511     </dependency>
512   </dependencies>
514   <distributionManagement>
515     <repository>
516       <id>repo.eclipse.org</id>
517       <name>JGit Maven Repository - Releases</name>
518       <url>https://repo.eclipse.org/content/repositories/egit-releases/</url>
519     </repository>
520     <snapshotRepository>
521       <id>repo.eclipse.org</id>
522       <name>JGit Maven Repository - Snapshots</name>
523       <url>https://repo.eclipse.org/content/repositories/egit-snapshots/</url>
524       <uniqueVersion>true</uniqueVersion>
525     </snapshotRepository>
526   </distributionManagement>
527 </project>