blob: cdd4e3dc5822a076e51f01f13e7a678227e4c989 [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>
<artifactId>org.eclipse.jubula.releng.client</artifactId>
<groupId>org.eclipse.jubula</groupId>
<version>4.0.0-SNAPSHOT</version>
<relativePath>../org.eclipse.jubula.releng.client</relativePath>
</parent>
<artifactId>org.eclipse.jubula.repo</artifactId>
<packaging>eclipse-repository</packaging>
<name>Jubula p2-repository for Eclipse</name>
<profiles>
<profile>
<id>build-eclipse-org</id>
<activation>
<property>
<name>build.env</name>
<value>eclipse.org</value>
</property>
</activation>
<build>
<plugins>
<!-- deploy "development" p2 repository -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>verify</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<property name="targetDir" value="/home/data/httpd/download.eclipse.org/jubula/nightly"/>
<checksum
file="${project.build.directory}/${project.artifactId}-${project.version}.zip"
forceOverwrite="yes"
algorithm="SHA-512" fileext=".sha" />
<delete includeemptydirs="false">
<fileset dir="${targetDir}">
<include name="**" />
</fileset>
</delete>
<move todir="${targetDir}">
<fileset dir="${project.build.directory}">
<include name="${project.artifactId}-${project.version}.zip*" />
</fileset>
</move>
<move includeemptydirs="false" todir="${targetDir}/repo">
<fileset dir="target/repository">
<include name="**" />
</fileset>
</move>
</tasks>
</configuration>
</execution>
</executions>
</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>
<pomDependencies>consider</pomDependencies>
<target>
<artifact>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<classifier>../org.eclipse.jubula.project.configuration/target/definitions/e3e4</classifier>
</artifact>
</target>
<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>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
</build>
</project>