Properly handle checkout conflict exceptions
[egit/eclipse.git] / pom.xml
blob194c36408db93ed0ac881be8d5fdcedb311e0baf
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>2.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>2.3.0-SNAPSHOT</egit-version>
66     <tycho-version>0.16.0</tycho-version>
67     <tycho-extras-version>0.16.0</tycho-extras-version>
68     <mockito-version>1.8.4</mockito-version>
69     <junit-version>4.8.1</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.2</target-platform>
74     <tycho.scmUrl>scm:git:https://git.eclipse.org/r/p/egit/egit.git</tycho.scmUrl>
75   </properties>
77   <profiles>
78     <profile>
79       <id>platform-indigo</id>
80       <activation>
81         <activeByDefault>true</activeByDefault>
82         <property>
83           <name>platform-version-name</name>
84           <value>indigo</value>
85         </property>
86       </activation>
87       <properties>
88         <target-platform>egit-3.7</target-platform>
89         <platform-version>[3.7,3.8)</platform-version>
90       </properties>
91     </profile>
92     <profile>
93       <id>platform-juno</id>
94       <activation>
95         <activeByDefault>true</activeByDefault>
96         <property>
97           <name>platform-version-name</name>
98           <value>juno</value>
99         </property>
100       </activation>
101       <properties>
102         <target-platform>egit-4.2</target-platform>
103         <platform-version>[3.8,3.9)</platform-version>
104       </properties>
105       <modules>
106         <module>org.eclipse.egit.import</module>
107         <module>org.eclipse.egit.import-feature</module>
108         <module>org.eclipse.egit.repository</module>
109       </modules>
110     </profile>
111     <profile>
112       <id>platform-juno-staging</id>
113       <activation>
114         <property>
115           <name>platform-version-name</name>
116           <value>juno-staging</value>
117         </property>
118       </activation>
119       <properties>
120         <target-platform>egit-4.2-staging</target-platform>
121         <platform-version>[3.8,3.9)</platform-version>
122       </properties>
123       <modules>
124         <module>org.eclipse.egit.import</module>
125         <module>org.eclipse.egit.import-feature</module>
126         <module>org.eclipse.egit.repository</module>
127       </modules>
128     </profile>
129     <profile>
130       <id>static-checks</id>
131       <build>
132         <plugins>
133           <plugin>
134             <groupId>org.codehaus.mojo</groupId>
135             <artifactId>findbugs-maven-plugin</artifactId>
136           </plugin>
137           <plugin>
138             <groupId>org.apache.maven.plugins</groupId>
139             <artifactId>maven-pmd-plugin</artifactId>
140           </plugin>
141         </plugins>
142       </build>
143     </profile>
144   </profiles>
146   <modules>
147     <module>org.eclipse.egit.target</module>
149     <module>org.eclipse.egit</module>
150     <module>org.eclipse.egit.core</module>
151     <module>org.eclipse.egit.ui</module>
153     <module>org.eclipse.egit.mylyn.ui</module>
154     <module>org.eclipse.egit.mylyn-feature</module>
156     <module>org.eclipse.egit.doc</module>
157     <module>org.eclipse.egit-feature</module>
159     <module>org.eclipse.egit.core.test</module>
160     <module>org.eclipse.egit.ui.test</module>
161     <module>org.eclipse.egit.mylyn.ui.test</module>
163     <module>org.eclipse.egit.source-feature</module>
164   </modules>
166   <pluginRepositories>
167     <pluginRepository>
168       <id>maven.eclipse.org</id>
169       <url>http://maven.eclipse.org/nexus/content/repositories/milestone-indigo/</url>
170     </pluginRepository>
171   </pluginRepositories>
173   <repositories>
174     <repository>
175       <id>jgit</id>
176       <layout>p2</layout>
177       <url>${jgit-site}</url>
178     </repository>
179   </repositories>
181   <build>
182     <plugins>
183       <plugin>
184         <groupId>org.eclipse.tycho</groupId>
185         <artifactId>tycho-maven-plugin</artifactId>
186         <version>${tycho-version}</version>
187         <extensions>true</extensions>
188       </plugin>
189       <plugin>
190         <groupId>org.eclipse.tycho</groupId>
191         <artifactId>target-platform-configuration</artifactId>
192         <version>${tycho-version}</version>
193         <configuration>
194           <target>
195             <artifact>
196               <groupId>org.eclipse.egit</groupId>
197               <artifactId>org.eclipse.egit.target</artifactId>
198               <version>${project.version}</version>
199               <classifier>${target-platform}</classifier>
200             </artifact>
201           </target>
202           <resolver>p2</resolver>
203           <pomDependencies>consider</pomDependencies>
204           <environments>
205             <environment>
206               <os>linux</os>
207               <ws>gtk</ws>
208               <arch>x86</arch>
209             </environment>
210             <environment>
211               <os>linux</os>
212               <ws>gtk</ws>
213               <arch>x86_64</arch>
214             </environment>
215             <environment>
216               <os>win32</os>
217               <ws>win32</ws>
218               <arch>x86</arch>
219             </environment>
220             <environment>
221               <os>win32</os>
222               <ws>win32</ws>
223               <arch>x86_64</arch>
224             </environment>
225             <environment>
226               <os>macosx</os>
227               <ws>cocoa</ws>
228               <arch>x86</arch>
229             </environment>
230             <environment>
231               <os>macosx</os>
232               <ws>cocoa</ws>
233               <arch>x86_64</arch>
234             </environment>
235           </environments>
236         </configuration>
237       </plugin>
238     </plugins>
239     <pluginManagement>
240       <plugins>
241         <plugin>
242           <groupId>org.eclipse.tycho</groupId>
243           <artifactId>tycho-compiler-plugin</artifactId>
244           <version>${tycho-version}</version>
245           <configuration>
246             <encoding>UTF-8</encoding>
247           </configuration>
248         </plugin>
249         <plugin>
250           <groupId>org.eclipse.tycho</groupId>
251           <artifactId>tycho-source-plugin</artifactId>
252           <version>${tycho-version}</version>
253           <executions>
254             <execution>
255               <id>attach-source</id>
256               <goals>
257                 <goal>plugin-source</goal>
258               </goals>
259             </execution>
260           </executions>
261         </plugin>
262         <plugin>
263           <groupId>org.eclipse.tycho</groupId>
264           <artifactId>tycho-packaging-plugin</artifactId>
265           <version>${tycho-version}</version>
266           <configuration>
267             <sourceReferences>
268               <generate>true</generate>
269             </sourceReferences>
270           </configuration>
271           <dependencies>
272             <dependency>
273               <groupId>org.eclipse.tycho.extras</groupId>
274               <artifactId>tycho-sourceref-jgit</artifactId>
275               <version>${tycho-extras-version}</version>
276             </dependency>
277           </dependencies>
278         </plugin>
279         <plugin>
280           <groupId>org.apache.maven.plugins</groupId>
281           <artifactId>maven-resources-plugin</artifactId>
282           <version>2.5</version>
283           <configuration>
284             <encoding>ISO-8859-1</encoding>
285           </configuration>
286         </plugin>
287         <plugin>
288           <groupId>org.apache.maven.plugins</groupId>
289           <artifactId>maven-antrun-plugin</artifactId>
290           <version>1.7</version>
291         </plugin>
292         <plugin>
293           <groupId>org.codehaus.mojo</groupId>
294           <artifactId>findbugs-maven-plugin</artifactId>
295           <version>2.5.2</version>
296           <configuration>
297             <findbugsXmlOutput>true</findbugsXmlOutput>
298             <failOnError>false</failOnError>
299           </configuration>
300           <executions>
301             <execution>
302               <goals>
303                 <goal>check</goal>
304               </goals>
305             </execution>
306           </executions>
307         </plugin>
308         <plugin>
309           <groupId>org.apache.maven.plugins</groupId>
310           <artifactId>maven-pmd-plugin</artifactId>
311           <version>2.7.1</version>
312           <configuration>
313             <sourceEncoding>utf-8</sourceEncoding>
314             <minimumTokens>100</minimumTokens>
315             <targetJdk>1.5</targetJdk>
316             <format>xml</format>
317             <failOnViolation>false</failOnViolation>
318           </configuration>
319           <executions>
320             <execution>
321               <goals>
322                 <goal>cpd-check</goal>
323               </goals>
324             </execution>
325           </executions>
326         </plugin>
327         <plugin>
328           <groupId>org.apache.maven.plugins</groupId>
329           <artifactId>maven-assembly-plugin</artifactId>
330           <version>2.3</version>
331         </plugin>
332         <plugin>
333           <groupId>org.eclipse.dash.maven</groupId>
334           <artifactId>eclipse-signing-maven-plugin</artifactId>
335           <version>1.0.5</version>
336         </plugin>
337         <plugin>
338           <groupId>org.codehaus.mojo</groupId>
339           <artifactId>build-helper-maven-plugin</artifactId>
340           <version>1.7</version>
341         </plugin>
342       </plugins>
343     </pluginManagement>
344   </build>
346   <dependencies>
347     <dependency>
348       <groupId>org.mockito</groupId>
349       <artifactId>mockito-core</artifactId>
350       <version>${mockito-version}</version>
351     </dependency>
352   </dependencies>
354   <dependencyManagement>
355     <dependencies>
356       <dependency>
357         <groupId>junit</groupId>
358         <artifactId>junit</artifactId>
359         <version>${junit-version}</version>
360         <scope>test</scope>
361       </dependency>
362     </dependencies>
363   </dependencyManagement>
364 </project>