Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
<jruby.version>9.4.12.1</jruby.version>

<!-- Dependency versions -->
<asm.version>9.10</asm.version>
<jakarta.json.version>2.1.3</jakarta.json.version>
<jakarta.inject.version>2.0.1</jakarta.inject.version>
<jakarta.enterprise.cdi.version>5.0.0</jakarta.enterprise.cdi.version>
Expand Down Expand Up @@ -179,6 +180,11 @@
<artifactId>sigtest-maven-plugin</artifactId>
<version>${sigtest.maven.version}</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>${asm.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down
60 changes: 51 additions & 9 deletions tck-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<!--

Copyright (c) 2022, 2026 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2026 Contributors to the Eclipse Foundation

This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -29,15 +30,9 @@
</parent>

<artifactId>jakarta.json.bind-tck-dist</artifactId>
<packaging>pom</packaging>

<name>Jakarta JSON Binding TCK Distribution</name>

<!--
These dependencies are resolved by maven-assembly-plugin to populate the artifacts/
directory inside the distribution zip. They are not compile/runtime dependencies of
this module itself.
-->
<dependencies>
<!-- Parent POM included so implementors can inspect the managed dependency versions -->
<dependency>
Expand All @@ -51,7 +46,6 @@
<groupId>jakarta.json.bind</groupId>
<artifactId>jakarta.json.bind-api</artifactId>
<version>${project.version}</version>
<type>jar</type>
</dependency>
<!-- TCK POM (for dependency resolution when running tests) -->
<dependency>
Expand All @@ -60,12 +54,11 @@
<version>${project.version}</version>
<type>pom</type>
</dependency>
<!-- TCK test jar -->
<!-- TCK test jar — path resolved by maven-dependency-plugin and passed to CollectMetaData -->
<dependency>
<groupId>jakarta.json.bind</groupId>
<artifactId>jakarta.json.bind-tck</artifactId>
<version>${project.version}</version>
<type>jar</type>
</dependency>
<!-- TCK sources jar (optional — useful for debugging test failures) -->
<dependency>
Expand All @@ -75,10 +68,59 @@
<classifier>sources</classifier>
<optional>true</optional>
</dependency>
<!-- ASM bytecode reader used by CollectMetaData to scan @Test/@Disabled without loading classes -->
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<!-- Compile CollectMetaData and any other sources in this module -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<!-- Expose TCK jar path as ${jakarta.json.bind:jakarta.json.bind-tck:jar} -->
<execution>
<id>resolve-tck-jar-path</id>
<phase>initialize</phase>
<goals>
<goal>properties</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- Generate asciidoc sections from @Test / @Disabled metadata in the TCK jar -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>generate-asciidoc</id>
<phase>prepare-package</phase>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>ee.jakarta.tck.json.bind.metadata.CollectMetaData</mainClass>
<arguments>
<argument>false</argument> <!-- debug? -->
<argument>${jakarta.json.bind:jakarta.json.bind-tck:jar}</argument>
<argument>${project.basedir}/src/main/asciidoc/generated</argument>
</arguments>
</configuration>
</plugin>

<!-- Packages the TCK distribution zip containing artifacts, docs, bin/pom.xml, and README -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
5 changes: 5 additions & 0 deletions tck-dist/src/main/asciidoc/generated/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
runtime-tests.adoc
successful-challenges.adoc
expected-sig-output.adoc
expected-output.adoc
packages.adoc
Loading
Loading