Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--features/org.eclipse.tm.tcf.repo/pom.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/features/org.eclipse.tm.tcf.repo/pom.xml b/features/org.eclipse.tm.tcf.repo/pom.xml
index 7e79dbf7c..34acde0c7 100644
--- a/features/org.eclipse.tm.tcf.repo/pom.xml
+++ b/features/org.eclipse.tm.tcf.repo/pom.xml
@@ -14,4 +14,42 @@
<version>0.5.0-SNAPSHOT</version>
<artifactId>org.eclipse.tm.tcf.repo</artifactId>
<packaging>eclipse-repository</packaging>
+
+ <profiles>
+ <profile>
+ <id>production</id>
+ <properties>
+ <tcf-install>/home/data/httpd/download.eclipse.org/tools/cdt/builds/hudson/tcf-nightly</tcf-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="${tcf-install}" />
+ <delete>
+ <fileset dir="${tcf-install}">
+ <include name="**" />
+ </fileset>
+ </delete>
+ <copy file="target/org.eclipse.tm.tcf.repo.zip"
+ tofile="${tcf-install}/org.eclipse.tm.tcf.repo.${unqualifiedVersion}.${buildQualifier}.zip" />
+ <unzip src="target/org.eclipse.tm.tcf.repo.zip" dest="${tcf-install}" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>

Back to the top