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