Skip to content

Commit

Permalink
Update TCK for RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAure committed Jun 3, 2024
1 parent 9f781bf commit 21dc822
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 22 deletions.
4 changes: 2 additions & 2 deletions jnosql-data-tck-runner/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This project runs the Jakarta Data Technology Compatibility Kit (TCK) on standal

== Overview

In order to aid in the development of the `data-1.0` feature, this project is configured specifically to allow the feature developers to run the TCK against the Eclipse JNoSQL implementation.
This project is configured specifically to allow the feature developers to run the TCK against the Eclipse JNoSQL implementation.

== Running the TCK for Verification

Expand All @@ -20,5 +20,5 @@ Then, run the following command to execute the TCK:

[source,shell]
----
mvn clean test -B -Djakarta.tck.profile=standalone -Djnosql.document.database=jnosql -Djnosql.mongodb.host=localhost:27017
mvn clean test -B -Djnosql.document.database=mongo -Djnosql.mongodb.host=localhost:27017
----
55 changes: 35 additions & 20 deletions jnosql-data-tck-runner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,47 @@
<targetDirectory>${project.basedir}/target</targetDirectory>

<!-- Dependency versions -->
<jakarta.data.tck.version>1.0.0-M4</jakarta.data.tck.version>
<sigtest.version>1.6</sigtest.version>
<arquillian.version>1.7.0.Final</arquillian.version>
<jakarta.data.version>1.0.0-RC1</jakarta.data.version>
<jakarta.servlet.version>6.1.0</jakarta.servlet.version>
<jakarta.enterprise.cdi.version>4.1.0</jakarta.enterprise.cdi.version>

<arquillian.version>1.8.0.Final</arquillian.version>
<junit.version>5.10.2</junit.version>
<shrinkwrap.version>1.2.6</shrinkwrap.version>
<sigtest.version>2.3</sigtest.version>

<!-- Pointer to logging.properties file that has the java.util.logging
configuration -->
<logging.config>${project.basedir}/logging.properties</logging.config>

<!-- TCK settings -->
<included.groups><![CDATA[standalone & nosql]]></included.groups>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${junit.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<!-- tck - data - external TCK -->
<dependency>
<groupId>jakarta.data</groupId>
<artifactId>jakarta.data-tck</artifactId>
<version>${jakarta.data.tck.version}</version>
<version>${jakarta.data.version}</version>
</dependency>
<!-- api - data -->
<dependency>
<groupId>jakarta.data</groupId>
<artifactId>jakarta.data-api</artifactId>
<version>${jakarta.data.api.version}</version>
<version>${jakarta.data.version}</version>
</dependency>
<!-- impl - data -->
<!-- TODO figure out how to start a MongoDB instance, and configure it -->
Expand All @@ -84,7 +105,7 @@
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>org.netbeans.tools</groupId>
<groupId>jakarta.tck</groupId>
<artifactId>sigtest-maven-plugin</artifactId>
<version>${sigtest.version}</version>
</dependency>
Expand All @@ -99,7 +120,7 @@
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-api</artifactId>
<version>1.2.6</version>
<version>${shrinkwrap.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.junit5</groupId>
Expand All @@ -109,21 +130,14 @@
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>6.0.0</version>
<version>${jakarta.servlet.version}</version>
</dependency>
<!-- APIs referenced by TCK that do require implementations for standalone tests -->
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
<version>4.0.0</version>
<version>${jakarta.enterprise.cdi.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.jboss.arquillian.container/arquillian-weld-embedded -->
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-weld-embedded</artifactId>
<version>4.0.0.Final</version>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down Expand Up @@ -153,10 +167,11 @@
<usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName>
</statelessTestsetReporter>
<systemPropertyVariables>
<java.util.logging.config.file>logging.properties</java.util.logging.config.file>
<jimage.dir>${project.build.directory}/jdk17-bundle</jimage.dir>
<java.util.logging.config.file>${logging.config}</java.util.logging.config.file>
<jimage.dir>target/tck-classes</jimage.dir>
<signature.sigTestClasspath>
${project.build.directory}/dependency/jakarta.data-api-${jakarta.data.api.version}.jar:${project.build.directory}/jdk11-bundle/java.base:${project.build.directory}/jdk11-bundle/java.rmi:${project.build.directory}/jdk11-bundle/java.sql:${project.build.directory}/jdk11-bundle/java.naming</signature.sigTestClasspath>
${project.build.directory}/dependency/jakarta.data-api-${jakarta.data.api.version}.jar
</signature.sigTestClasspath>
<jakarta.tck.skip.deployment>true</jakarta.tck.skip.deployment>
</systemPropertyVariables>
<groups>${included.groups}</groups>
Expand Down

0 comments on commit 21dc822

Please sign in to comment.