blob: 26e20183fddc63f34c9f0a9ea752e5095c298061 [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>9.1.3-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>org.eclipse.ptp.rcp.sysmon-product</artifactId>
<version>9.1.3-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/sysmon-linux.gtk.x86.tar.gz"
tofile="${ptp-install-dir}/sysmon-linux-gtk-x86-${unqualifiedVersion}.tar.gz"/>
<copy file="${project.build.directory}/products/sysmon-linux.gtk.x86_64.tar.gz"
tofile="${ptp-install-dir}/sysmon-linux-gtk-x86_64-${unqualifiedVersion}.tar.gz"/>
<copy file="${project.build.directory}/products/sysmon-win32.win32.x86.zip"
tofile="${ptp-install-dir}/sysmon-win32-x86-${unqualifiedVersion}.zip"/>
<copy file="${project.build.directory}/products/sysmon-win32.win32.x86_64.zip"
tofile="${ptp-install-dir}/sysmon-win32-x86_64-${unqualifiedVersion}.zip"/>
<copy file="${project.build.directory}/products/sysmon-macosx.cocoa.x86_64.tar.gz"
tofile="${ptp-install-dir}/sysmon-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>true</createArtifactRepository>
<!-- Workaround for Bug 512182 -->
<!-- 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>sysmon</id>
<rootFolder>sysmon</rootFolder>
<rootFolders>
<macosx>SysMon.app</macosx>
</rootFolders>
</product>
</products>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>