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