Skip to main content
summaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorDoug Schaefer2011-09-13 14:16:21 -0400
committerDoug Schaefer2011-09-13 14:16:21 -0400
commit9710ba8298c64a821fd7a298c3bf39095d0174b7 (patch)
treeba74cf5dbefb082b61cbf0de9aa0a87e56e4d8f4 /releng
parent85870c3f0b661820c5ff30be4ddf493ff79c2cb2 (diff)
downloadorg.eclipse.cdt-9710ba8298c64a821fd7a298c3bf39095d0174b7.tar.gz
org.eclipse.cdt-9710ba8298c64a821fd7a298c3bf39095d0174b7.tar.xz
org.eclipse.cdt-9710ba8298c64a821fd7a298c3bf39095d0174b7.zip
Copy repo over to staging area.
Diffstat (limited to 'releng')
-rw-r--r--releng/org.eclipse.cdt.repo/pom.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/releng/org.eclipse.cdt.repo/pom.xml b/releng/org.eclipse.cdt.repo/pom.xml
index e21aa8d818..6a7a02995e 100644
--- a/releng/org.eclipse.cdt.repo/pom.xml
+++ b/releng/org.eclipse.cdt.repo/pom.xml
@@ -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>

Back to the top