publish to staging.
diff --git a/org.eclipse.cdt.debug.edc.repo/pom.xml b/org.eclipse.cdt.debug.edc.repo/pom.xml
index 0871826..2aaff8b 100644
--- a/org.eclipse.cdt.debug.edc.repo/pom.xml
+++ b/org.eclipse.cdt.debug.edc.repo/pom.xml
@@ -14,4 +14,42 @@
<version>8.0.0-SNAPSHOT</version>
<artifactId>org.eclipse.cdt.debug.edc.repo</artifactId>
<packaging>eclipse-repository</packaging>
+
+ <profiles>
+ <profile>
+ <id>production</id>
+ <properties>
+ <edc-install>/home/data/httpd/download.eclipse.org/tools/cdt/builds/hudson/cdt-edc-nightly</edc-install>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deploy</id>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <mkdir dir="${edc-install}" />
+ <delete>
+ <fileset dir="${edc-install}">
+ <include name="**" />
+ </fileset>
+ </delete>
+ <copy file="target/org.eclipse.cdt.debug.edc.repo.zip"
+ tofile="${edc-install}/org.eclipse.cdt.debug.edc.repo.${unqualifiedVersion}.${buildQualifier}.zip" />
+ <unzip src="target/org.eclipse.cdt.debug.edc.repo.zip" dest="${edc-install}" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/pom.xml b/pom.xml
index 67ddfc1..bac7ec4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,10 +18,8 @@
<tycho-version>0.13.0-SNAPSHOT</tycho-version>
<platform-version>3.7</platform-version>
<platform-site>http://download.eclipse.org/eclipse/updates/${platform-version}</platform-site>
- <cdt-version>8.0</cdt-version>
- <cdt-site>file://${basedir}/../../org.eclipse.cdt/releng/org.eclipse.cdt.repo/target/repository/</cdt-site>
- <tcf-version>0.5.0</tcf-version>
- <tcf-site>file://${basedir}/../../org.eclipse.tm.tcf/features/org.eclipse.tm.tcf.repo/target/repository/</tcf-site>
+ <cdt-site>file://home/data/httpd/download.eclipse.org/tools/cdt/builds/hudson/cdt-nightly</cdt-site>
+ <tcf-site>file://home/data/httpd/download.eclipse.org/tools/cdt/builds/hudson/tcf-nightly</tcf-site>
</properties>
<licenses>
@@ -57,12 +55,12 @@
<repositories>
<repository>
- <id>cdt-${cdt-version}</id>
+ <id>cdt</id>
<url>${cdt-site}</url>
<layout>p2</layout>
</repository>
<repository>
- <id>tcf-${tcf-version}</id>
+ <id>tcf</id>
<url>${tcf-site}</url>
<layout>p2</layout>
</repository>