releng: Deploy update sites to the new locations
[deliverable/tracecompass.git] / org.eclipse.tracecompass.rcp.product / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6
7 <version>0.1.0</version>
8 <artifactId>tracing</artifactId>
9 <packaging>eclipse-repository</packaging>
10 <name>Trace Compass RCP Product</name>
11
12 <parent>
13 <artifactId>org.eclipse.tracecompass</artifactId>
14 <groupId>org.eclipse.tracecompass</groupId>
15 <version>0.1.0-SNAPSHOT</version>
16 </parent>
17
18 <properties>
19 <productId>org.eclipse.tracecompass.rcp</productId>
20 <maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
21 </properties>
22
23 <build>
24 <plugins>
25 <plugin>
26 <groupId>org.eclipse.tycho</groupId>
27 <artifactId>tycho-p2-director-plugin</artifactId>
28 <version>${tycho-version}</version>
29 <executions>
30 <execution>
31 <id>materialize-products</id>
32 <goals>
33 <goal>materialize-products</goal>
34 </goals>
35 </execution>
36 <execution>
37 <id>archive-products</id>
38 <goals>
39 <goal>archive-products</goal>
40 </goals>
41 <configuration>
42 <formats>
43 <linux>tar.gz</linux>
44 <macosx>tar.gz</macosx>
45 <solaris>zip</solaris>
46 <win32>zip</win32>
47 </formats>
48 </configuration>
49 </execution>
50 </executions>
51 <configuration>
52 <products>
53 <product>
54 <archiveFileName>trace-compass-${project.version}-${build.timestamp}</archiveFileName>
55 <id>${productId}</id>
56 <rootFolder>trace-compass</rootFolder>
57 </product>
58 </products>
59 </configuration>
60 </plugin>
61 </plugins>
62 </build>
63
64 <profiles>
65 <profile>
66 <id>deploy-rcp</id>
67 <properties>
68 <rcpDestination>/home/data/httpd/download.eclipse.org/tracecompass/master/rcp/</rcpDestination>
69 <productDir>target/products</productDir> <!-- Should not be overriden! -->
70 </properties>
71 <build>
72 <plugins>
73 <plugin>
74 <artifactId>maven-antrun-plugin</artifactId>
75 <executions>
76 <execution>
77 <id>deploy</id>
78 <phase>install</phase>
79 <goals>
80 <goal>run</goal>
81 </goals>
82 <configuration>
83 <target>
84 <!-- Delete the current contents of the destination -->
85 <delete includeemptydirs="false">
86 <fileset dir="${rcpDestination}">
87 <include name="*.tar.gz" />
88 <include name="*.zip" />
89 </fileset>
90 </delete>
91
92 <!-- Copy the new archives to the destination -->
93 <copy includeemptydirs="false" todir="${rcpDestination}">
94 <fileset dir="${productDir}">
95 <include name="trace-compass-*" />
96 </fileset>
97 </copy>
98 </target>
99 </configuration>
100 </execution>
101 </executions>
102 </plugin>
103 </plugins>
104 </build>
105 </profile>
106 </profiles>
107
108 <groupId>org.eclipse.tracecompass</groupId>
109 </project>
This page took 0.056084 seconds and 6 git commands to generate.