blob: 0093965fb2ace8c03e6b7af623d855c79f222281 [file] [log] [blame]
<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>
<relativePath>../../releng/mvn-jwt-builder/pom.xml</relativePath>
<groupId>org.eclipse.jwt</groupId>
<artifactId>parent</artifactId>
<version>1.5.0.qualifier</version>
</parent>
<groupId>org.eclipse.jwt</groupId>
<artifactId>org.eclipse.jwt.p2updatesite</artifactId>
<version>${env.VERSION}.${maven.build.timestamp}</version>
<packaging>eclipse-repository</packaging>
<!-- publish update site to http server -->
<profiles>
<profile>
<id>publish</id>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>install</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<delete includeemptydirs="false">
<fileset
dir="${download-publish-path}${env.UPDATESITE}">
<include name="**" />
</fileset>
</delete>
<copy includeemptydirs="false"
todir="${download-publish-path}${env.UPDATESITE}">
<fileset dir="target/repository/">
<include name="**" />
</fileset>
</copy>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>