Skip to content
Merged
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
14 changes: 8 additions & 6 deletions jsr-353/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,30 @@ working with JSR-353 (JSON-P) node types via data-binding
<!-- 18-Jan-2025, tatu: Except, not with JPMS because that PoS component
decided to use Automatic Module Name of "java.json". Which it absolutely
cannot, being the _API_ module.
So. We cannot really run tests any more. And with deprecation by Jakarta JSONP
we may want to remove the module. But for now drop dep
09-Sep-2026, pjfanning: worked around by running tests from class path
(see `useModulePath` below), so the clashing module name is never read.
-->
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.json</artifactId>
<version>1.1.4</version>
<scope>test</scope>
</dependency>
-->

</dependencies>

<build>
<plugins>
<!-- 18-Jan-2025, tatu: As per above, we cannot really run tests with JPMS.
So. Disable surefire plug-in altogether
<!-- 09-Sep-2026, pjfanning: The JSON-P 1.1 RI declares Automatic-Module-Name
"java.json", the same name as the API module, so the two cannot both be
read on the module path. Run tests from the class path instead, where
module names are not used: that lets the suite run again.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
<useModulePath>false</useModulePath>
</configuration>
</plugin>
<plugin>
Expand Down
Loading