xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <version>0.1.0</version>
+ <version>1.0.0-SNAPSHOT</version>
<artifactId>tracing</artifactId>
<packaging>eclipse-repository</packaging>
<name>Trace Compass RCP Product</name>
<parent>
<artifactId>org.eclipse.tracecompass</artifactId>
<groupId>org.eclipse.tracecompass</groupId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>1.0.0-SNAPSHOT</version>
</parent>
<properties>
<configuration>
<products>
<product>
- <archiveFileName>trace-compass-${project.version}-${build.timestamp}</archiveFileName>
+ <archiveFileName>trace-compass-${unqualifiedVersion}-${build.timestamp}</archiveFileName>
<id>${productId}</id>
<rootFolder>trace-compass</rootFolder>
</product>
</plugins>
</build>
+ <!-- Deploy RCP builds and update site to the downloads area -->
<profiles>
<profile>
<id>deploy-rcp</id>
<properties>
- <rcpDestination>/home/data/httpd/download.eclipse.org/tracecompass/rcp/nightly/</rcpDestination>
- <productDir>target/products</productDir> <!-- Should not be overriden! -->
+ <rcpDestination>/home/data/httpd/download.eclipse.org/tracecompass/master/rcp/</rcpDestination>
+ <rcpSiteDestination>/home/data/httpd/download.eclipse.org/tracecompass/master/rcp-repository/</rcpSiteDestination>
</properties>
<build>
<plugins>
</goals>
<configuration>
<target>
- <!-- Delete the current contents of the destination -->
- <symlink action="delete" link="${rcpDestination}/trace-compass-latest-linux.gtk.x86_64.tar.gz" />
- <symlink action="delete" link="${rcpDestination}/trace-compass-latest-linux.gtk.x86.tar.gz" />
- <symlink action="delete" link="${rcpDestination}/trace-compass-latest-macosx.cocoa.x86_64.tar.gz" />
- <symlink action="delete" link="${rcpDestination}/trace-compass-latest-win32.win32.x86_64.zip" />
- <symlink action="delete" link="${rcpDestination}/trace-compass-latest-win32.win32.x86.zip" />
+ <!-- Cleanup the "rcp" destination, and copy over the new archives -->
<delete includeemptydirs="false">
<fileset dir="${rcpDestination}">
- <include name="**" />
+ <include name="*.tar.gz" />
+ <include name="*.zip" />
</fileset>
</delete>
-
- <!-- Copy the archives to the destination -->
<copy includeemptydirs="false" todir="${rcpDestination}">
- <fileset dir="${productDir}">
+ <fileset dir="target/products">
<include name="trace-compass-*" />
</fileset>
</copy>
- <!-- Re-create the symlinks pointing to the latest archives -->
- <symlink link="${rcpDestination}/trace-compass-latest-linux.gtk.x86_64.tar.gz" resource="trace-compass-${project.version}-${build.timestamp}-linux.gtk.x86_64.tar.gz" />
- <symlink link="${rcpDestination}/trace-compass-latest-linux.gtk.x86.tar.gz" resource="trace-compass-${project.version}-${build.timestamp}-linux.gtk.x86.tar.gz" />
- <symlink link="${rcpDestination}/trace-compass-latest-macosx.cocoa.x86_64.tar.gz" resource="trace-compass-${project.version}-${build.timestamp}-macosx.cocoa.x86_64.tar.gz" />
- <symlink link="${rcpDestination}/trace-compass-latest-win32.win32.x86_64.zip" resource="trace-compass-${project.version}-${build.timestamp}-win32.win32.x86_64.zip" />
- <symlink link="${rcpDestination}/trace-compass-latest-win32.win32.x86.zip" resource="trace-compass-${project.version}-${build.timestamp}-win32.win32.x86.zip" />
+ <!-- Cleanup the "rcp-repository" update site, and copy over the new one -->
+ <delete includeemptydirs="false">
+ <fileset
+ dir="${rcpSiteDestination}">
+ <include name="**" />
+ </fileset>
+ </delete>
+ <copy includeemptydirs="false" todir="${rcpSiteDestination}">
+ <fileset dir="target/repository">
+ <include name="**" />
+ </fileset>
+ </copy>
</target>
</configuration>
</execution>