| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2011 Ericsson |
| 4 | |
| 5 | All rights reserved. This program and the accompanying materials |
| 6 | are made available under the terms of the Eclipse Public License v1.0 |
| 7 | which accompanies this distribution, and is available at |
| 8 | http://www.eclipse.org/legal/epl-v10.html |
| 9 | |
| 10 | Contributors: |
| 11 | Ericsson - initial implementation |
| 12 | --> |
| 13 | |
| 14 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 15 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 16 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 17 | <modelVersion>4.0.0</modelVersion> |
| 18 | |
| 19 | <parent> |
| 20 | <artifactId>org.eclipse.tracecompass.releng-parent</artifactId> |
| 21 | <groupId>org.eclipse.tracecompass</groupId> |
| 22 | <version>2.0.0-SNAPSHOT</version> |
| 23 | </parent> |
| 24 | |
| 25 | <artifactId>org.eclipse.tracecompass.releng-site</artifactId> |
| 26 | <name>Trace Compass Repository</name> |
| 27 | <packaging>eclipse-repository</packaging> |
| 28 | |
| 29 | <build> |
| 30 | <plugins> |
| 31 | <plugin> |
| 32 | <groupId>org.jboss.tools.tycho-plugins</groupId> |
| 33 | <artifactId>repository-utils</artifactId> |
| 34 | <executions> |
| 35 | <execution> |
| 36 | <id>generate-facade</id> |
| 37 | <phase>package</phase> |
| 38 | <goals> |
| 39 | <goal>generate-repository-facade</goal> |
| 40 | </goals> |
| 41 | </execution> |
| 42 | </executions> |
| 43 | <configuration> |
| 44 | <removeDefaultCategory>true</removeDefaultCategory> |
| 45 | <skipWebContentGeneration>true</skipWebContentGeneration> |
| 46 | <skipBuildInfo>true</skipBuildInfo> |
| 47 | </configuration> |
| 48 | </plugin> |
| 49 | </plugins> |
| 50 | </build> |
| 51 | |
| 52 | <profiles> |
| 53 | <profile> |
| 54 | <id>deploy-update-site</id> |
| 55 | <properties> |
| 56 | <siteDestination>/home/data/httpd/download.eclipse.org/tracecompass/master/repository/</siteDestination> |
| 57 | </properties> |
| 58 | <build> |
| 59 | <plugins> |
| 60 | <plugin> |
| 61 | <artifactId>maven-antrun-plugin</artifactId> |
| 62 | <version>1.8</version> |
| 63 | <executions> |
| 64 | <execution> |
| 65 | <id>deploy</id> |
| 66 | <phase>install</phase> |
| 67 | <goals> |
| 68 | <goal>run</goal> |
| 69 | </goals> |
| 70 | <configuration> |
| 71 | <target> |
| 72 | <delete includeemptydirs="false"> |
| 73 | <fileset |
| 74 | dir="${siteDestination}"> |
| 75 | <include name="**" /> |
| 76 | </fileset> |
| 77 | </delete> |
| 78 | <copy includeemptydirs="false" |
| 79 | todir="${siteDestination}"> |
| 80 | <fileset dir="target/repository"> |
| 81 | <include name="**" /> |
| 82 | </fileset> |
| 83 | </copy> |
| 84 | </target> |
| 85 | </configuration> |
| 86 | </execution> |
| 87 | </executions> |
| 88 | </plugin> |
| 89 | </plugins> |
| 90 | </build> |
| 91 | </profile> |
| 92 | </profiles> |
| 93 | |
| 94 | </project> |