| <?xml version="1.0" encoding="UTF-8"?> | |
| <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.ee4j</groupId> | |
| <artifactId>project</artifactId> | |
| <version>2.0.5</version> | |
| <relativePath/> | |
| </parent> | |
| <groupId>org.eclipse.yasson</groupId> | |
| <artifactId>yasson-tck</artifactId> | |
| <version>3.1.0-SNAPSHOT</version> | |
| <properties> | |
| <maven.compiler.release>17</maven.compiler.release> | |
| <!-- API Versions --> | |
| <!-- TODO update to EE 12 final versions --> | |
| <jakarta.json.version>2.1.3</jakarta.json.version> <!-- EE10 --> | |
| <jakarta.json.bind.version>3.1.0-M1</jakarta.json.bind.version> | |
| <!-- IMPL Versions --> | |
| <!-- TODO update to EE 12 final versions --> | |
| <jsonb.tck.version>3.1.0-M1</jsonb.tck.version> | |
| <yasson.version>${project.version}</yasson.version> | |
| <!-- Test Versions --> | |
| <junit-jupiter.version>6.1.1</junit-jupiter.version> | |
| <weld-se-core.version>6.0.4.Final</weld-se-core.version> | |
| <arquillian-junit5-container.version>1.10.2.Final</arquillian-junit5-container.version> | |
| <!-- Plugin Versions --> | |
| <maven-dependency-plugin.version>3.11.0</maven-dependency-plugin.version> | |
| <maven-surefire-plugin.version>3.6.0</maven-surefire-plugin.version> | |
| <maven-surefire-report-plugin.version>3.6.0</maven-surefire-report-plugin.version> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>jakarta.json.bind</groupId> | |
| <artifactId>jakarta.json.bind-tck</artifactId> | |
| <version>${jsonb.tck.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>jakarta.json.bind</groupId> | |
| <artifactId>jakarta.json.bind-api</artifactId> | |
| <version>${jakarta.json.bind.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>jakarta.json</groupId> | |
| <artifactId>jakarta.json-api</artifactId> | |
| <version>${jakarta.json.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.eclipse.yasson</groupId> | |
| <artifactId>yasson</artifactId> | |
| <version>${yasson.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jboss.weld.se</groupId> | |
| <artifactId>weld-se-core</artifactId> | |
| <version>${weld-se-core.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jboss.arquillian.junit5</groupId> | |
| <artifactId>arquillian-junit5-container</artifactId> | |
| <version>${arquillian-junit5-container.version}</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <version>${maven-dependency-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>copy</id> | |
| <phase>generate-test-sources</phase> | |
| <goals> | |
| <goal>copy</goal> | |
| </goals> | |
| <configuration> | |
| <artifactItems> | |
| <artifactItem> | |
| <groupId>jakarta.json.bind</groupId> | |
| <artifactId>jakarta.json.bind-api</artifactId> | |
| <version>${jakarta.json.bind.version}</version> | |
| <type>jar</type> | |
| <overWrite>true</overWrite> | |
| <outputDirectory>${project.build.directory}/signaturedirectory</outputDirectory> | |
| <destFileName>jakarta.json.bind-api.jar</destFileName> | |
| </artifactItem> | |
| <artifactItem> | |
| <groupId>jakarta.json</groupId> | |
| <artifactId>jakarta.json-api</artifactId> | |
| <version>${jakarta.json.version}</version> | |
| <type>jar</type> | |
| <overWrite>true</overWrite> | |
| <outputDirectory>${project.build.directory}/signaturedirectory</outputDirectory> | |
| <destFileName>jakarta.json-api.jar</destFileName> | |
| </artifactItem> | |
| </artifactItems> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <version>${maven-surefire-plugin.version}</version> | |
| <configuration> | |
| <trimStackTrace>false</trimStackTrace> | |
| <failIfNoTests>true</failIfNoTests> | |
| <dependenciesToScan>jakarta.json.bind:jakarta.json.bind-tck</dependenciesToScan> | |
| <systemPropertyVariables> | |
| <jimage.dir>${project.build.directory}/jdk-bundle</jimage.dir> | |
| <signature.sigTestClasspath> | |
| ${project.build.directory}/signaturedirectory/jakarta.json.bind-api.jar:${project.build.directory}/jdk-bundle/java.base:${project.build.directory}/jdk-bundle/java.rmi:${project.build.directory}/jdk-bundle/java.sql:${project.build.directory}/jdk-bundle/java.naming | |
| </signature.sigTestClasspath> | |
| </systemPropertyVariables> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-surefire-report-plugin</artifactId> | |
| <version>${maven-surefire-report-plugin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>post-unit-test</id> | |
| <phase>test</phase> | |
| <goals> | |
| <goal>report</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |