-
Notifications
You must be signed in to change notification settings - Fork 5
/
pom.xml
107 lines (96 loc) · 3.43 KB
/
pom.xml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2015, 2021 EfficiOS Inc., Alexandre Montplaisir, and others
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<licenses>
<license>
<name>Eclipse Public License 2.0</name>
<comments>
All rights reserved. This program and the accompanying materials are
made available under the terms of the Eclipse Public License 2.0 which
accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
</comments>
</license>
</licenses>
<parent>
<groupId>org.eclipse.tracecompass.testtraces</groupId>
<artifactId>tracecompass-test-traces-parent</artifactId>
<version>1.12.0-SNAPSHOT</version>
</parent>
<artifactId>tracecompass-test-traces-update-site</artifactId>
<packaging>pom</packaging>
<properties>
<p2-deploy-destination>${siteDestination}/tracecompass/tracecompass-test-traces/repository/latest/</p2-deploy-destination>
</properties>
<pluginRepositories>
<pluginRepository>
<id>maven central</id>
<url>https://repo1.maven.org/maven2/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.reficio</groupId>
<artifactId>p2-maven-plugin</artifactId>
<version>1.3.0</version>
<executions>
<execution>
<id>generate-p2-repo</id>
<phase>compile</phase>
<goals>
<goal>site</goal>
</goals>
<configuration>
<artifacts>
<artifact><id>org.eclipse.tracecompass.testtraces:tracecompass-test-traces-ctf:${project.version}</id><source>true</source></artifact>
<artifact><id>org.eclipse.tracecompass.testtraces:tracecompass-test-traces-ftrace:${project.version}</id><source>true</source>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>deploy-p2-repo</id>
<phase>deploy</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<delete includeemptydirs="false">
<fileset
dir="${p2-deploy-destination}">
<include name="**" />
</fileset>
</delete>
<copy includeemptydirs="false"
todir="${p2-deploy-destination}">
<fileset dir="target/repository">
<include name="**" />
</fileset>
</copy>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>