1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Copy repo over to staging area.

This commit is contained in:
Doug Schaefer 2011-09-13 14:16:21 -04:00
parent 85870c3f0b
commit 9710ba8298

View file

@ -14,4 +14,45 @@
<version>8.0.0-SNAPSHOT</version>
<artifactId>org.eclipse.cdt.repo</artifactId>
<packaging>eclipse-repository</packaging>
<profiles>
<profile>
<id>production</id>
<build>
<properties>
<cdt-install>/home/data/httpd/download.eclipse.org/tools/cdt/builds/hudson/cdt-nightly</cdt-install>
</properties>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>install</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<mkdir dir="${cdt-install}"/>
<delete>
<fileset dir="${cdt-install}">
<include name="**" />
</fileset>
</delete>
<copy
file="target/org.eclipse.cdt.repo.zip"
tofile="${cdt-install}/org.eclipse.cdt.repo.${unqualifiedVersion}.${buildQualifier}.zip"/>
<unzip
src="target/org.eclipse.cdt.repo.zip"
dest="${cdt-install}"/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>