blob: 0147650c485a0f14d0fa9cef2a64eca811bd17e8 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<prerequisites>
<maven>3.0</maven>
</prerequisites>
<groupId>org.eclipse.mat</groupId>
<artifactId>parent</artifactId>
<version>1.9.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>MAT Parent</name>
<properties>
<tycho-version>1.1.0</tycho-version>
<signer-input-directory>/home/data/httpd/download-staging.priv/tools/mat</signer-input-directory>
<download-publish-path>/home/data/httpd/download.eclipse.org/mat/snapshots/update-site</download-publish-path>
<download-publish-rcp-path>/home/data/httpd/download.eclipse.org/mat/snapshots/rcp</download-publish-rcp-path>
<!-- mat-target specifies which .target definition file will be used -->
<mat-target>mat-photon</mat-target>
<!-- mat-release-repo-url specifies from which p2 repo the MAT bundles
come, when the build-release profile is used -->
<mat-release-repo-url>http://download.eclipse.org/mat/1.8/update-site/</mat-release-repo-url>
</properties>
<profiles>
<!-- build-snapshot is the default profile - it will build all modules:
plugins, features, an update site and standalone RCP products -->
<profile>
<id>build-snapshot</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<!-- target definition -->
<module>../org.eclipse.mat.targetdef</module>
<!-- plugins -->
<module>../plugins/org.eclipse.mat.api</module>
<module>../plugins/org.eclipse.mat.chart</module>
<module>../plugins/org.eclipse.mat.chart.ui</module>
<module>../plugins/org.eclipse.mat.dtfj</module>
<module>../plugins/org.eclipse.mat.hprof</module>
<module>../plugins/org.eclipse.mat.jdt</module>
<module>../plugins/org.eclipse.mat.parser</module>
<module>../plugins/org.eclipse.mat.report</module>
<module>../plugins/org.eclipse.mat.ibmdumps</module>
<module>../plugins/org.eclipse.mat.jruby.resolver</module>
<module>../plugins/org.eclipse.mat.tests</module>
<module>../plugins/org.eclipse.mat.ui</module>
<module>../plugins/org.eclipse.mat.ui.help</module>
<module>../plugins/org.eclipse.mat.ui.rcp</module>
<!-- features -->
<module>../features/org.eclipse.mat.chart.feature</module>
<module>../features/org.eclipse.mat.feature</module>
<module>../features/org.eclipse.mat.ui.rcp.feature</module>
<!-- update site -->
<module>../org.eclipse.mat.updatesite</module>
<!-- standalone RCP application -->
<module>../org.eclipse.mat.product</module>
<!-- UI tests on the build product -->
<module>../plugins/org.eclipse.mat.ui.rcp.tests</module>
</modules>
</profile>
<!-- the build-release-rcp profile will build only the standalone RCP products
of MAT, taking the MAT plugins and features from an already existing MAT
p2 repository specified by the mat-release-repo-url property -->
<profile>
<id>build-release-rcp</id>
<repositories>
<repository>
<id>mat-released</id>
<url>${mat-release-repo-url}</url>
<layout>p2</layout>
</repository>
</repositories>
<modules>
<!-- target definition -->
<module>../org.eclipse.mat.targetdef</module>
<!-- standalone RCP application -->
<module>../org.eclipse.mat.product</module>
<!-- UI tests on the build product -->
<module>../plugins/org.eclipse.mat.ui.rcp.tests</module>
</modules>
</profile>
<!-- the build-server profile activates certain action (e.g. signing the
bundles), which only work if the build is running on the Eclipse Hudson infrastructure. -->
<profile>
<id>build-server</id>
<pluginRepositories>
<!-- Repository for the signing/publishing plugins -->
<pluginRepository>
<id>maven.eclipse.org</id>
<url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<includePackedArtifacts>true</includePackedArtifacts>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200a-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>pack200-normalize</id>
<goals>
<goal>normalize</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
<version>1.1.3</version>
<executions>
<execution>
<id>sign</id>
<goals>
<goal>sign</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200b-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>pack200-pack</id>
<goals>
<goal>pack</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>p2-metadata</id>
<goals>
<goal>p2-metadata</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
<configuration>
<defaultP2Metadata>false</defaultP2Metadata>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>ppc64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>ppc64le</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<encoding>ISO-8859-1</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<argLine>-ea -Xmx768m</argLine>
<!-- <testFailureIgnore>true</testFailureIgnore> -->
<includes>
<include>**/AllTests.class</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
<target>
<artifact>
<groupId>org.eclipse.mat</groupId>
<artifactId>org.eclipse.mat.targetdef</artifactId>
<version>${project.version}</version>
<classifier>${mat-target}</classifier>
</artifact>
</target>
<!-- List of bundles to be excluded from the target platform. These
bundles are comming as optional dependencies for other bundles, and we have
no CQs to deliver them -->
<filters>
<filter>
<type>eclipse-plugin</type>
<id>org.apache.lucene.highlighter</id>
<removeAll />
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.apache.lucene.memory</id>
<removeAll />
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.apache.lucene.misc</id>
<removeAll />
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.apache.lucene.queries</id>
<removeAll />
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.apache.lucene.snowball</id>
<removeAll />
</filter>
<filter>
<type>eclipse-plugin</type>
<id>org.apache.lucene.spellchecker</id>
<removeAll />
</filter>
</filters>
<ignoreTychoRepositories>true</ignoreTychoRepositories>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.4</version>
<configuration>
<findbugsXmlOutput>true</findbugsXmlOutput>
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
<xmlOutput>true</xmlOutput>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>