blob: d6af7397b831d93882ee51afd4ba09e1d7555b0f [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>
<parent>
<groupId>org.eclipse.wst.sse.sieditor</groupId>
<artifactId>org.eclipse.wst.sse.sieditor_parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../org.eclipse.wst.sse.sieditor.releng/pom.xml</relativePath>
</parent>
<artifactId>org.eclipse.wst.sse.sieditor.repository</artifactId>
<packaging>eclipse-update-site</packaging>
<name>Service Interface and Data Types Editors Update Site</name>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.tycho</groupId>
<artifactId>maven-osgi-packaging-plugin</artifactId>
<configuration>
<archiveSite>true</archiveSite>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<snapshotRepository>/home/data/httpd/download.eclipse.org/webtools/incubator/repository/sieditor/snapshots</snapshotRepository>
</properties>
<profiles>
<profile>
<id>build-at-eclipse</id>
<activation>
<file>
<exists>/home/data/httpd/download.eclipse.org/webtools/incubator/repository/sieditor/snapshots</exists>
</file>
</activation>
<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="${snapshotRepository}">
<include name="**" />
</fileset>
</delete>
<copy includeemptydirs="false" todir="${snapshotRepository}">
<fileset dir="target/site">
<include name="**" />
</fileset>
</copy>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>