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