2020-01-23 11:19:54 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2023-08-21 23:33:14 -04:00
|
|
|
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">
|
2021-05-09 06:56:44 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2020-01-23 11:19:54 -05:00
|
|
|
<artifactId>json-2</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2022-06-24 12:28:34 -04:00
|
|
|
<artifactId>json-modules</artifactId>
|
2020-01-23 11:19:54 -05:00
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
2022-05-02 12:11:24 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.json</groupId>
|
|
|
|
<artifactId>json</artifactId>
|
|
|
|
<version>${json.version}</version>
|
|
|
|
</dependency>
|
2021-12-06 08:23:41 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
</dependency>
|
2021-06-24 15:10:37 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jsonschema2pojo</groupId>
|
|
|
|
<artifactId>jsonschema2pojo-core</artifactId>
|
2022-05-15 02:53:05 -04:00
|
|
|
<version>${jsonschema2pojo-core.version}</version>
|
2021-06-24 15:10:37 -04:00
|
|
|
</dependency>
|
2020-01-23 11:19:54 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.jsoniter</groupId>
|
|
|
|
<artifactId>jsoniter</artifactId>
|
|
|
|
<version>${jsoniter.version}</version>
|
|
|
|
</dependency>
|
2020-03-17 10:30:46 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.moshi</groupId>
|
|
|
|
<artifactId>moshi</artifactId>
|
|
|
|
<version>${moshi.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.moshi</groupId>
|
|
|
|
<artifactId>moshi-adapters</artifactId>
|
|
|
|
<version>${moshi.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2020-07-07 07:18:10 -04:00
|
|
|
<version>${commons-lang3.version}</version>
|
2020-03-17 10:30:46 -04:00
|
|
|
</dependency>
|
2020-06-22 10:26:42 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
2020-09-14 07:11:59 -04:00
|
|
|
<version>${jackson.version}</version>
|
2020-06-22 10:26:42 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2020-09-14 07:11:59 -04:00
|
|
|
<version>${jackson.version}</version>
|
2020-06-22 10:26:42 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.io-informatics.oss</groupId>
|
|
|
|
<artifactId>jackson-jsonld</artifactId>
|
2022-05-15 02:53:05 -04:00
|
|
|
<version>${jackson-jsonld.version}</version>
|
2020-06-22 10:26:42 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jsonld-java</artifactId>
|
|
|
|
<groupId>com.github.jsonld-java</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>de.escalon.hypermedia</groupId>
|
|
|
|
<artifactId>hydra-jsonld</artifactId>
|
2022-05-15 02:53:05 -04:00
|
|
|
<version>${hydra-jsonld.version}</version>
|
2020-06-22 10:26:42 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.jsonld-java</groupId>
|
|
|
|
<artifactId>jsonld-java</artifactId>
|
2022-05-15 02:53:05 -04:00
|
|
|
<version>${jsonld-java.version}</version>
|
2020-06-22 10:26:42 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2022-12-14 05:58:33 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.11.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
|
|
|
<version>RELEASE</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2023-02-26 11:25:24 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.annotation</groupId>
|
|
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
|
|
<version>1.3.2</version>
|
|
|
|
</dependency>
|
2023-08-21 23:33:14 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.victools</groupId>
|
|
|
|
<artifactId>jsonschema-generator</artifactId>
|
|
|
|
<version>${jsonschema-generator.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.victools</groupId>
|
|
|
|
<artifactId>jsonschema-module-jackson</artifactId>
|
|
|
|
<version>${jsonschema-generator.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.validation</groupId>
|
|
|
|
<artifactId>jakarta.validation-api</artifactId>
|
|
|
|
<version>${jakarta.validation.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.victools</groupId>
|
|
|
|
<artifactId>jsonschema-module-jakarta-validation</artifactId>
|
|
|
|
<version>${jsonschema-generator.version}</version>
|
|
|
|
</dependency>
|
2020-01-23 11:19:54 -05:00
|
|
|
</dependencies>
|
2021-05-09 06:56:44 -04:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2022-11-17 13:56:06 -05:00
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. -->
|
|
|
|
<!-- It has no influence on the Maven build itself. -->
|
2021-05-09 06:56:44 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>
|
|
|
|
org.apache.maven.plugins
|
|
|
|
</groupId>
|
|
|
|
<artifactId>
|
|
|
|
maven-pmd-plugin
|
|
|
|
</artifactId>
|
|
|
|
<versionRange>
|
|
|
|
[3.13.0,)
|
|
|
|
</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2023-08-21 23:33:14 -04:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.victools</groupId>
|
|
|
|
<artifactId>jsonschema-maven-plugin</artifactId>
|
|
|
|
<version>${jsonschema-generator.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<packageNames>
|
|
|
|
<packageName>com.baeldung.jsonschemageneration.plugin</packageName>
|
|
|
|
</packageNames>
|
|
|
|
<classNames>
|
|
|
|
<className>com.baeldung.jsonschemageneration.plugin.Person</className>
|
|
|
|
</classNames>
|
|
|
|
<schemaVersion>DRAFT_2020_12</schemaVersion>
|
|
|
|
<schemaFilePath>src/main/resources/schemas</schemaFilePath>
|
|
|
|
<schemaFileName>{1}/{0}.json</schemaFileName>
|
|
|
|
<failIfNoClassesMatch>true</failIfNoClassesMatch>
|
|
|
|
<options>
|
|
|
|
<preset>PLAIN_JSON</preset>
|
|
|
|
<enabled>
|
|
|
|
<option>DEFINITIONS_FOR_ALL_OBJECTS</option>
|
|
|
|
<option>FORBIDDEN_ADDITIONAL_PROPERTIES_BY_DEFAULT</option>
|
|
|
|
</enabled>
|
|
|
|
<disabled>SCHEMA_VERSION_INDICATOR</disabled>
|
|
|
|
</options>
|
|
|
|
<modules>
|
|
|
|
<module>
|
|
|
|
<name>Jackson</name>
|
|
|
|
<options>
|
|
|
|
<option>RESPECT_JSONPROPERTY_REQUIRED</option>
|
|
|
|
</options>
|
|
|
|
</module>
|
|
|
|
<module>
|
|
|
|
<name>JakartaValidation</name>
|
|
|
|
<options>
|
|
|
|
<option>NOT_NULLABLE_FIELD_IS_REQUIRED</option>
|
|
|
|
<option>INCLUDE_PATTERN_EXPRESSIONS</option>
|
|
|
|
</options>
|
|
|
|
</module>
|
|
|
|
</modules>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2021-05-09 06:56:44 -04:00
|
|
|
</build>
|
|
|
|
|
2020-01-23 11:19:54 -05:00
|
|
|
<properties>
|
|
|
|
<jsoniter.version>0.9.23</jsoniter.version>
|
2020-03-17 10:30:46 -04:00
|
|
|
<moshi.version>1.9.2</moshi.version>
|
2021-12-06 08:23:41 -05:00
|
|
|
<fastjson.version>1.2.21</fastjson.version>
|
2022-05-02 12:11:24 -04:00
|
|
|
<json.version>20211205</json.version>
|
2022-05-15 02:53:05 -04:00
|
|
|
<jsonschema2pojo-core.version>1.1.1</jsonschema2pojo-core.version>
|
|
|
|
<jackson-jsonld.version>0.1.1</jackson-jsonld.version>
|
|
|
|
<hydra-jsonld.version>0.4.2</hydra-jsonld.version>
|
|
|
|
<jsonld-java.version>0.13.0</jsonld-java.version>
|
2023-08-21 23:33:14 -04:00
|
|
|
<jsonschema-generator.version>4.31.1</jsonschema-generator.version>
|
|
|
|
<jakarta.validation.version>3.0.2</jakarta.validation.version>
|
2020-01-23 11:19:54 -05:00
|
|
|
</properties>
|
2021-05-09 06:56:44 -04:00
|
|
|
|
|
|
|
</project>
|