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