EGit v5.0.1.201806211838-r
[egit/eclipse.git] / org.eclipse.egit.repository / pom.xml
blobde49bd70270448faafe96a2353841a2854583182
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>5.0.1.201806211838-r</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>http://www.eclipse.org/downloads/download.php?file=${PUBLISH_FOLDER}&amp;format=xml</p2MirrorsURL>
32     <p2StatsURL>http://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.egit.feature,org.eclipse.egit.gitflow.feature,org.eclipse.egit.mylyn.feature,org.eclipse.egit.source.feature</statsTrackedArtifacts>
35   </properties>
37   <profiles>
38     <profile>
39      <id>publish</id>
40      <build>
41        <plugins>
42          <plugin>
43              <artifactId>maven-antrun-plugin</artifactId>
44              <executions>
45                <execution>
46                  <id>deploy</id>
47                  <phase>install</phase>
48                  <goals>
49                    <goal>run</goal>
50                  </goals>
51                  <configuration>
52                    <target>
53                      <delete includeemptydirs="false">
54                        <fileset
55                          dir="${download-publish-path}">
56                          <include name="**" />
57                        </fileset>
58                      </delete>
59                      <copy includeemptydirs="false"
60                        todir="${download-publish-path}">
61                        <fileset dir="target/repository/">
62                          <include name="**" />
63                        </fileset>
64                      </copy>
65                    </target>
66                  </configuration>
67                </execution>
68              </executions>
69            </plugin>
70         </plugins>
71       </build>
72     </profile>
73   </profiles>
75   <pluginRepositories>
76     <pluginRepository>
77       <id>jboss-public-repository-group</id>
78       <name>JBoss Public Repository Group</name>
79       <url>http://repository.jboss.org/nexus/content/groups/public/</url>
80     </pluginRepository>
81   </pluginRepositories>
82   <build>
83     <plugins>
84       <plugin>
85         <groupId>org.jboss.tools.tycho-plugins</groupId>
86         <artifactId>repository-utils</artifactId>
87         <executions>
88           <execution>
89             <id>generate-facade</id>
90             <phase>package</phase>
91             <goals>
92               <goal>generate-repository-facade</goal>
93             </goals>
94             <configuration>
95               <siteTemplateFolder>siteTemplate/</siteTemplateFolder>
96               <!-- Symbols are used while expanding index.html template -->
97               <symbols>
98                 <update.site.name>EGit p2 Repository</update.site.name>
99                 <update.site.description>Use this URL in Eclipse to install EGit and JGit</update.site.description>
100                 <update.site.version>${project.version}</update.site.version>
101                 <target.eclipse.version>4.4.0 (Luna) or newer</target.eclipse.version>
102               </symbols>
103               <associateSites>
104                 <site>http://download.eclipse.org/e4/snapshots/org.eclipse.e4.ui</site>
105               </associateSites>
106             </configuration>
107           </execution>
108         </executions>
109       </plugin>
111       <plugin>
112         <groupId>org.eclipse.tycho.extras</groupId>
113         <artifactId>tycho-eclipserun-plugin</artifactId>
114         <version>${tycho-version}</version>
115         <executions>
116          <execution>
117           <id>add-repo-properties</id>
118           <goals>
119            <goal>eclipse-run</goal>
120           </goals>
121           <phase>package</phase>
122           <configuration>
123           <appArgLine>-application org.eclipse.wtp.releng.tools.addRepoProperties</appArgLine>
124           <!-- See <http://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL>. -->
125           <!-- See <http://wiki.eclipse.org/Equinox_p2_download_stats>. -->
126           <argLine>-DartifactRepoDirectory=${project.build.directory}/repository -Dp2MirrorsURL=${p2MirrorsURL} -Dp2StatsURI=${p2StatsURL} -DstatsTrackedArtifacts=${statsTrackedArtifacts} -DstatsArtifactsSuffix=-${project.version}</argLine>
127           <dependencies>
128            <dependency>
129             <artifactId>org.eclipse.wtp.releng.tools.feature</artifactId>
130             <type>eclipse-feature</type>
131            </dependency>
132           </dependencies>
133           <repositories>
134            <repository>
135             <url>http://download.eclipse.org/webtools/releng/repository</url>
136             <layout>p2</layout>
137            </repository>
138            <repository>
139             <url>http://download.eclipse.org/staging/neon/</url>
140             <layout>p2</layout>
141            </repository>
142           </repositories>
143          </configuration>
144         </execution>
145        </executions>
146       </plugin>
147     </plugins>
148   </build>
149 </project>