Revision 76a043f561170a9f0773a5551e67eee3728b86af authored by Greg Watson on 19 April 2016, 15:16:41 UTC, committed by Greg Watson on 19 April 2016, 15:16:41 UTC
Signed-off-by: Greg Watson <g.watson@computer.org>
1 parent e536a56
pom.xml
<?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.ice</groupId>
<artifactId>org.eclipse.ice.build</artifactId>
<version>2.1.8-SNAPSHOT</version>
<relativePath>../org.eclipse.ice.parent/pom.xml</relativePath>
</parent>
<name>ICE Repository</name>
<artifactId>org.eclipse.ice.repository</artifactId>
<packaging>eclipse-repository</packaging>
<profiles>
<profile>
<id>production</id>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>verify</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<mkdir dir="${ice-install-dir}" />
<delete includeemptydirs="true">
<fileset dir="${ice-install-dir}">
<include name="**/*" />
</fileset>
</delete>
<!-- Unzip p2 repo into install dir -->
<unzip
src="${project.build.directory}/${project.build.finalName}.zip"
dest="${ice-install-dir}" />
<!-- Put copy of master repo zip into install dir -->
<copy
file="${project.build.directory}/${project.build.finalName}.zip"
tofile="${ice-install-dir}/ice-master-${unqualifiedVersion}.${buildQualifier}.zip" />
<!-- Make sure the install dir is writable to the group -->
<chmod perm="g+w">
<fileset dir="${ice-install-dir}">
<include name="**" />
</fileset>
</chmod>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Computing file changes ...