Merge branch 'master' into stable-4.2
[egit/eclipse.git] / pom.xml
blob5ce1458975677a5a2c3b89b371daad0eb2f218bc
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.2.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.2.0-SNAPSHOT</egit-version>
66     <tycho-version>0.23.0</tycho-version>
67     <tycho-extras-version>${tycho-version}</tycho-extras-version>
68     <jboss-tycho-plugins-version>0.22.0</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/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         <property>
108           <name>platform-version-name</name>
109           <value>luna</value>
110         </property>
111       </activation>
112       <properties>
113         <target-platform>egit-4.4</target-platform>
114       </properties>
115     </profile>
116     <profile>
117       <id>platform-mars</id>
118       <activation>
119         <activeByDefault>true</activeByDefault>
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>
308     <module>org.eclipse.egit.ui.importer.tests</module>
310   </modules>
312   <pluginRepositories>
313     <pluginRepository>
314       <id>repo.eclipse.org.cbi-releases</id>
315       <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
316     </pluginRepository>
317     <pluginRepository>
318       <id>repo.eclipse.org.cbi-snapshots</id>
319       <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
320     </pluginRepository>
321   </pluginRepositories>
323   <repositories>
324     <repository>
325       <id>jgit</id>
326       <layout>p2</layout>
327       <url>${jgit-site}</url>
328     </repository>
329   </repositories>
331   <build>
332     <plugins>
333       <plugin>
334         <groupId>org.eclipse.tycho</groupId>
335         <artifactId>tycho-maven-plugin</artifactId>
336         <extensions>true</extensions>
337       </plugin>
338       <plugin>
339         <groupId>org.eclipse.tycho</groupId>
340         <artifactId>target-platform-configuration</artifactId>
341         <configuration>
342           <target>
343             <artifact>
344               <groupId>org.eclipse.egit</groupId>
345               <artifactId>org.eclipse.egit.target</artifactId>
346               <version>${egit-version}</version>
347               <classifier>${target-platform}</classifier>
348             </artifact>
349           </target>
350           <resolver>p2</resolver>
351           <pomDependencies>consider</pomDependencies>
352           <environments>
353             <environment>
354               <os>linux</os>
355               <ws>gtk</ws>
356               <arch>x86</arch>
357             </environment>
358             <environment>
359               <os>linux</os>
360               <ws>gtk</ws>
361               <arch>x86_64</arch>
362             </environment>
363             <environment>
364               <os>win32</os>
365               <ws>win32</ws>
366               <arch>x86</arch>
367             </environment>
368             <environment>
369               <os>win32</os>
370               <ws>win32</ws>
371               <arch>x86_64</arch>
372             </environment>
373             <environment>
374               <os>macosx</os>
375               <ws>cocoa</ws>
376               <arch>x86_64</arch>
377             </environment>
378           </environments>
379         </configuration>
380       </plugin>
381     </plugins>
382     <pluginManagement>
383       <plugins>
384         <!-- Tycho plugins -->
385         <plugin>
386           <groupId>org.eclipse.tycho</groupId>
387           <artifactId>tycho-compiler-plugin</artifactId>
388           <version>${tycho-version}</version>
389           <configuration>
390             <encoding>UTF-8</encoding>
391             <source>1.7</source>
392             <target>1.7</target>
393           </configuration>
394         </plugin>
395         <plugin>
396           <groupId>org.eclipse.tycho</groupId>
397           <artifactId>tycho-source-plugin</artifactId>
398           <version>${tycho-version}</version>
399           <executions>
400             <execution>
401               <id>attach-source</id>
402               <goals>
403                 <goal>plugin-source</goal>
404               </goals>
405             </execution>
406           </executions>
407         </plugin>
408         <plugin>
409           <groupId>org.eclipse.tycho</groupId>
410           <artifactId>tycho-packaging-plugin</artifactId>
411           <version>${tycho-version}</version>
412           <configuration>
413             <sourceReferences>
414               <generate>true</generate>
415             </sourceReferences>
416           </configuration>
417           <dependencies>
418             <dependency>
419               <groupId>org.eclipse.tycho.extras</groupId>
420               <artifactId>tycho-sourceref-jgit</artifactId>
421               <version>${tycho-extras-version}</version>
422             </dependency>
423           </dependencies>
424         </plugin>
425         <plugin>
426           <groupId>org.eclipse.tycho</groupId>
427           <artifactId>tycho-surefire-plugin</artifactId>
428           <version>${tycho-version}</version>
429         </plugin>
430         <plugin>
431           <groupId>org.eclipse.tycho</groupId>
432           <artifactId>tycho-maven-plugin</artifactId>
433           <version>${tycho-version}</version>
434         </plugin>
435         <plugin>
436           <groupId>org.eclipse.tycho</groupId>
437           <artifactId>target-platform-configuration</artifactId>
438           <version>${tycho-version}</version>
439         </plugin>
440         <plugin>
441           <groupId>org.eclipse.tycho</groupId>
442           <artifactId>tycho-p2-plugin</artifactId>
443           <version>${tycho-version}</version>
444         </plugin>
445         <plugin>
446           <groupId>org.eclipse.tycho.extras</groupId>
447           <artifactId>tycho-pack200a-plugin</artifactId>
448           <version>${tycho-extras-version}</version>
449         </plugin>
450         <plugin>
451           <groupId>org.eclipse.tycho.extras</groupId>
452           <artifactId>tycho-pack200b-plugin</artifactId>
453           <version>${tycho-extras-version}</version>
454         </plugin>
455         <plugin>
456           <groupId>org.jboss.tools.tycho-plugins</groupId>
457           <artifactId>repository-utils</artifactId>
458           <version>${jboss-tycho-plugins-version}</version>
459         </plugin>
460         <!-- other plugins -->
461         <plugin>
462           <groupId>org.apache.maven.plugins</groupId>
463           <artifactId>maven-resources-plugin</artifactId>
464           <version>2.5</version>
465           <configuration>
466             <encoding>ISO-8859-1</encoding>
467           </configuration>
468         </plugin>
469         <plugin>
470           <groupId>org.apache.maven.plugins</groupId>
471           <artifactId>maven-antrun-plugin</artifactId>
472           <version>1.7</version>
473         </plugin>
474         <plugin>
475           <groupId>org.codehaus.mojo</groupId>
476           <artifactId>findbugs-maven-plugin</artifactId>
477           <version>2.5.2</version>
478           <configuration>
479             <findbugsXmlOutput>true</findbugsXmlOutput>
480             <failOnError>false</failOnError>
481           </configuration>
482           <executions>
483             <execution>
484               <goals>
485                 <goal>check</goal>
486               </goals>
487             </execution>
488           </executions>
489         </plugin>
490         <plugin>
491           <groupId>org.apache.maven.plugins</groupId>
492           <artifactId>maven-pmd-plugin</artifactId>
493           <version>2.7.1</version>
494           <configuration>
495             <sourceEncoding>utf-8</sourceEncoding>
496             <minimumTokens>100</minimumTokens>
497             <targetJdk>1.7</targetJdk>
498             <format>xml</format>
499             <failOnViolation>false</failOnViolation>
500           </configuration>
501           <executions>
502             <execution>
503               <goals>
504                 <goal>cpd-check</goal>
505               </goals>
506             </execution>
507           </executions>
508         </plugin>
509         <plugin>
510           <groupId>org.apache.maven.plugins</groupId>
511           <artifactId>maven-assembly-plugin</artifactId>
512           <version>2.3</version>
513         </plugin>
514         <plugin>
515           <groupId>org.codehaus.mojo</groupId>
516           <artifactId>build-helper-maven-plugin</artifactId>
517           <version>1.7</version>
518         </plugin>
519         <plugin>
520           <groupId>org.eclipse.cbi.maven.plugins</groupId>
521           <artifactId>eclipse-jarsigner-plugin</artifactId>
522           <version>1.1.2</version>
523         </plugin>
524       </plugins>
525     </pluginManagement>
526   </build>
528   <dependencies>
529     <dependency>
530       <groupId>org.mockito</groupId>
531       <artifactId>mockito-core</artifactId>
532       <version>${mockito-version}</version>
533     </dependency>
534   </dependencies>
536   <dependencyManagement>
537     <dependencies>
538       <dependency>
539         <groupId>junit</groupId>
540         <artifactId>junit</artifactId>
541         <version>${junit-version}</version>
542         <scope>test</scope>
543       </dependency>
544     </dependencies>
545   </dependencyManagement>
547   <distributionManagement>
548     <repository>
549       <id>repo.eclipse.org</id>
550       <name>JGit Maven Repository - Releases</name>
551       <url>https://repo.eclipse.org/content/repositories/egit-releases/</url>
552     </repository>
553     <snapshotRepository>
554       <id>repo.eclipse.org</id>
555       <name>JGit Maven Repository - Snapshots</name>
556       <url>https://repo.eclipse.org/content/repositories/egit-snapshots/</url>
557       <uniqueVersion>true</uniqueVersion>
558     </snapshotRepository>
559   </distributionManagement>
560 </project>