rcp: Build proper .app on Mac
[deliverable/tracecompass.git] / rcp / 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>1.0.0-SNAPSHOT</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.rcp-parent</artifactId>
14 <groupId>org.eclipse.tracecompass</groupId>
15 <version>1.0.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-${unqualifiedVersion}-${build.timestamp}</archiveFileName>
55 <id>${productId}</id>
56 <rootFolder>trace-compass</rootFolder>
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>
61 </product>
62 </products>
63 </configuration>
64 </plugin>
65 </plugins>
66 </build>
67
68 <!-- Deploy RCP builds and update site to the downloads area -->
69 <profiles>
70 <profile>
71 <id>deploy-rcp</id>
72 <properties>
73 <rcpDestination>/home/data/httpd/download.eclipse.org/tracecompass/master/rcp/</rcpDestination>
74 <rcpSiteDestination>/home/data/httpd/download.eclipse.org/tracecompass/master/rcp-repository/</rcpSiteDestination>
75 </properties>
76 <build>
77 <plugins>
78 <plugin>
79 <artifactId>maven-antrun-plugin</artifactId>
80 <executions>
81 <execution>
82 <id>deploy</id>
83 <phase>install</phase>
84 <goals>
85 <goal>run</goal>
86 </goals>
87 <configuration>
88 <target>
89 <!-- Cleanup the "rcp" destination, and copy over the new archives -->
90 <delete includeemptydirs="false">
91 <fileset dir="${rcpDestination}">
92 <include name="*.tar.gz" />
93 <include name="*.zip" />
94 </fileset>
95 </delete>
96 <copy includeemptydirs="false" todir="${rcpDestination}">
97 <fileset dir="target/products">
98 <include name="trace-compass-*" />
99 </fileset>
100 </copy>
101
102 <!-- Cleanup the "rcp-repository" update site, and copy over the new one -->
103 <delete includeemptydirs="false">
104 <fileset
105 dir="${rcpSiteDestination}">
106 <include name="**" />
107 </fileset>
108 </delete>
109 <copy includeemptydirs="false" todir="${rcpSiteDestination}">
110 <fileset dir="target/repository">
111 <include name="**" />
112 </fileset>
113 </copy>
114 </target>
115 </configuration>
116 </execution>
117 </executions>
118 </plugin>
119 </plugins>
120 </build>
121 </profile>
122 </profiles>
123
124 <groupId>org.eclipse.tracecompass</groupId>
125 </project>
This page took 0.041853 seconds and 6 git commands to generate.