| <?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> |