blob: 53a56ca35e654ca1f5e4a518c1ef0793c94d60c5 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.ptp.master</groupId>
<artifactId>org.eclipse.ptp.master</artifactId>
<version>8.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>org.eclipse.ptp-product</artifactId>
<version>8.0.1-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<profiles>
<profile>
<id>production</id>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>install</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy file="${project.build.directory}/products/ptp-linux.gtk.x86.tar.gz"
tofile="${ptp-install-dir}/ptp-linux-gtk-x86-${unqualifiedVersion}.tar.gz"/>
<copy file="${project.build.directory}/products/ptp-linux.gtk.x86_64.tar.gz"
tofile="${ptp-install-dir}/ptp-linux-gtk-x86_64-${unqualifiedVersion}.tar.gz"/>
<copy file="${project.build.directory}/products/ptp-win32.win32.x86.zip"
tofile="${ptp-install-dir}/ptp-win32-x86-${unqualifiedVersion}.zip"/>
<copy file="${project.build.directory}/products/ptp-win32.win32.x86_64.zip"
tofile="${ptp-install-dir}/ptp-win32-x86_64-${unqualifiedVersion}.zip"/>
<copy file="${project.build.directory}/products/ptp-macosx.cocoa.x86_64.tar.gz"
tofile="${ptp-install-dir}/ptp-macosx-cocoa-x86_64-${unqualifiedVersion}.tar.gz"/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<createArtifactRepository>false</createArtifactRepository>
<includeAllDependencies>true</includeAllDependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<formats>
<win32>zip</win32>
<linux>tar.gz</linux>
<macosx>tar.gz</macosx>
</formats>
<products>
<product>
<id>ptp</id>
<rootFolder>eclipse</rootFolder>
<rootFolders>
<macosx>Eclipse.app</macosx>
</rootFolders>
<!-- Required to pick up the ptp.p2.inf file -->
<attachId>ptp</attachId>
</product>
</products>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<phase>pre-integration-test</phase>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>