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