Skip to content

Commit

Permalink
Try to get test-jar properly built
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 16, 2025
1 parent 0ec4ce1 commit ff6073c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ tools.jackson.core.*;version=${project.version}
<include>module-info.*</include>
<include>tools/jackson/core/testutil/**/*.*</include>
</includes>
<excludes>
</excludes>

</configuration>
</execution>
</executions>
Expand Down
11 changes: 6 additions & 5 deletions src/test/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
module tools.jackson.core.testutil
{
// Additional test lib/framework dependencies
requires org.assertj.core;
requires org.junit.jupiter.api;
requires org.junit.jupiter.params;
requires transitive org.assertj.core;
requires transitive org.junit.jupiter.api;
requires transitive org.junit.jupiter.params;

// Requires Main jar for tests
requires tools.jackson.core;

// Exports a small set of Classes for downstream Jackson components
// Exports/opens a small set of Classes for downstream Jackson components
exports tools.jackson.core.testutil;
exports tools.jackson.core.testutil.failure;
opens tools.jackson.core.testutil;
opens tools.jackson.core.testutil.failure;

// Additional test opens for JUnit tests

Expand All @@ -31,7 +33,6 @@
opens tools.jackson.core.unittest.jsonptr;
opens tools.jackson.core.unittest.read;
opens tools.jackson.core.unittest.read.loc;
opens tools.jackson.core.testutil.failure;
opens tools.jackson.core.unittest.tofix;
opens tools.jackson.core.unittest.tofix.async;
opens tools.jackson.core.unittest.sym;
Expand Down

0 comments on commit ff6073c

Please sign in to comment.