Skip to content

Commit 2112964

Browse files
committed
Support jakarta EE 9
1 parent 48dbdae commit 2112964

File tree

138 files changed

+7496
-91
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+7496
-91
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ Users are encouraged to use more up-to-date JSON Schema support tools.
2626

2727
(from [TestGenerateJsonSchema](https://github.com/FasterXML/jackson-module-jsonSchema/blob/master/src/test/java/com/fasterxml/jackson/module/jsonSchema/TestGenerateJsonSchema.java#L136))
2828

29-
simply add a dependency (this is from my gradle config)
29+
simply add a dependency
3030
`"com.fasterxml.jackson.module:jackson-module-jsonSchema:2.9.0"`
31+
or
32+
`"com.fasterxml.jackson.module:jackson-module-jsonSchema-jakarta:2.9.0"` for the jakarta namespace
33+
3134
and for gradle, at least, you can simply add `mavenLocal()` to your repositories.
3235
Maven should resolve the dependency from its local repo transparently.
3336

jakarta/pom.xml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<!-- This module was also published with a richer model, Gradle metadata, -->
3+
<!-- which should be used instead. Do not delete the following line which -->
4+
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
5+
<!-- that they should prefer consuming it instead. -->
6+
<!-- do_not_remove: published-with-gradle-metadata -->
7+
<modelVersion>4.0.0</modelVersion>
8+
<parent>
9+
<groupId>com.fasterxml.jackson.module</groupId>
10+
<artifactId>jackson-module-jsonSchema-parent</artifactId>
11+
<version>2.15.0-SNAPSHOT</version>
12+
</parent>
13+
<artifactId>jackson-module-jsonSchema-jakarta</artifactId>
14+
<name>jackson-module-jsonSchema-jakarta</name>
15+
<packaging>bundle</packaging>
16+
<description>Add-on module for Jackson (http://jackson.codehaus.org) to support
17+
JSON Schema (http://tools.ietf.org/html/draft-zyp-json-schema-03) version 3 generation.
18+
</description>
19+
20+
<dependencies>
21+
<dependency>
22+
<groupId>jakarta.validation</groupId>
23+
<artifactId>jakarta.validation-api</artifactId>
24+
<version>3.0.2</version>
25+
</dependency>
26+
27+
</dependencies>
28+
29+
<build>
30+
<plugins>
31+
<plugin>
32+
<groupId>org.apache.maven.plugins</groupId>
33+
<artifactId>maven-surefire-plugin</artifactId>
34+
<version>${version.plugin.surefire}</version>
35+
<configuration>
36+
<excludes>
37+
<exclude>com/fasterxml/jackson/module/jsonSchema_jakarta/failing/*.java</exclude>
38+
</excludes>
39+
</configuration>
40+
</plugin>
41+
<!-- 28-Mar-2019, tatu: Add rudimentary JDK9+ module info. To build with JDK 8
42+
will have to use `moduleInfoFile` as anything else requires JDK 9+
43+
-->
44+
<plugin>
45+
<groupId>org.moditect</groupId>
46+
<artifactId>moditect-maven-plugin</artifactId>
47+
</plugin>
48+
<!-- 05-Jul-2020, tatu: Add generation of Gradle Module Metadata -->
49+
<plugin>
50+
<groupId>de.jjohannes</groupId>
51+
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
52+
</plugin>
53+
</plugins>
54+
</build>
55+
</project>

0 commit comments

Comments
 (0)