Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'features/org.eclipse.tm.tcf.repo/pom.xml')
-rw-r--r--features/org.eclipse.tm.tcf.repo/pom.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/features/org.eclipse.tm.tcf.repo/pom.xml b/features/org.eclipse.tm.tcf.repo/pom.xml
index 49373dcdc..99e526987 100644
--- a/features/org.eclipse.tm.tcf.repo/pom.xml
+++ b/features/org.eclipse.tm.tcf.repo/pom.xml
@@ -14,4 +14,47 @@
<version>0.5.0-SNAPSHOT</version>
<artifactId>org.eclipse.tm.tcf.repo</artifactId>
<packaging>eclipse-repository</packaging>
+
+ <properties>
+ <tcf-install>/home/data/httpd/download.eclipse.org/tools/cdt/builds/hudson/tcf-maint</tcf-install>
+ </properties>
+
+ <profiles>
+ <profile>
+ <id>production</id>
+ <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