Don't run potentially blocking operations in UI thread
[egit/eclipse.git] / org.eclipse.egit.repository / pom.xml
blobd5382be200595f827fa6e2dfc6d787c3144d41fa
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>3.6.1-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                    <tasks>
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                    </tasks>
58                  </configuration>
59                </execution>
60              </executions>
61            </plugin>
62         </plugins>
63       </build>
64     </profile>
65   </profiles>
67 </project>