Skip to content

Commit 40c34fc

Browse files
yrodieregsmet
authored andcommitted
HV-1882 Make sure to copy javafx.api modules to WildFly when running the TCK with JDK8
1 parent 671b978 commit 40c34fc

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

tck-runner/pom.xml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,41 @@
400400
</plugins>
401401
</build>
402402
</profile>
403+
<profile>
404+
<id>testWithJdk8</id>
405+
<activation>
406+
<property>
407+
<name>java-version.test.release</name>
408+
<value>8</value>
409+
</property>
410+
</activation>
411+
<build>
412+
<plugins>
413+
<!-- Copy additional modules -->
414+
<plugin>
415+
<artifactId>maven-resources-plugin</artifactId>
416+
<executions>
417+
<execution>
418+
<id>copy-resources</id>
419+
<phase>generate-test-resources</phase>
420+
<goals>
421+
<goal>copy-resources</goal>
422+
</goals>
423+
<configuration>
424+
<outputDirectory>${wildfly.target-dir}/modules/system/layers/base/</outputDirectory>
425+
<resources>
426+
<resource>
427+
<directory>src/test/modules/jdk8</directory>
428+
<filtering>true</filtering>
429+
</resource>
430+
</resources>
431+
</configuration>
432+
</execution>
433+
</executions>
434+
</plugin>
435+
</plugins>
436+
</build>
437+
</profile>
403438
<profile>
404439
<id>testWithJdk11+</id>
405440
<activation>

0 commit comments

Comments
 (0)