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
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2023, 2023 Hannes Wellmann and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/org/documents/edl-v10.php
Contributors:
Hannes Wellmann - initial implementation
-->
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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.platform</groupId>
<artifactId>eclipse.platform.runtime</artifactId>
<version>4.30.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>org.eclipse.e4.core.tests</artifactId>
<version>1.3.200-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
<properties>
<testClass>org.eclipse.e4.core.tests.CoreTestSuite</testClass>
</properties>
<build>
<testSourceDirectory>src</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<!-- The tycho-ds-plugin generates component-xml files into
target/classes/OSGI-INF, but when this Plugin is exected in a tycho-surefire
runtime, the bundle-root is this project's root directory and the
Service-Component-Runtime only searches for component-xml files only in
<bundle-root>/OSGI-INF and does not consider the classpath-->
<execution>
<id>copy-ds-component-xml</id>
<goals>
<goal>copy-resources</goal>
</goals>
<phase>process-test-resources</phase>
<configuration>
<resources>
<resource>
<directory>
${project.build.outputDirectory}/OSGI-INF</directory>
<include>*.xml</include>
</resource>
</resources>
<outputDirectory>${project.basedir}/OSGI-INF</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
|