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