diff options
author | dschaefer | 2011-09-13 18:35:12 +0000 |
---|---|---|
committer | dschaefer | 2011-09-13 18:35:12 +0000 |
commit | 18df306ddaff5422ba20f9ea1010d2b4666f02c4 (patch) | |
tree | b4ce9c4edf8b446d429e0a346c086dba86536dea /features | |
parent | 6ba25e3da7d92a8a9f836dc240a63f320e64907e (diff) | |
download | org.eclipse.tcf-18df306ddaff5422ba20f9ea1010d2b4666f02c4.tar.gz org.eclipse.tcf-18df306ddaff5422ba20f9ea1010d2b4666f02c4.tar.xz org.eclipse.tcf-18df306ddaff5422ba20f9ea1010d2b4666f02c4.zip |
Publish to staging.
Diffstat (limited to 'features')
-rw-r--r-- | features/org.eclipse.tm.tcf.repo/pom.xml | 38 |
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> |