diff options
-rw-r--r-- | features/org.eclipse.tm.tcf.repo/.project | 11 | ||||
-rw-r--r-- | features/org.eclipse.tm.tcf.repo/pom.xml | 43 |
2 files changed, 54 insertions, 0 deletions
diff --git a/features/org.eclipse.tm.tcf.repo/.project b/features/org.eclipse.tm.tcf.repo/.project new file mode 100644 index 000000000..05f44e25c --- /dev/null +++ b/features/org.eclipse.tm.tcf.repo/.project @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.tm.tcf.repo</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
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> |