rcp: Update RCP product plugin's ID
[deliverable/tracecompass.git] / rcp / org.eclipse.tracecompass.rcp.product / pom.xml
CommitLineData
9c0ffa34
BH
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
9c0ffa34 7 <parent>
5be236ca 8 <artifactId>org.eclipse.tracecompass.rcp-parent</artifactId>
8336b412 9 <groupId>org.eclipse.tracecompass</groupId>
38a9b03f 10 <version>2.0.0-SNAPSHOT</version>
9c0ffa34
BH
11 </parent>
12
477bd7f3
AM
13 <artifactId>org.eclipse.tracecompass.rcp.product</artifactId>
14 <packaging>eclipse-repository</packaging>
15
16 <name>Trace Compass RCP Product</name>
17
9c0ffa34 18 <properties>
a6140f01 19 <productId>org.eclipse.tracecompass.rcp</productId>
7ded7fad 20 <maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
9c0ffa34
BH
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>
ace940da 44 <macosx>tar.gz</macosx>
9c0ffa34
BH
45 <solaris>zip</solaris>
46 <win32>zip</win32>
47 </formats>
48 </configuration>
49 </execution>
50 </executions>
51 <configuration>
52 <products>
53 <product>
26e617c1 54 <archiveFileName>trace-compass-${unqualifiedVersion}-${build.timestamp}</archiveFileName>
9c0ffa34 55 <id>${productId}</id>
a6140f01 56 <rootFolder>trace-compass</rootFolder>
91d6dce4
MAL
57 <rootFolders>
58 <!-- for MacOSX, make sure you use a folder ending with .app , see bug 463670 -->
59 <macosx>trace-compass.app</macosx>
60 </rootFolders>
9c0ffa34
BH
61 </product>
62 </products>
876bae55 63 <source>repository</source>
9c0ffa34
BH
64 </configuration>
65 </plugin>
66 </plugins>
67 </build>
4b42d066 68
c83e2467 69 <!-- Deploy RCP builds and update site to the downloads area -->
4b42d066
AM
70 <profiles>
71 <profile>
72 <id>deploy-rcp</id>
73 <properties>
a0d5c3da 74 <rcpDestination>/home/data/httpd/download.eclipse.org/tracecompass/master/rcp/</rcpDestination>
c83e2467 75 <rcpSiteDestination>/home/data/httpd/download.eclipse.org/tracecompass/master/rcp-repository/</rcpSiteDestination>
4b42d066
AM
76 </properties>
77 <build>
78 <plugins>
79 <plugin>
80 <artifactId>maven-antrun-plugin</artifactId>
81 <executions>
82 <execution>
83 <id>deploy</id>
84 <phase>install</phase>
85 <goals>
86 <goal>run</goal>
87 </goals>
88 <configuration>
89 <target>
c83e2467 90 <!-- Cleanup the "rcp" destination, and copy over the new archives -->
4b42d066
AM
91 <delete includeemptydirs="false">
92 <fileset dir="${rcpDestination}">
eb75a29f
AM
93 <include name="*.tar.gz" />
94 <include name="*.zip" />
4b42d066
AM
95 </fileset>
96 </delete>
4b42d066 97 <copy includeemptydirs="false" todir="${rcpDestination}">
c83e2467 98 <fileset dir="target/products">
4b42d066
AM
99 <include name="trace-compass-*" />
100 </fileset>
101 </copy>
c83e2467
AM
102
103 <!-- Cleanup the "rcp-repository" update site, and copy over the new one -->
104 <delete includeemptydirs="false">
105 <fileset
106 dir="${rcpSiteDestination}">
107 <include name="**" />
108 </fileset>
109 </delete>
110 <copy includeemptydirs="false" todir="${rcpSiteDestination}">
111 <fileset dir="target/repository">
112 <include name="**" />
113 </fileset>
114 </copy>
4b42d066
AM
115 </target>
116 </configuration>
117 </execution>
118 </executions>
119 </plugin>
120 </plugins>
121 </build>
122 </profile>
123 </profiles>
124
9c0ffa34 125</project>
This page took 0.065657 seconds and 5 git commands to generate.