Commit | Line | Data |
---|---|---|
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> |
4aaa0b56 | 10 | <version>2.1.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> |
3398808a MAL |
21 | <archiveFileName>trace-compass-${unqualifiedVersion}-${build.timestamp}</archiveFileName> |
22 | <rootFolder>trace-compass</rootFolder> | |
23 | <!-- for MacOSX, make sure you use a folder ending with .app , see bug 463670 --> | |
24 | <rootFolderMac>${rootFolder}.app</rootFolderMac> | |
9c0ffa34 BH |
25 | </properties> |
26 | ||
27 | <build> | |
28 | <plugins> | |
29 | <plugin> | |
30 | <groupId>org.eclipse.tycho</groupId> | |
31 | <artifactId>tycho-p2-director-plugin</artifactId> | |
32 | <version>${tycho-version}</version> | |
33 | <executions> | |
34 | <execution> | |
35 | <id>materialize-products</id> | |
36 | <goals> | |
37 | <goal>materialize-products</goal> | |
38 | </goals> | |
39 | </execution> | |
40 | <execution> | |
41 | <id>archive-products</id> | |
42 | <goals> | |
43 | <goal>archive-products</goal> | |
44 | </goals> | |
45 | <configuration> | |
46 | <formats> | |
47 | <linux>tar.gz</linux> | |
ace940da | 48 | <macosx>tar.gz</macosx> |
9c0ffa34 BH |
49 | <solaris>zip</solaris> |
50 | <win32>zip</win32> | |
51 | </formats> | |
52 | </configuration> | |
53 | </execution> | |
54 | </executions> | |
55 | <configuration> | |
56 | <products> | |
57 | <product> | |
3398808a | 58 | <archiveFileName>${archiveFileName}</archiveFileName> |
9c0ffa34 | 59 | <id>${productId}</id> |
3398808a | 60 | <rootFolder>${rootFolder}</rootFolder> |
91d6dce4 | 61 | <rootFolders> |
3398808a | 62 | <macosx>${rootFolderMac}</macosx> |
91d6dce4 | 63 | </rootFolders> |
9c0ffa34 BH |
64 | </product> |
65 | </products> | |
876bae55 | 66 | <source>repository</source> |
9c0ffa34 BH |
67 | </configuration> |
68 | </plugin> | |
69 | </plugins> | |
70 | </build> | |
4b42d066 AM |
71 | |
72 | <profiles> | |
3398808a MAL |
73 | <profile> |
74 | <id>sign-update-site</id> | |
75 | <build> | |
76 | <plugins> | |
77 | <plugin> | |
78 | <groupId>org.eclipse.tycho</groupId> | |
79 | <artifactId>tycho-p2-director-plugin</artifactId> | |
80 | <version>${tycho-version}</version> | |
81 | <executions> | |
82 | <execution> | |
83 | <id>materialize-products</id> | |
84 | <goals> | |
85 | <goal>materialize-products</goal> | |
86 | </goals> | |
87 | </execution> | |
88 | <execution> | |
89 | <id>archive-products</id> | |
90 | <phase>pre-integration-test</phase> | |
91 | <goals> | |
92 | <goal>archive-products</goal> | |
93 | </goals> | |
94 | <configuration> | |
95 | <formats> | |
96 | <linux>tar.gz</linux> | |
97 | <macosx>tar.gz</macosx> | |
98 | <solaris>zip</solaris> | |
99 | <win32>zip</win32> | |
100 | </formats> | |
101 | </configuration> | |
102 | </execution> | |
103 | </executions> | |
104 | <configuration> | |
105 | <products> | |
106 | <product> | |
107 | <archiveFileName>${archiveFileName}</archiveFileName> | |
108 | <id>${productId}</id> | |
109 | <rootFolder>${rootFolder}</rootFolder> | |
110 | <rootFolders> | |
111 | <macosx>${rootFolderMac}</macosx> | |
112 | </rootFolders> | |
113 | </product> | |
114 | </products> | |
115 | <source>repository</source> | |
116 | </configuration> | |
117 | </plugin> | |
118 | <plugin> | |
119 | <groupId>org.eclipse.cbi.maven.plugins</groupId> | |
120 | <artifactId>eclipse-macsigner-plugin</artifactId> | |
121 | <version>${cbi-plugins.version}</version> | |
122 | <executions> | |
123 | <execution> | |
124 | <goals> | |
125 | <goal>sign</goal> | |
126 | </goals> | |
127 | <configuration> | |
128 | <signFiles> | |
129 | <signFile>${project.build.directory}/products/${productId}/macosx/cocoa/x86_64/${rootFolderMac}</signFile> | |
130 | </signFiles> | |
131 | </configuration> | |
132 | </execution> | |
133 | </executions> | |
134 | </plugin> | |
135 | </plugins> | |
136 | </build> | |
137 | </profile> | |
138 | <!-- Deploy RCP builds and update site to the downloads area --> | |
4b42d066 AM |
139 | <profile> |
140 | <id>deploy-rcp</id> | |
141 | <properties> | |
a0d5c3da | 142 | <rcpDestination>/home/data/httpd/download.eclipse.org/tracecompass/master/rcp/</rcpDestination> |
c83e2467 | 143 | <rcpSiteDestination>/home/data/httpd/download.eclipse.org/tracecompass/master/rcp-repository/</rcpSiteDestination> |
4b42d066 AM |
144 | </properties> |
145 | <build> | |
146 | <plugins> | |
147 | <plugin> | |
148 | <artifactId>maven-antrun-plugin</artifactId> | |
149 | <executions> | |
150 | <execution> | |
151 | <id>deploy</id> | |
152 | <phase>install</phase> | |
153 | <goals> | |
154 | <goal>run</goal> | |
155 | </goals> | |
156 | <configuration> | |
157 | <target> | |
c83e2467 | 158 | <!-- Cleanup the "rcp" destination, and copy over the new archives --> |
4b42d066 AM |
159 | <delete includeemptydirs="false"> |
160 | <fileset dir="${rcpDestination}"> | |
eb75a29f AM |
161 | <include name="*.tar.gz" /> |
162 | <include name="*.zip" /> | |
4b42d066 AM |
163 | </fileset> |
164 | </delete> | |
4b42d066 | 165 | <copy includeemptydirs="false" todir="${rcpDestination}"> |
c83e2467 | 166 | <fileset dir="target/products"> |
4b42d066 AM |
167 | <include name="trace-compass-*" /> |
168 | </fileset> | |
169 | </copy> | |
c83e2467 AM |
170 | |
171 | <!-- Cleanup the "rcp-repository" update site, and copy over the new one --> | |
172 | <delete includeemptydirs="false"> | |
173 | <fileset | |
174 | dir="${rcpSiteDestination}"> | |
175 | <include name="**" /> | |
176 | </fileset> | |
177 | </delete> | |
178 | <copy includeemptydirs="false" todir="${rcpSiteDestination}"> | |
179 | <fileset dir="target/repository"> | |
180 | <include name="**" /> | |
181 | </fileset> | |
182 | </copy> | |
4b42d066 AM |
183 | </target> |
184 | </configuration> | |
185 | </execution> | |
186 | </executions> | |
187 | </plugin> | |
188 | </plugins> | |
189 | </build> | |
190 | </profile> | |
9be1bc87 MAL |
191 | <profile> |
192 | <id>build-one-rcp</id> | |
193 | <build> | |
194 | <plugins> | |
195 | <plugin> | |
196 | <groupId>org.eclipse.tycho</groupId> | |
197 | <artifactId>target-platform-configuration</artifactId> | |
198 | <configuration> | |
199 | <environments> | |
200 | <environment> | |
201 | <os>linux</os> | |
202 | <ws>gtk</ws> | |
203 | <arch>x86_64</arch> | |
204 | </environment> | |
205 | </environments> | |
206 | </configuration> | |
207 | </plugin> | |
208 | </plugins> | |
209 | </build> | |
210 | </profile> | |
211 | </profiles> | |
9c0ffa34 | 212 | </project> |