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 | ||
c7e8f6e3 | 7 | <version>1.0.0-SNAPSHOT</version> |
9c0ffa34 BH |
8 | <artifactId>tracing</artifactId> |
9 | <packaging>eclipse-repository</packaging> | |
a6140f01 | 10 | <name>Trace Compass RCP Product</name> |
9c0ffa34 BH |
11 | |
12 | <parent> | |
5be236ca | 13 | <artifactId>org.eclipse.tracecompass.rcp-parent</artifactId> |
8336b412 | 14 | <groupId>org.eclipse.tracecompass</groupId> |
c7e8f6e3 | 15 | <version>1.0.0-SNAPSHOT</version> |
9c0ffa34 BH |
16 | </parent> |
17 | ||
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> |
9c0ffa34 BH |
57 | </product> |
58 | </products> | |
59 | </configuration> | |
60 | </plugin> | |
61 | </plugins> | |
62 | </build> | |
4b42d066 | 63 | |
c83e2467 | 64 | <!-- Deploy RCP builds and update site to the downloads area --> |
4b42d066 AM |
65 | <profiles> |
66 | <profile> | |
67 | <id>deploy-rcp</id> | |
68 | <properties> | |
a0d5c3da | 69 | <rcpDestination>/home/data/httpd/download.eclipse.org/tracecompass/master/rcp/</rcpDestination> |
c83e2467 | 70 | <rcpSiteDestination>/home/data/httpd/download.eclipse.org/tracecompass/master/rcp-repository/</rcpSiteDestination> |
4b42d066 AM |
71 | </properties> |
72 | <build> | |
73 | <plugins> | |
74 | <plugin> | |
75 | <artifactId>maven-antrun-plugin</artifactId> | |
76 | <executions> | |
77 | <execution> | |
78 | <id>deploy</id> | |
79 | <phase>install</phase> | |
80 | <goals> | |
81 | <goal>run</goal> | |
82 | </goals> | |
83 | <configuration> | |
84 | <target> | |
c83e2467 | 85 | <!-- Cleanup the "rcp" destination, and copy over the new archives --> |
4b42d066 AM |
86 | <delete includeemptydirs="false"> |
87 | <fileset dir="${rcpDestination}"> | |
eb75a29f AM |
88 | <include name="*.tar.gz" /> |
89 | <include name="*.zip" /> | |
4b42d066 AM |
90 | </fileset> |
91 | </delete> | |
4b42d066 | 92 | <copy includeemptydirs="false" todir="${rcpDestination}"> |
c83e2467 | 93 | <fileset dir="target/products"> |
4b42d066 AM |
94 | <include name="trace-compass-*" /> |
95 | </fileset> | |
96 | </copy> | |
c83e2467 AM |
97 | |
98 | <!-- Cleanup the "rcp-repository" update site, and copy over the new one --> | |
99 | <delete includeemptydirs="false"> | |
100 | <fileset | |
101 | dir="${rcpSiteDestination}"> | |
102 | <include name="**" /> | |
103 | </fileset> | |
104 | </delete> | |
105 | <copy includeemptydirs="false" todir="${rcpSiteDestination}"> | |
106 | <fileset dir="target/repository"> | |
107 | <include name="**" /> | |
108 | </fileset> | |
109 | </copy> | |
4b42d066 AM |
110 | </target> |
111 | </configuration> | |
112 | </execution> | |
113 | </executions> | |
114 | </plugin> | |
115 | </plugins> | |
116 | </build> | |
117 | </profile> | |
118 | </profiles> | |
119 | ||
120 | <groupId>org.eclipse.tracecompass</groupId> | |
9c0ffa34 | 121 | </project> |