| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (C) 2020, 2023 Red Hat Inc. and others. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License v2.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/epl-v20.html |
| --> |
| <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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.eclipse.epp</groupId> |
| <artifactId>org.eclipse.epp-parent</artifactId> |
| <version>4.28.0-SNAPSHOT</version> |
| <relativePath>../releng/org.eclipse.epp.config/parent</relativePath> |
| </parent> |
| |
| <artifactId>archive-template</artifactId> |
| <description>Prepare archive folder</description> |
| <packaging>eclipse-repository</packaging> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <executionEnvironment>none</executionEnvironment> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-eclipserun-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <executions> |
| <execution> |
| <id>remove-uncategorized</id> |
| <phase>package</phase> |
| <goals> |
| <goal>eclipse-run</goal> |
| </goals> |
| <configuration> |
| <appArgLine>-data target/antrun-workspace -application org.eclipse.ant.core.antRunner -buildfile remove-categories.xml</appArgLine> |
| <repositories> |
| <repository> |
| <id>eclipse</id> |
| <layout>p2</layout> |
| <url>http://download.eclipse.org/releases/latest</url> |
| </repository> |
| </repositories> |
| <dependencies> |
| <dependency> |
| <artifactId>org.eclipse.ant.core</artifactId> |
| <type>eclipse-plugin</type> |
| </dependency> |
| <dependency> |
| <artifactId>org.apache.ant</artifactId> |
| <type>eclipse-plugin</type> |
| </dependency> |
| <dependency> |
| <artifactId>org.eclipse.pde.api.tools</artifactId> |
| <type>eclipse-plugin</type> |
| </dependency> |
| </dependencies> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-repository-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <executions> |
| <execution> |
| <id>re-archive-without-categories</id> |
| <phase>package</phase> |
| <goals><goal>archive-repository</goal></goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-template-repo</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <target> |
| <copy todir="${basedir}/../archive/repository"> |
| <fileset dir="${project.build.directory}/repository"/> |
| </copy> |
| </target> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |