blob: 791b6847cf75534ea2563ace7f1c2a4777699d08 [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>
<prerequisites>
<maven>3.0</maven>
</prerequisites>
<groupId>org.eclipse.ptp.master</groupId>
<version>4.1.2-SNAPSHOT</version>
<artifactId>org.eclipse.ptp.master</artifactId>
<packaging>eclipse-repository</packaging>
<name>PTP Master</name>
<properties>
<tycho-version>0.13.0</tycho-version>
<platform-version>3.6</platform-version>
<platform-site>http://download.eclipse.org/eclipse/updates/${platform-version}</platform-site>
<orbit-version>R20090825191606</orbit-version>
<orbit-site>http://archive.eclipse.org/tools/orbit/downloads/drops/${orbit-version}/updateSite</orbit-site>
<tm-version>3.2</tm-version>
<tm-site>http://download.eclipse.org/tm/updates/${tm-version}</tm-site>
<cdt-version>7.0.2</cdt-version>
<cdt-date>201111301023</cdt-date>
<cdt-site>http://download.eclipse.org/tools/cdt/builds/${cdt-version}/${cdt-date}</cdt-site>
<photran-site>file://home/data/httpd/download.eclipse.org/tools/ptp/builds/hudson/ptp-photran-4.x</photran-site>
<ptp-build>/home/data/httpd/download.eclipse.org/tools/ptp/builds/hudson/ptp-4.x</ptp-build>
<ptp-site>file:/${ptp-build}</ptp-site>
<ptp-stream>4.1.2</ptp-stream>
<ptp-install>/home/data/httpd/download.eclipse.org/tools/ptp/builds/${ptp-stream}/nightly</ptp-install>
</properties>
<licenses>
<license>
<name>Eclipse Public License v1.0</name>
<comments>
All rights reserved.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.htm
</comments>
</license>
</licenses>
<repositories>
<repository>
<id>platform-${platform-version}</id>
<url>${platform-site}</url>
<layout>p2</layout>
</repository>
<repository>
<id>orbit-${orbit-version}</id>
<url>${orbit-site}</url>
<layout>p2</layout>
</repository>
<repository>
<id>cdt-${cdt-version}</id>
<url>${cdt-site}</url>
<layout>p2</layout>
</repository>
<repository>
<id>tm-${tm-version}</id>
<url>${tm-site}</url>
<layout>p2</layout>
</repository>
<repository>
<id>photran</id>
<url>${photran-site}</url>
<layout>p2</layout>
</repository>
<repository>
<id>ptp</id>
<url>${ptp-site}</url>
<layout>p2</layout>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>maven.eclipse.org</id>
<url>http://maven.eclipse.org/nexus/content/repositories/milestone-indigo/</url>
</pluginRepository>
</pluginRepositories>
<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>
<pomDependencies>consider</pomDependencies>
<environments>
<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>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</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>aix</os>
<ws>gtk</ws>
<arch>ppc64</arch>
</environment>
<environment>
<os>solaris</os>
<ws>gtk</ws>
<arch>sparc</arch>
</environment>
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
<executions>
<execution>
<id>attach-source</id>
<goals>
<goal>plugin-source</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<encoding>UTF-8</encoding>
<compilerArgument>-err:-discouraged,forbidden</compilerArgument>
</configuration>
</plugin>
<!-- enable source bundle generation -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>plugin-source</id>
<goals>
<goal>plugin-source</goal>
</goals>
</execution>
</executions>
</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.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<findbugsXmlOutput>true</findbugsXmlOutput>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.5</version>
<configuration>
<sourceEncoding>utf-8</sourceEncoding>
<minimumTokens>100</minimumTokens>
<targetJdk>1.5</targetJdk>
<format>xml</format>
<failOnViolation>false</failOnViolation>
</configuration>
<executions>
<execution>
<goals>
<goal>cpd-check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>production</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.dash.maven</groupId>
<artifactId>eclipse-signing-maven-plugin</artifactId>
<version>1.0.5</version>
<executions>
<execution>
<id>pack</id>
<configuration>
<inputFile>${project.build.directory}/org.eclipse.ptp.master.zip</inputFile>
</configuration>
<phase>package</phase>
<goals>
<goal>pack</goal>
</goals>
</execution>
<execution>
<id>sign</id>
<configuration>
<inputFile>${project.build.directory}/packed/org.eclipse.ptp.master.zip</inputFile>
<signerInputDirectory>/home/data/httpd/download-staging.priv/tools/ptp</signerInputDirectory>
</configuration>
<phase>package</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
<execution>
<id>repack</id>
<configuration>
<inputFile>${project.build.directory}/signed/site_assembly.zip</inputFile>
</configuration>
<phase>package</phase>
<goals>
<goal>pack</goal>
</goals>
</execution>
<execution>
<id>fixCheckSums</id>
<configuration>
<inputFile>${project.build.directory}/packed/site_assembly.zip</inputFile>
</configuration>
<phase>package</phase>
<goals>
<goal>fixCheckSums</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>install</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<mkdir dir="${ptp-install}" />
<delete includeemptydirs="true">
<fileset dir="${ptp-install}">
<include name="**/*" />
</fileset>
</delete>
<copy includeemptydirs="false" todir="${ptp-install}">
<fileset dir="${project.build.directory}/checksumFix">
<include name="**" />
</fileset>
</copy>
<copy includeemptydirs="false" todir="${ptp-install}">
<fileset dir="${ptp-build}">
<include name="rdt-server-*" />
<include name="ptp-proxy-*" />
</fileset>
</copy>
<zip basedir="${project.build.directory}/checksumFix" destfile="${ptp-install}/org.eclipse.ptp.master.signed.zip" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>