blob: 864b8f3625d4a88dbd7f2d0bbe73eec4e9350da2 [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>
<groupId>org.eclipse.tm.terminal</groupId>
<artifactId>org.eclipse.tm.terminal.maven-build</artifactId>
<version>4.4.0-SNAPSHOT</version>
<relativePath>../../admin/pom-build.xml</relativePath>
</parent>
<version>4.4.0-SNAPSHOT</version>
<artifactId>org.eclipse.tm.terminal.repo</artifactId>
<packaging>eclipse-repository</packaging>
<profiles>
<profile>
<id>deploy</id>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>install</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<delete includeemptydirs="true">
<fileset dir="${terminal-install}">
<include name="**" />
</fileset>
</delete>
<mkdir dir="${terminal-install}/common" />
<mkdir dir="${terminal-install}/remote" />
<copy includeemptydirs="false" todir="${terminal-install}">
<fileset dir="target/repository">
<include name="**" />
</fileset>
<fileset dir="target">
<include name="${terminal-zipfile}" />
</fileset>
</copy>
<chmod perm="g+w">
<fileset dir="${terminal-install}">
<include name="**" />
</fileset>
</chmod>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>