-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[124] Add jakarta.json-tck-tests-pluggability test runner.
Signed-off-by: James R. Perkins <[email protected]>
- Loading branch information
Showing
2 changed files
with
115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Copyright \(c\) "2022" Red Hat and others | ||
~ | ||
~ This program and the accompanying materials are made available under the Apache Software License 2.0 which is available at: | ||
~ https://www.apache.org/licenses/LICENSE-2.0. | ||
~ | ||
~ SPDX-License-Identifier: Apache-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 https://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<!-- Just for staging proflie access (-Pstaging) for unreleased Jakarta APIs --> | ||
<parent> | ||
<groupId>org.wildfly.tck</groupId> | ||
<artifactId>core-tck-runner-parent</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>jsonp-plugability-tck-runner</artifactId> | ||
<name>WildFly Jakarta JSON-P Plugability TCK Runner</name> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-api</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-engine</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.tools</groupId> | ||
<artifactId>sigtest-maven-plugin</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>jakarta.json</groupId> | ||
<artifactId>jakarta.json-tck-tests-pluggability</artifactId> | ||
<version>${jsonp.tck.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jboss.weld.se</groupId> | ||
<artifactId>weld-se-core</artifactId> | ||
<version>${weld.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-antrun-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<phase>process-test-classes</phase> | ||
<goals> | ||
<goal>run</goal> | ||
</goals> | ||
<configuration> | ||
<!-- Export the properties defined below so they can be used for the signature tests --> | ||
<exportAntProperties>true</exportAntProperties> | ||
<target> | ||
<fileset id="json-jar" | ||
dir="${jboss.home}${file.separator}modules/system/layers/base/jakarta/json/api/main/"> | ||
<include name="**/jakarta.json-api*.jar"/> | ||
</fileset> | ||
<pathconvert pathsep="," property="jakarta.json.jar" refid="json-jar"/> | ||
</target> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>default-test</id> | ||
<configuration> | ||
<skip>true</skip> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>json-bind-tck-tests</id> | ||
<phase>test</phase> | ||
<goals> | ||
<goal>test</goal> | ||
</goals> | ||
<configuration> | ||
<skip>false</skip> | ||
<additionalClasspathElements> | ||
<additionalClasspathElement>${jakarta.json.jar}</additionalClasspathElement> | ||
</additionalClasspathElements> | ||
<dependenciesToScan> | ||
<dependency>jakarta.json:jakarta.json-tck-tests-pluggability</dependency> | ||
</dependenciesToScan> | ||
<trimStackTrace>false</trimStackTrace> | ||
<failIfNoTests>true</failIfNoTests> | ||
<forkCount>1</forkCount> | ||
<reuseForks>false</reuseForks> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters