Skip to content

Commit ebadb2a

Browse files
committed
chore: creating tck maven profile
Signed-off-by: Maximillian Arruda <[email protected]>
1 parent ddc588d commit ebadb2a

File tree

1 file changed

+47
-1
lines changed

1 file changed

+47
-1
lines changed

pom.xml

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@
1212
~ Contributors:
1313
~
1414
~ Otavio Santana
15+
~ Maximillian Arruda
1516
-->
1617

1718
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1819
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1920
<modelVersion>4.0.0</modelVersion>
2021

2122
<parent>
22-
<relativePath />
23+
<relativePath/>
2324
<groupId>org.eclipse.jnosql.mapping</groupId>
2425
<artifactId>jnosql-mapping-parent</artifactId>
2526
<version>1.1.5-SNAPSHOT</version>
@@ -40,6 +41,8 @@
4041
<properties>
4142
<testcontainers.version>1.20.4</testcontainers.version>
4243
<jnosql.test.integration>false</jnosql.test.integration>
44+
<jakarta.nosql.version>1.0.0-SNAPSHOT</jakarta.nosql.version>
45+
<tck.nosql.skip>true</tck.nosql.skip>
4346
<pmd.url>https://raw.githubusercontent.com/eclipse/jnosql-databases/refs/heads/main/pmd/pmd-rules.xml</pmd.url>
4447
</properties>
4548

@@ -107,10 +110,20 @@
107110
<artifactId>jnosql-mapping-key-value</artifactId>
108111
<version>${project.version}</version>
109112
</dependency>
113+
<dependency>
114+
<groupId>jakarta.nosql</groupId>
115+
<artifactId>jakarta.nosql-tck</artifactId>
116+
<version>${jakarta.nosql.version}</version>
117+
</dependency>
110118
</dependencies>
111119
</dependencyManagement>
112120

113121
<dependencies>
122+
<dependency>
123+
<groupId>jakarta.nosql</groupId>
124+
<artifactId>jakarta.nosql-tck</artifactId>
125+
<scope>test</scope>
126+
</dependency>
114127
<dependency>
115128
<groupId>org.testcontainers</groupId>
116129
<artifactId>testcontainers</artifactId>
@@ -141,4 +154,37 @@
141154
</snapshots>
142155
</repository>
143156
</repositories>
157+
158+
<profiles>
159+
<profile>
160+
<id>tck</id>
161+
<build>
162+
<plugins>
163+
<plugin>
164+
<groupId>org.apache.maven.plugins</groupId>
165+
<artifactId>maven-surefire-plugin</artifactId>
166+
<version>${maven.surefire.plugin.version}</version>
167+
<executions>
168+
<execution>
169+
<id>nosql-tck-runner</id>
170+
<phase>test</phase>
171+
<goals>
172+
<goal>test</goal>
173+
</goals>
174+
<configuration>
175+
<skipTests>${tck.nosql.skip}</skipTests>
176+
<excludes>
177+
<exclude>org/eclipse/jnosql/**.**Test.class</exclude>
178+
</excludes>
179+
<dependenciesToScan>
180+
<dependency>jakarta.nosql:jakarta.nosql-tck</dependency>
181+
</dependenciesToScan>
182+
</configuration>
183+
</execution>
184+
</executions>
185+
</plugin>
186+
</plugins>
187+
</build>
188+
</profile>
189+
</profiles>
144190
</project>

0 commit comments

Comments
 (0)