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