Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8aa11274a1365c0eb15ba3b7eef13dcf4510c430 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?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</groupId>
		<artifactId>cdt-parent</artifactId>
		<version>8.5.0-SNAPSHOT</version>
		<relativePath>../../pom.xml</relativePath>
	</parent>

	<version>8.2.0-SNAPSHOT</version>
	<artifactId>org.eclipse.cdt.repo</artifactId>
	<packaging>eclipse-repository</packaging>
	
	<build>
		<finalName>${project.artifactId}</finalName>
	</build>

	<profiles>
		<profile>
			<id>production</id>
			<properties>
			    <cdt-download-dir>/home/data/httpd/download.eclipse.org/tools/cdt/builds/master/nightly</cdt-download-dir>
			</properties>
			<build>
				<plugins>
					<plugin>
					    <artifactId>maven-antrun-plugin</artifactId>
					    <version>1.7</version>
					    <executions>
					        <execution>
					            <phase>verify</phase>
					            <configuration>
					                <target>
					                    <delete dir="${cdt-download-dir}"/>
					                    <unzip src="target/org.eclipse.cdt.repo.zip"
					                        dest="${cdt-download-dir}"/>
					                </target>
					            </configuration>
					            <goals>
					                <goal>run</goal>
					            </goals>
					        </execution>
					    </executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
</project>

Back to the top