Commit | Line | Data |
---|---|---|
1b70b6dc PT |
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> | |
2e225298 | 20 | <artifactId>org.eclipse.tracecompass.releng-parent</artifactId> |
8336b412 | 21 | <groupId>org.eclipse.tracecompass</groupId> |
4aaa0b56 | 22 | <version>2.1.0-SNAPSHOT</version> |
1b70b6dc PT |
23 | </parent> |
24 | ||
8336b412 | 25 | <artifactId>org.eclipse.tracecompass.releng-site</artifactId> |
8336b412 | 26 | <name>Trace Compass Repository</name> |
1b70b6dc PT |
27 | <packaging>eclipse-repository</packaging> |
28 | ||
d538e443 MAL |
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> | |
be51c6e5 | 46 | <skipBuildInfo>true</skipBuildInfo> |
d538e443 MAL |
47 | </configuration> |
48 | </plugin> | |
49 | </plugins> | |
50 | </build> | |
51 | ||
33112414 AM |
52 | <profiles> |
53 | <profile> | |
56a48bdb | 54 | <id>deploy-update-site</id> |
33112414 | 55 | <properties> |
a0d5c3da | 56 | <siteDestination>/home/data/httpd/download.eclipse.org/tracecompass/master/repository/</siteDestination> |
33112414 AM |
57 | </properties> |
58 | <build> | |
59 | <plugins> | |
60 | <plugin> | |
61 | <artifactId>maven-antrun-plugin</artifactId> | |
7679e68a | 62 | <version>1.8</version> |
33112414 AM |
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> | |
1b70b6dc PT |
93 | |
94 | </project> |