EGit v6.7.0.202308301100-rc1
[egit/eclipse.git] / org.eclipse.egit.repository / pom.xml
blobfe8018187cb0e3739ac327dd051c4103e3cb8602
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3    Copyright (C) 2009, Igor Fedorenko <igor@ifedorenko.com>
4    Copyright (C) 2011, 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   <parent>
21     <groupId>org.eclipse.egit</groupId>
22     <artifactId>egit-parent</artifactId>
23     <version>6.7.0.202308301100-rc1</version>
24   </parent>
26   <artifactId>org.eclipse.egit.repository</artifactId>
27   <packaging>eclipse-repository</packaging>
29   <name>EGit P2 Repository</name>
30   <properties>
31     <p2MirrorsURL>https://www.eclipse.org/downloads/download.php?file=${PUBLISH_FOLDER}&amp;format=xml</p2MirrorsURL>
32     <p2StatsURL>https://download.eclipse.org/stats/egit/${project.artifactId}</p2StatsURL>
33     <!-- At the moment, this list of features needs to be maintained manually. -->
34     <statsTrackedArtifacts>org.eclipse.jgit.feature,org.eclipse.jgit.source.feature,org.eclipse.jgit.pgm.feature,org.eclipse.jgit.pgm.source.feature,org.eclipse.jgit.http.apache.feature,org.eclipse.jgit.ssh.apache.feature,org.eclipse.egit.feature,org.eclipse.egit.gitflow.feature,org.eclipse.egit.source.feature</statsTrackedArtifacts>
35   </properties>
37   <build>
38     <plugins>
39       <plugin>
40         <groupId>org.eclipse.tycho.extras</groupId>
41         <artifactId>tycho-eclipserun-plugin</artifactId>
42         <version>${tycho-version}</version>
43         <executions>
44          <execution>
45           <id>add-repo-properties</id>
46           <goals>
47            <goal>eclipse-run</goal>
48           </goals>
49           <phase>package</phase>
50           <configuration>
51            <executionEnvironment>JavaSE-11</executionEnvironment>
52            <appArgLine>-application org.eclipse.wtp.releng.tools.addRepoProperties</appArgLine>
53            <!-- See <http://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL>. -->
54            <!-- See <http://wiki.eclipse.org/Equinox_p2_download_stats>. -->
55            <argLine>-DartifactRepoDirectory=${project.build.directory}/repository -Dp2MirrorsURL=${p2MirrorsURL} -Dp2StatsURI=${p2StatsURL} -DstatsTrackedArtifacts=${statsTrackedArtifacts} -DstatsArtifactsSuffix=-${project.version}</argLine>
56            <dependencies>
57             <dependency>
58              <artifactId>org.eclipse.wtp.releng.tools.feature</artifactId>
59              <type>eclipse-feature</type>
60             </dependency>
61            </dependencies>
62            <repositories>
63             <repository>
64              <url>https://download.eclipse.org/webtools/downloads/drops/R3.23.0/R-3.23.0-20210822084517/repositoryunittests/</url>
65              <layout>p2</layout>
66             </repository>
67             <repository>
68              <url>https://download.eclipse.org/releases/2021-09/202109151000/</url>
69              <layout>p2</layout>
70             </repository>
71            </repositories>
72           </configuration>
73          </execution>
74         </executions>
75       </plugin>
76     </plugins>
77   </build>
78   <profiles>
79     <profile>
80       <id>gpg-sign</id>
81       <build>
82         <plugins>
83           <plugin>
84             <groupId>org.eclipse.tycho</groupId>
85             <artifactId>tycho-p2-repository-plugin</artifactId>
86             <executions>
87               <execution>
88                 <id>default-archive-repository</id>
89                 <phase>pre-integration-test</phase>
90                 <goals>
91                   <goal>archive-repository</goal>
92                 </goals>
93               </execution>
94             </executions>
95           </plugin>
96           <plugin>
97             <groupId>org.eclipse.tycho</groupId>
98             <artifactId>tycho-gpg-plugin</artifactId>
99             <executions>
100               <execution>
101                 <id>pgpsigner</id>
102                 <phase>package</phase>
103                 <goals>
104                   <goal>sign-p2-artifacts</goal>
105                 </goals>
106                 <configuration>
107                   <keyname>E35AC353</keyname> <!-- EGit public key -->
108                   <passphrase>${env.EGIT_KEYRING_PASSPHRASE}</passphrase>
109                   <skipIfJarsigned>true</skipIfJarsigned> <!-- Sign if not already JAR-signed. -->
110                   <forceSignature>
111                     <bundle>bcpg</bundle>
112                     <bundle>bcpkix</bundle>
113                     <bundle>bcprov</bundle>
114                     <bundle>bcutil</bundle>
115                   </forceSignature>
116                 </configuration>
117               </execution>
118             </executions>
119           </plugin>
120         </plugins>
121       </build>
122     </profile>
123   </profiles>
124 </project>