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