blob: 0af4cfe8289f4971f5548b13e58c1f1f50cb4b7b [file] [log] [blame]
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.stem.tycho</groupId>
<artifactId>org.eclipse.stem.tycho.releng</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<groupId>org.eclipse.stem.tycho</groupId>
<artifactId>org.eclipse.stem.tycho.product</artifactId>
<packaging>eclipse-repository</packaging>
<version>1.0.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>ant-before</id>
<phase>prepare-package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<property name="compile_classpath" refid="maven.compile.classpath" />
<property name="outputDir" value="${project.build.outputDirectory}" />
<property name="sourceDir" value="${project.build.sourceDirectory}" />
<ant antfile="product_update.xml" target="updateVersion" />
</tasks>
</configuration>
</execution>
<execution>
<id>ant-after</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<property name="compile_classpath" refid="maven.compile.classpath" />
<property name="outputDir" value="${project.build.outputDirectory}" />
<property name="sourceDir" value="${project.build.sourceDirectory}" />
<ant antfile="product_update.xml" target="revokeVersion" />
</tasks>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-nodeps</artifactId>
<version>1.6.5</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<includeAllDependencies>true</includeAllDependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<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>
<configuration>
<products>
<product>
<id>org.eclipse.stem.tycho.product</id>
<!-- note: this doesn't work properly with Mac signing -->
<rootFolders>
<macosx>STEM.app</macosx>
</rootFolders>
</product>
</products>
</configuration>
</plugin>
</plugins>
</build>
</project>