[releng] Add EGit-4.9.0 API baseline to Oomph setup
[egit/eclipse.git] / pom.xml
blob5ae2f67ff49537175690c827eaa9fb253f8288cc
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.10.0-SNAPSHOT</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.10.0-SNAPSHOT</egit-version>
66     <tycho-version>1.0.0</tycho-version>
67     <tycho-extras-version>${tycho-version}</tycho-extras-version>
68     <jboss-tycho-plugins-version>1.0.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   </properties>
81   <profiles>
82     <profile>
83       <id>static-checks</id>
84       <build>
85         <plugins>
86           <plugin>
87             <groupId>com.github.hazendaz.spotbugs</groupId>
88             <artifactId>spotbugs-maven-plugin</artifactId>
89           </plugin>
90           <plugin>
91             <groupId>org.apache.maven.plugins</groupId>
92             <artifactId>maven-pmd-plugin</artifactId>
93           </plugin>
94         </plugins>
95       </build>
96     </profile>
97     <profile>
98       <id>eclipse-sign</id>
99       <build>
100         <plugins>
101           <plugin>
102             <groupId>org.eclipse.tycho</groupId>
103             <artifactId>target-platform-configuration</artifactId>
104             <configuration>
105               <includePackedArtifacts>true</includePackedArtifacts>
106             </configuration>
107           </plugin>
108           <plugin>
109             <groupId>org.eclipse.tycho.extras</groupId>
110             <artifactId>tycho-pack200a-plugin</artifactId>
111             <executions>
112               <execution>
113                 <id>pack200-normalize</id>
114                 <goals>
115                   <goal>normalize</goal>
116                 </goals>
117                 <phase>verify</phase>
118               </execution>
119             </executions>
120           </plugin>
121           <plugin>
122             <groupId>org.eclipse.cbi.maven.plugins</groupId>
123             <artifactId>eclipse-jarsigner-plugin</artifactId>
124             <executions>
125               <execution>
126                 <id>sign</id>
127                 <goals>
128                   <goal>sign</goal>
129                 </goals>
130                 <phase>verify</phase>
131               </execution>
132             </executions>
133           </plugin>
134           <plugin>
135             <groupId>org.eclipse.tycho.extras</groupId>
136             <artifactId>tycho-pack200b-plugin</artifactId>
137             <executions>
138               <execution>
139                 <id>pack200-pack</id>
140                 <goals>
141                   <goal>pack</goal>
142                 </goals>
143                 <phase>verify</phase>
144               </execution>
145             </executions>
146           </plugin>
147           <plugin>
148             <groupId>org.eclipse.tycho</groupId>
149             <artifactId>tycho-p2-plugin</artifactId>
150             <executions>
151               <execution>
152                 <id>p2-metadata</id>
153                 <goals>
154                   <goal>p2-metadata</goal>
155                 </goals>
156                 <phase>verify</phase>
157               </execution>
158             </executions>
159             <configuration>
160               <defaultP2Metadata>false</defaultP2Metadata>
161             </configuration>
162           </plugin>
163         </plugins>
164       </build>
165     </profile>
166     <profile>
167       <id>eclipse-pack</id>
168       <build>
169         <plugins>
170           <plugin>
171             <groupId>org.eclipse.tycho</groupId>
172             <artifactId>target-platform-configuration</artifactId>
173             <configuration>
174               <includePackedArtifacts>true</includePackedArtifacts>
175             </configuration>
176           </plugin>
177           <plugin>
178             <groupId>org.eclipse.tycho.extras</groupId>
179             <artifactId>tycho-pack200a-plugin</artifactId>
180             <executions>
181               <execution>
182                 <id>pack200-normalize</id>
183                 <goals>
184                   <goal>normalize</goal>
185                 </goals>
186               </execution>
187             </executions>
188           </plugin>
189           <plugin>
190             <groupId>org.eclipse.tycho.extras</groupId>
191             <artifactId>tycho-pack200b-plugin</artifactId>
192             <executions>
193               <execution>
194                 <id>pack200-pack</id>
195                 <goals>
196                   <goal>pack</goal>
197                 </goals>
198               </execution>
199             </executions>
200           </plugin>
201           <plugin>
202             <groupId>org.eclipse.tycho</groupId>
203             <artifactId>tycho-p2-plugin</artifactId>
204             <executions>
205               <execution>
206                 <id>p2-metadata</id>
207                 <goals>
208                   <goal>p2-metadata</goal>
209                 </goals>
210                 <phase>package</phase>
211               </execution>
212             </executions>
213             <configuration>
214               <defaultP2Metadata>false</defaultP2Metadata>
215             </configuration>
216           </plugin>
217         </plugins>
218       </build>
219     </profile>
220     <profile>
221       <id>macosx</id>
222       <activation>
223         <os>
224           <name>mac os x</name>
225           <family>mac</family>
226         </os>
227       </activation>
228       <properties>
229         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams} -XstartOnFirstThread</ui.test.vmargs>
230       </properties>
231     </profile>
232     <profile>
233       <id>other-os</id>
234       <activation>
235         <os>
236           <name>not-mac</name>
237           <family>!mac</family>
238         </os>
239       </activation>
240       <properties>
241         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams}</ui.test.vmargs>
242       </properties>
243     </profile>
244   </profiles>
246   <modules>
247     <module>org.eclipse.egit.target</module>
249     <module>org.eclipse.egit</module>
250     <module>org.eclipse.egit.core</module>
251     <module>org.eclipse.egit.ui</module>
253     <module>org.eclipse.egit.ui.smartimport</module>
255     <module>org.eclipse.egit.mylyn.ui</module>
256     <module>org.eclipse.egit.mylyn-feature</module>
258     <module>org.eclipse.egit.doc</module>
259     <module>org.eclipse.egit-feature</module>
261     <module>org.eclipse.egit.gitflow-feature</module>
262         <module>org.eclipse.egit.gitflow</module>
263         <module>org.eclipse.egit.gitflow.ui</module>
264     <module>org.eclipse.egit.gitflow.test</module>
266     <module>org.eclipse.egit.source-feature</module>
268     <module>org.eclipse.egit.repository</module>
270     <module>org.eclipse.egit.core.test</module>
271     <module>org.eclipse.egit.ui.test</module>
272     <module>org.eclipse.egit.mylyn.ui.test</module>
273     <module>org.eclipse.egit.ui.importer.tests</module>
275   </modules>
277   <pluginRepositories>
278     <pluginRepository>
279       <id>repo.eclipse.org.cbi-releases</id>
280       <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
281     </pluginRepository>
282     <pluginRepository>
283       <id>repo.eclipse.org.cbi-snapshots</id>
284       <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
285     </pluginRepository>
286   </pluginRepositories>
288   <repositories>
289     <repository>
290       <id>jgit</id>
291       <layout>p2</layout>
292       <url>${jgit-site}</url>
293     </repository>
294     <repository>
295       <id>eclipse.license</id>
296       <layout>p2</layout>
297       <url>${license-site}</url>
298     </repository>
299   </repositories>
301   <build>
302     <plugins>
303       <plugin>
304         <groupId>org.eclipse.tycho</groupId>
305         <artifactId>tycho-maven-plugin</artifactId>
306         <extensions>true</extensions>
307       </plugin>
308       <plugin>
309         <groupId>org.eclipse.tycho</groupId>
310         <artifactId>target-platform-configuration</artifactId>
311         <configuration>
312           <target>
313             <artifact>
314               <groupId>org.eclipse.egit</groupId>
315               <artifactId>org.eclipse.egit.target</artifactId>
316               <version>${egit-version}</version>
317               <classifier>${target-platform}</classifier>
318             </artifact>
319           </target>
320           <resolver>p2</resolver>
321           <pomDependencies>consider</pomDependencies>
322           <environments>
323             <environment>
324               <os>linux</os>
325               <ws>gtk</ws>
326               <arch>x86</arch>
327             </environment>
328             <environment>
329               <os>linux</os>
330               <ws>gtk</ws>
331               <arch>x86_64</arch>
332             </environment>
333             <environment>
334               <os>win32</os>
335               <ws>win32</ws>
336               <arch>x86</arch>
337             </environment>
338             <environment>
339               <os>win32</os>
340               <ws>win32</ws>
341               <arch>x86_64</arch>
342             </environment>
343             <environment>
344               <os>macosx</os>
345               <ws>cocoa</ws>
346               <arch>x86_64</arch>
347             </environment>
348           </environments>
349         </configuration>
350       </plugin>
351     </plugins>
352     <pluginManagement>
353       <plugins>
354         <!-- Tycho plugins -->
355         <plugin>
356           <groupId>org.eclipse.tycho</groupId>
357           <artifactId>tycho-compiler-plugin</artifactId>
358           <version>${tycho-version}</version>
359           <configuration>
360             <encoding>UTF-8</encoding>
361             <source>1.8</source>
362             <target>1.8</target>
363             <!-- Do not use useProjectSettings; it'll always override -nowarn -->
364             <useProjectSettings>false</useProjectSettings>
365             <compilerArgs>
366               <arg>-properties</arg>
367               <arg>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</arg>
368               <arg>-nowarn</arg>
369             </compilerArgs>
370           </configuration>
371         </plugin>
372         <plugin>
373           <groupId>org.eclipse.tycho</groupId>
374           <artifactId>tycho-source-plugin</artifactId>
375           <version>${tycho-version}</version>
376           <executions>
377             <execution>
378               <id>attach-source</id>
379               <goals>
380                 <goal>plugin-source</goal>
381               </goals>
382             </execution>
383           </executions>
384         </plugin>
385         <plugin>
386           <groupId>org.eclipse.tycho</groupId>
387           <artifactId>tycho-packaging-plugin</artifactId>
388           <version>${tycho-version}</version>
389           <configuration>
390             <sourceReferences>
391               <generate>true</generate>
392             </sourceReferences>
393           </configuration>
394           <dependencies>
395             <dependency>
396               <groupId>org.eclipse.tycho.extras</groupId>
397               <artifactId>tycho-sourceref-jgit</artifactId>
398               <version>${tycho-extras-version}</version>
399             </dependency>
400           </dependencies>
401         </plugin>
402         <plugin>
403           <groupId>org.eclipse.tycho</groupId>
404           <artifactId>tycho-surefire-plugin</artifactId>
405           <version>${tycho-version}</version>
406         </plugin>
407         <plugin>
408           <groupId>org.eclipse.tycho</groupId>
409           <artifactId>tycho-maven-plugin</artifactId>
410           <version>${tycho-version}</version>
411         </plugin>
412         <plugin>
413           <groupId>org.eclipse.tycho</groupId>
414           <artifactId>target-platform-configuration</artifactId>
415           <version>${tycho-version}</version>
416         </plugin>
417         <plugin>
418           <groupId>org.eclipse.tycho</groupId>
419           <artifactId>tycho-p2-plugin</artifactId>
420           <version>${tycho-version}</version>
421         </plugin>
422         <plugin>
423           <groupId>org.eclipse.tycho.extras</groupId>
424           <artifactId>tycho-pack200a-plugin</artifactId>
425           <version>${tycho-extras-version}</version>
426         </plugin>
427         <plugin>
428           <groupId>org.eclipse.tycho.extras</groupId>
429           <artifactId>tycho-pack200b-plugin</artifactId>
430           <version>${tycho-extras-version}</version>
431         </plugin>
432         <plugin>
433           <groupId>org.jboss.tools.tycho-plugins</groupId>
434           <artifactId>repository-utils</artifactId>
435           <version>${jboss-tycho-plugins-version}</version>
436         </plugin>
437         <!-- other plugins -->
438         <plugin>
439           <groupId>org.apache.maven.plugins</groupId>
440           <artifactId>maven-resources-plugin</artifactId>
441           <version>3.0.2</version>
442           <configuration>
443             <encoding>ISO-8859-1</encoding>
444           </configuration>
445         </plugin>
446         <plugin>
447           <groupId>org.apache.maven.plugins</groupId>
448           <artifactId>maven-antrun-plugin</artifactId>
449           <version>1.8</version>
450         </plugin>
451         <plugin>
452           <groupId>com.github.hazendaz.spotbugs</groupId>
453           <artifactId>spotbugs-maven-plugin</artifactId>
454           <version>3.0.6</version>
455           <configuration>
456             <findbugsXmlOutput>true</findbugsXmlOutput>
457             <failOnError>false</failOnError>
458           </configuration>
459           <executions>
460             <execution>
461               <goals>
462                 <goal>check</goal>
463               </goals>
464             </execution>
465           </executions>
466         </plugin>
467         <plugin>
468           <groupId>org.apache.maven.plugins</groupId>
469           <artifactId>maven-pmd-plugin</artifactId>
470           <version>2.7.1</version>
471           <configuration>
472             <sourceEncoding>utf-8</sourceEncoding>
473             <minimumTokens>100</minimumTokens>
474             <targetJdk>1.8</targetJdk>
475             <format>xml</format>
476             <failOnViolation>false</failOnViolation>
477           </configuration>
478           <executions>
479             <execution>
480               <goals>
481                 <goal>cpd-check</goal>
482               </goals>
483             </execution>
484           </executions>
485         </plugin>
486         <plugin>
487           <groupId>org.apache.maven.plugins</groupId>
488           <artifactId>maven-assembly-plugin</artifactId>
489           <version>2.3</version>
490         </plugin>
491         <plugin>
492           <groupId>org.codehaus.mojo</groupId>
493           <artifactId>build-helper-maven-plugin</artifactId>
494           <version>1.7</version>
495         </plugin>
496         <plugin>
497           <groupId>org.eclipse.cbi.maven.plugins</groupId>
498           <artifactId>eclipse-jarsigner-plugin</artifactId>
499           <version>1.1.4</version>
500         </plugin>
501       </plugins>
502     </pluginManagement>
503   </build>
505   <dependencies>
506     <dependency>
507       <groupId>org.mockito</groupId>
508       <artifactId>mockito-core</artifactId>
509       <version>${mockito-version}</version>
510     </dependency>
511   </dependencies>
513   <distributionManagement>
514     <repository>
515       <id>repo.eclipse.org</id>
516       <name>JGit Maven Repository - Releases</name>
517       <url>https://repo.eclipse.org/content/repositories/egit-releases/</url>
518     </repository>
519     <snapshotRepository>
520       <id>repo.eclipse.org</id>
521       <name>JGit Maven Repository - Snapshots</name>
522       <url>https://repo.eclipse.org/content/repositories/egit-snapshots/</url>
523       <uniqueVersion>true</uniqueVersion>
524     </snapshotRepository>
525   </distributionManagement>
526 </project>