Prepare 6.0.0-SNAPSHOT builds
[egit/eclipse.git] / org.eclipse.egit.repository / pom.xml
blob77c9834c2d907f4a44aeb1504ae894f51c26a0c7
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.0.0-SNAPSHOT</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.mylyn.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 </project>