Add aarch64 environment to target platform configuration
[egit/eclipse.git] / pom.xml
blob940415568ca7009d074c839a59b5f807bb258ebc
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 2.0
9    which accompanies this distribution, and is available at
10    https://www.eclipse.org/legal/epl-2.0/
12    SPDX-License-Identifier: EPL-2.0
13 -->
15 <project xmlns="http://maven.apache.org/POM/4.0.0"
16     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
18   <modelVersion>4.0.0</modelVersion>
20   <groupId>org.eclipse.egit</groupId>
21   <artifactId>egit-parent</artifactId>
22   <version>6.3.0-SNAPSHOT</version>
23   <packaging>pom</packaging>
25   <name>EGit Parent</name>
27   <mailingLists>
28     <mailingList>
29       <name>egit-dev Mailing List</name>
30       <post>egit-dev@eclipse.org</post>
31       <subscribe>https://dev.eclipse.org/mailman/listinfo/egit-dev</subscribe>
32       <unsubscribe>https://dev.eclipse.org/mailman/listinfo/egit-dev</unsubscribe>
33       <archive>https://dev.eclipse.org/mhonarc/lists/egit-dev</archive>
34     </mailingList>
36     <mailingList>
37       <name>GIT Mailing List</name>
38       <post>git@vger.kernel.org</post>
39       <archive>https://marc.info/?l=git</archive>
40     </mailingList>
41   </mailingLists>
43   <issueManagement>
44     <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;product=EGit;classification=Technology</url>
45     <system>Bugzilla</system>
46   </issueManagement>
48   <licenses>
49     <license>
50       <name>Eclipse Public License 2.0</name>
51       <comments>
52         All rights reserved. This program and the accompanying materials
53         are made available under the terms of the Eclipse Public License 2.0
54         which accompanies this distribution, and is available at
55         https://www.eclipse.org/legal/epl-2.0/
57         SPDX-License-Identifier: EPL-2.0
58       </comments>
59     </license>
60   </licenses>
62   <properties>
63     <maven-version-minimum>3.6.3</maven-version-minimum>
64     <egit-version>6.3.0-SNAPSHOT</egit-version>
65     <tycho-version>2.7.3</tycho-version>
66     <tycho-extras-version>${tycho-version}</tycho-extras-version>
67     <java-version>11</java-version>
68     <ecj-version>3.29.0</ecj-version>
69     <spotbugs-maven-plugin-version>4.4.1</spotbugs-maven-plugin-version>
70     <jgit-site>file:/${basedir}/../../jgit/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/target/repository</jgit-site>
71     <license-site>https://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.17</target-platform>
75     <tycho.scmUrl>scm:git:https://git.eclipse.org/r/egit/egit.git</tycho.scmUrl>
76     <egit.test.tmpdir></egit.test.tmpdir>
77     <test.vmparams></test.vmparams>
78     <coretest.vmparams>-Degit.test.tmpdir=${egit.test.tmpdir}</coretest.vmparams>
79     <uitest.vmparams>-Degit.test.tmpdir=${egit.test.tmpdir} -Dorg.eclipse.swtbot.search.timeout=30000 -Dorg.eclipse.swtbot.screenshots.dir=target/screenshots -Xmx1024m</uitest.vmparams>
80     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
81     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
82   </properties>
84   <profiles>
85     <profile>
86       <id>static-checks</id>
87       <build>
88         <plugins>
89           <plugin>
90             <groupId>com.github.spotbugs</groupId>
91             <artifactId>spotbugs-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.cbi.maven.plugins</groupId>
113             <artifactId>eclipse-jarsigner-plugin</artifactId>
114             <executions>
115               <execution>
116                 <id>sign</id>
117                 <goals>
118                   <goal>sign</goal>
119                 </goals>
120                 <phase>verify</phase>
121               </execution>
122             </executions>
123           </plugin>
124           <plugin>
125             <groupId>org.eclipse.tycho</groupId>
126             <artifactId>tycho-p2-plugin</artifactId>
127             <executions>
128               <execution>
129                 <id>p2-metadata</id>
130                 <goals>
131                   <goal>p2-metadata</goal>
132                 </goals>
133                 <phase>verify</phase>
134               </execution>
135             </executions>
136             <configuration>
137               <defaultP2Metadata>false</defaultP2Metadata>
138             </configuration>
139           </plugin>
140         </plugins>
141       </build>
142     </profile>
143     <profile>
144       <id>macosx</id>
145       <activation>
146         <os>
147           <name>mac os x</name>
148           <family>mac</family>
149         </os>
150       </activation>
151       <properties>
152         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams} -XstartOnFirstThread</ui.test.vmargs>
153       </properties>
154     </profile>
155     <profile>
156       <id>other-os</id>
157       <activation>
158         <os>
159           <name>not-mac</name>
160           <family>!mac</family>
161         </os>
162       </activation>
163       <properties>
164         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams}</ui.test.vmargs>
165       </properties>
166     </profile>
167   </profiles>
169   <modules>
170     <module>org.eclipse.egit.target</module>
172     <module>org.eclipse.egit</module>
173     <module>org.eclipse.egit.core</module>
174     <module>org.eclipse.egit.ui</module>
176     <module>org.eclipse.egit.doc</module>
177     <module>org.eclipse.egit-feature</module>
179     <module>org.eclipse.egit.gitflow-feature</module>
180         <module>org.eclipse.egit.gitflow</module>
181         <module>org.eclipse.egit.gitflow.ui</module>
182     <module>org.eclipse.egit.gitflow.test</module>
184     <module>org.eclipse.egit.source-feature</module>
186     <module>org.eclipse.egit.repository</module>
188     <module>org.eclipse.egit.core.junit</module>
189     <module>org.eclipse.egit.core.test</module>
190     <module>org.eclipse.egit.ui.test</module>
191   </modules>
193   <pluginRepositories>
194     <pluginRepository>
195       <id>repo.eclipse.org.cbi-releases</id>
196       <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
197     </pluginRepository>
198     <pluginRepository>
199       <id>repo.eclipse.org.cbi-snapshots</id>
200       <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url>
201     </pluginRepository>
202     <pluginRepository>
203       <id>repo.eclipse.org.dash-releases</id>
204       <url>https://repo.eclipse.org/content/repositories/dash-licenses-releases/</url>
205     </pluginRepository>
206     <pluginRepository>
207       <id>repo.eclipse.org.dash-snapshots</id>
208       <url>https://repo.eclipse.org/content/repositories/dash-licenses-snapshots/</url>
209     </pluginRepository>
210   </pluginRepositories>
212   <repositories>
213     <repository>
214       <id>jgit</id>
215       <layout>p2</layout>
216       <url>${jgit-site}</url>
217     </repository>
218     <repository>
219       <id>eclipse.license</id>
220       <layout>p2</layout>
221       <url>${license-site}</url>
222     </repository>
223   </repositories>
225   <build>
226     <plugins>
227       <plugin>
228         <groupId>org.apache.maven.plugins</groupId>
229         <artifactId>maven-enforcer-plugin</artifactId>
230         <executions>
231           <execution>
232             <id>enforce-maven</id>
233             <goals>
234               <goal>enforce</goal>
235             </goals>
236             <configuration>
237               <rules>
238                 <requireMavenVersion>
239                   <version>${maven-version-minimum}</version>
240                 </requireMavenVersion>
241               </rules>
242             </configuration>
243           </execution>
244         </executions>
245       </plugin>
246       <plugin>
247         <groupId>org.eclipse.tycho</groupId>
248         <artifactId>tycho-maven-plugin</artifactId>
249         <extensions>true</extensions>
250       </plugin>
251       <plugin>
252         <groupId>org.eclipse.tycho</groupId>
253         <artifactId>target-platform-configuration</artifactId>
254         <configuration>
255           <target>
256             <file>${project.basedir}/../org.eclipse.egit.target/${target-platform}.target</file>
257           </target>
258           <resolver>p2</resolver>
259           <pomDependencies>consider</pomDependencies>
260           <environments>
261             <environment>
262               <os>linux</os>
263               <ws>gtk</ws>
264               <arch>x86_64</arch>
265             </environment>
266             <environment>
267               <os>win32</os>
268               <ws>win32</ws>
269               <arch>x86_64</arch>
270             </environment>
271             <environment>
272               <os>macosx</os>
273               <ws>cocoa</ws>
274               <arch>x86_64</arch>
275             </environment>
276             <environment>
277               <os>macosx</os>
278               <ws>cocoa</ws>
279               <arch>aarch64</arch>
280             </environment>
281           </environments>
282         </configuration>
283       </plugin>
284     </plugins>
285     <pluginManagement>
286       <plugins>
287         <!-- Tycho plugins -->
288         <plugin>
289           <groupId>org.eclipse.tycho</groupId>
290           <artifactId>tycho-compiler-plugin</artifactId>
291           <version>${tycho-version}</version>
292           <configuration>
293             <encoding>UTF-8</encoding>
294             <release>${java-version}</release>
295             <!-- Do not use useProjectSettings; it'll always override -nowarn -->
296             <useProjectSettings>false</useProjectSettings>
297             <compilerArgs>
298               <arg>-properties</arg>
299               <arg>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</arg>
300               <arg>-nowarn</arg>
301             </compilerArgs>
302           </configuration>
303           <dependencies>
304               <dependency>
305                 <groupId>org.eclipse.jdt</groupId>
306                 <artifactId>ecj</artifactId>
307                 <version>${ecj-version}</version>
308               </dependency>
309           </dependencies>
310         </plugin>
311         <plugin>
312           <groupId>org.eclipse.tycho</groupId>
313           <artifactId>tycho-source-plugin</artifactId>
314           <version>${tycho-version}</version>
315           <executions>
316             <execution>
317               <id>attach-source</id>
318               <goals>
319                 <goal>plugin-source</goal>
320               </goals>
321             </execution>
322           </executions>
323         </plugin>
324         <plugin>
325           <groupId>org.eclipse.tycho</groupId>
326           <artifactId>tycho-packaging-plugin</artifactId>
327           <version>${tycho-version}</version>
328           <configuration>
329             <sourceReferences>
330               <generate>true</generate>
331             </sourceReferences>
332           </configuration>
333           <dependencies>
334             <dependency>
335               <groupId>org.eclipse.tycho.extras</groupId>
336               <artifactId>tycho-sourceref-jgit</artifactId>
337               <version>${tycho-extras-version}</version>
338             </dependency>
339           </dependencies>
340         </plugin>
341         <plugin>
342           <groupId>org.eclipse.tycho</groupId>
343           <artifactId>tycho-surefire-plugin</artifactId>
344           <version>${tycho-version}</version>
345           <configuration>
346             <trimStackTrace>false</trimStackTrace>
347             <useJDK>BREE</useJDK>
348           </configuration>
349         </plugin>
350         <plugin>
351           <groupId>org.eclipse.tycho</groupId>
352           <artifactId>tycho-maven-plugin</artifactId>
353           <version>${tycho-version}</version>
354         </plugin>
355         <plugin>
356           <groupId>org.eclipse.tycho</groupId>
357           <artifactId>target-platform-configuration</artifactId>
358           <version>${tycho-version}</version>
359         </plugin>
360         <plugin>
361           <groupId>org.eclipse.tycho</groupId>
362           <artifactId>tycho-p2-plugin</artifactId>
363           <version>${tycho-version}</version>
364         </plugin>
365         <plugin>
366           <groupId>org.eclipse.tycho</groupId>
367           <artifactId>tycho-p2-publisher-plugin</artifactId>
368           <version>${tycho-version}</version>
369         </plugin>
370         <plugin>
371           <groupId>org.eclipse.tycho</groupId>
372           <artifactId>tycho-p2-repository-plugin</artifactId>
373           <version>${tycho-version}</version>
374         </plugin>
375         <!-- other plugins -->
376         <plugin>
377           <groupId>org.apache.maven.plugins</groupId>
378           <artifactId>maven-enforcer-plugin</artifactId>
379           <version>3.0.0-M3</version>
380         </plugin>
381         <plugin>
382           <groupId>org.apache.maven.plugins</groupId>
383           <artifactId>maven-antrun-plugin</artifactId>
384           <version>1.8</version>
385         </plugin>
386         <plugin>
387           <groupId>com.github.spotbugs</groupId>
388           <artifactId>spotbugs-maven-plugin</artifactId>
389           <version>${spotbugs-maven-plugin-version}</version>
390           <configuration>
391             <excludeFilterFile>${project.basedir}/../spotbugs-excludes.xml</excludeFilterFile>
392             <xmlOutput>true</xmlOutput>
393             <failOnError>false</failOnError>
394           </configuration>
395           <executions>
396             <execution>
397               <goals>
398                 <goal>check</goal>
399               </goals>
400             </execution>
401           </executions>
402         </plugin>
403         <plugin>
404           <groupId>org.apache.maven.plugins</groupId>
405           <artifactId>maven-pmd-plugin</artifactId>
406           <version>3.15.0</version>
407           <configuration>
408             <sourceEncoding>utf-8</sourceEncoding>
409             <minimumTokens>100</minimumTokens>
410             <targetJdk>${java-version}</targetJdk>
411             <format>xml</format>
412             <failOnViolation>false</failOnViolation>
413             <linkXRef>false</linkXRef>
414           </configuration>
415           <executions>
416             <execution>
417               <goals>
418                 <goal>cpd-check</goal>
419               </goals>
420             </execution>
421           </executions>
422         </plugin>
423         <plugin>
424           <groupId>org.apache.maven.plugins</groupId>
425           <artifactId>maven-assembly-plugin</artifactId>
426           <version>3.2.0</version>
427         </plugin>
428         <plugin>
429           <groupId>org.eclipse.cbi.maven.plugins</groupId>
430           <artifactId>eclipse-jarsigner-plugin</artifactId>
431           <version>1.3.2</version>
432         </plugin>
433       </plugins>
434     </pluginManagement>
435   </build>
437   <distributionManagement>
438     <repository>
439       <id>repo.eclipse.org</id>
440       <name>EGit Maven Repository - Releases</name>
441       <url>https://repo.eclipse.org/content/repositories/egit-releases/</url>
442     </repository>
443     <snapshotRepository>
444       <id>repo.eclipse.org</id>
445       <name>EGit Maven Repository - Snapshots</name>
446       <url>https://repo.eclipse.org/content/repositories/egit-snapshots/</url>
447       <uniqueVersion>true</uniqueVersion>
448     </snapshotRepository>
449   </distributionManagement>
450 </project>