Replies: 2 comments 3 replies
-
I was able to run 'mvn install' by disabling the moditec step in this file: `diff --git a/jsonschema-generator/pom.xml b/jsonschema-generator/pom.xml
` |
Beta Was this translation helpful? Give feedback.
-
As per the response above:
<dependency>
<groupId>com.github.victools</groupId>
<artifactId>jsonschema-generator</artifactId>
<version>4.36.0</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.17.0</version>
</dependency> |
Beta Was this translation helpful? Give feedback.
-
I'd like to use your library in an in-house project but need it to move to jackson 2.17.0
I cloned the repository and made the change. 'mvn package' passed.
I encountered the following error trying 'mvn install':
[INFO] Java JSON Schema Generator ......................... FAILURE [ 7.570 s]
...
[ERROR] Failed to execute goal org.moditect:moditect-maven-plugin:1.0.0.RC3:add-module-info (add-module-infos) on project jsonschema-generator: File jsonschema-generator-4.37.0-SNAPSHOT.jar is already modular -> [Help 1]
I'm unable to push the change to create a PR, so I'd appreciate a solution to at least be able to test locally. Thanks
Here is my change:
commit 6dcd1a2d20a7c933b5b9afda9626324037a71f58 (HEAD -> jackson2.17.0)
Author: Richard Dykiel [email protected]
Date: Tue Oct 29 13:46:58 2024 -0400
diff --git a/jsonschema-generator-parent/pom.xml b/jsonschema-generator-parent/pom.xml
index af5d7a9..346cfb6 100644
--- a/jsonschema-generator-parent/pom.xml
+++ b/jsonschema-generator-parent/pom.xml
@@ -151,7 +151,7 @@
Beta Was this translation helpful? Give feedback.
All reactions