EGit v4.1.1.201511131810-r
[egit/eclipse.git] / org.eclipse.egit.repository / pom.xml
blob55b4da2267c62683813e327214b4876e906582f1
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.1.1.201511131810-r</version>
22   </parent>
24   <artifactId>org.eclipse.egit.repository</artifactId>
25   <packaging>eclipse-repository</packaging>
27   <name>EGit P2 Repository</name>
29   <profiles>
30     <profile>
31      <id>publish</id>
32      <build>
33        <plugins>
34          <plugin>
35              <artifactId>maven-antrun-plugin</artifactId>
36              <executions>
37                <execution>
38                  <id>deploy</id>
39                  <phase>install</phase>
40                  <goals>
41                    <goal>run</goal>
42                  </goals>
43                  <configuration>
44                    <target>
45                      <delete includeemptydirs="false">
46                        <fileset
47                          dir="${download-publish-path}">
48                          <include name="**" />
49                        </fileset>
50                      </delete>
51                      <copy includeemptydirs="false"
52                        todir="${download-publish-path}">
53                        <fileset dir="target/repository/">
54                          <include name="**" />
55                        </fileset>
56                      </copy>
57                    </target>
58                  </configuration>
59                </execution>
60              </executions>
61            </plugin>
62         </plugins>
63       </build>
64     </profile>
65   </profiles>
67   <pluginRepositories>
68     <pluginRepository>
69       <id>jboss-public-repository-group</id>
70       <name>JBoss Public Repository Group</name>
71       <url>http://repository.jboss.org/nexus/content/groups/public/</url>
72     </pluginRepository>
73   </pluginRepositories>
74   <build>
75     <plugins>
76       <plugin>
77         <groupId>org.jboss.tools.tycho-plugins</groupId>
78         <artifactId>repository-utils</artifactId>
79         <executions>
80           <execution>
81             <id>generate-facade</id>
82             <phase>package</phase>
83             <goals>
84               <goal>generate-repository-facade</goal>
85             </goals>
86             <configuration>
87               <siteTemplateFolder>siteTemplate/</siteTemplateFolder>
88               <!-- Symbols are used while expanding index.html template -->
89               <symbols>
90                 <update.site.name>EGit p2 Repository</update.site.name>
91                 <update.site.description>Use this URL in Eclipse to install EGit and JGit</update.site.description>
92                 <update.site.version>${project.version}</update.site.version>
93                 <target.eclipse.version>3.8.2 / 4.2.2 (Juno) or newer</target.eclipse.version>
94               </symbols>
95               <p2StatsUrl>http://download.eclipse.org/stats/egit/${project.artifactId}/${project.version}</p2StatsUrl>
96               <associateSites>
97                 <site>http://download.eclipse.org/e4/snapshots/org.eclipse.e4.ui</site>
98               </associateSites>
99             </configuration>
100           </execution>
101         </executions>
102       </plugin>
103     </plugins>
104   </build>
105 </project>