xtext-core/releng/p2/pom.xml
2017-01-18 11:47:03 +01:00

57 lines
1.5 KiB
XML

<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>
<artifactId>xtext-core.p2-repository</artifactId>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>org.eclipse.xtext</groupId>
<artifactId>xtext-core.releng</artifactId>
<version>2.12.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<properties>
<tycho-version>0.26.0</tycho-version>
<root-dir>${basedir}/../..</root-dir>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>assemble-repository</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy todir="${root-dir}/build/p2-repository">
<fileset dir="${basedir}/target/repository/" />
</copy>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>