| <?xml version="1.0" encoding="UTF-8"?> |
| <project |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.eclipse.cdt.edc</groupId> |
| <artifactId>edc-parent</artifactId> |
| <version>8.0.0-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <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> |