Prepare post 4.0.0-rc1 builds
[egit/eclipse.git] / org.eclipse.egit.repository / pom.xml
blob991cc3719d9046fb41835ef4442ad985c39ea8c0
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.0.0-SNAPSHOT</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               <associateSites>
88                 <site>http://download.eclipse.org/e4/snapshots/org.eclipse.e4.ui</site>
89               </associateSites>
90             </configuration>
91           </execution>
92         </executions>
93       </plugin>
94     </plugins>
95   </build>
96 </project>