| 
									
										
										
										
											2020-01-23 16:19:54 +00:00
										 |  |  | <?xml version="1.0" encoding="UTF-8"?> | 
					
						
							|  |  |  | <project xmlns="http://maven.apache.org/POM/4.0.0" | 
					
						
							| 
									
										
										
										
											2023-08-22 03:33:14 +00: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 16:26:44 +05:30
										 |  |  |     <modelVersion>4.0.0</modelVersion> | 
					
						
							| 
									
										
										
										
											2020-01-23 16:19:54 +00:00
										 |  |  |     <artifactId>json-2</artifactId> | 
					
						
							|  |  |  |     <version>0.0.1-SNAPSHOT</version> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <parent> | 
					
						
							|  |  |  |         <groupId>com.baeldung</groupId> | 
					
						
							| 
									
										
										
										
											2022-06-24 17:28:34 +01:00
										 |  |  |         <artifactId>json-modules</artifactId> | 
					
						
							| 
									
										
										
										
											2020-01-23 16:19:54 +00:00
										 |  |  |         <version>1.0.0-SNAPSHOT</version> | 
					
						
							|  |  |  |     </parent> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <dependencies> | 
					
						
							| 
									
										
										
										
											2022-05-02 19:11:24 +03:00
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.json</groupId> | 
					
						
							|  |  |  |             <artifactId>json</artifactId> | 
					
						
							|  |  |  |             <version>${json.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2021-12-06 18:53:41 +05:30
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>com.alibaba</groupId> | 
					
						
							|  |  |  |             <artifactId>fastjson</artifactId> | 
					
						
							|  |  |  |             <version>${fastjson.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2021-06-25 00:40:37 +05:30
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.jsonschema2pojo</groupId> | 
					
						
							|  |  |  |             <artifactId>jsonschema2pojo-core</artifactId> | 
					
						
							| 
									
										
										
										
											2022-05-15 08:53:05 +02:00
										 |  |  |             <version>${jsonschema2pojo-core.version}</version> | 
					
						
							| 
									
										
										
										
											2021-06-25 00:40:37 +05:30
										 |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2020-01-23 16:19:54 +00:00
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>com.jsoniter</groupId> | 
					
						
							|  |  |  |             <artifactId>jsoniter</artifactId> | 
					
						
							|  |  |  |             <version>${jsoniter.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2020-03-17 14:30:46 +00: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 14:18:10 +03:00
										 |  |  |             <version>${commons-lang3.version}</version> | 
					
						
							| 
									
										
										
										
											2020-03-17 14:30:46 +00:00
										 |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2020-06-22 16:26:42 +02:00
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>com.fasterxml.jackson.core</groupId> | 
					
						
							|  |  |  |             <artifactId>jackson-annotations</artifactId> | 
					
						
							| 
									
										
										
										
											2020-09-14 13:11:59 +02:00
										 |  |  |             <version>${jackson.version}</version> | 
					
						
							| 
									
										
										
										
											2020-06-22 16:26:42 +02:00
										 |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>com.fasterxml.jackson.core</groupId> | 
					
						
							|  |  |  |             <artifactId>jackson-databind</artifactId> | 
					
						
							| 
									
										
										
										
											2020-09-14 13:11:59 +02:00
										 |  |  |             <version>${jackson.version}</version> | 
					
						
							| 
									
										
										
										
											2020-06-22 16:26:42 +02:00
										 |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>com.io-informatics.oss</groupId> | 
					
						
							|  |  |  |             <artifactId>jackson-jsonld</artifactId> | 
					
						
							| 
									
										
										
										
											2022-05-15 08:53:05 +02:00
										 |  |  |             <version>${jackson-jsonld.version}</version> | 
					
						
							| 
									
										
										
										
											2020-06-22 16:26:42 +02: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 08:53:05 +02:00
										 |  |  |             <version>${hydra-jsonld.version}</version> | 
					
						
							| 
									
										
										
										
											2020-06-22 16:26:42 +02: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 08:53:05 +02:00
										 |  |  |             <version>${jsonld-java.version}</version> | 
					
						
							| 
									
										
										
										
											2020-06-22 16:26:42 +02: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 14:58:33 +04: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 18:25:24 +02:00
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>javax.annotation</groupId> | 
					
						
							|  |  |  |             <artifactId>javax.annotation-api</artifactId> | 
					
						
							|  |  |  |             <version>1.3.2</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2023-08-22 03:33:14 +00: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 16:19:54 +00:00
										 |  |  |     </dependencies> | 
					
						
							| 
									
										
										
										
											2021-05-09 16:26:44 +05:30
										 |  |  | 
 | 
					
						
							|  |  |  |     <build> | 
					
						
							|  |  |  |         <pluginManagement> | 
					
						
							|  |  |  |             <plugins> | 
					
						
							| 
									
										
										
										
											2022-11-18 00:26:06 +05:30
										 |  |  |                 <!--This plugin's configuration is used to store Eclipse m2e settings only. --> | 
					
						
							|  |  |  |                 <!-- It has no influence on the Maven build itself. --> | 
					
						
							| 
									
										
										
										
											2021-05-09 16:26:44 +05:30
										 |  |  |                 <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-22 03:33:14 +00: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 16:26:44 +05:30
										 |  |  |     </build> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-01-23 16:19:54 +00:00
										 |  |  |     <properties> | 
					
						
							|  |  |  |         <jsoniter.version>0.9.23</jsoniter.version> | 
					
						
							| 
									
										
										
										
											2020-03-17 14:30:46 +00:00
										 |  |  |         <moshi.version>1.9.2</moshi.version> | 
					
						
							| 
									
										
										
										
											2021-12-06 18:53:41 +05:30
										 |  |  |         <fastjson.version>1.2.21</fastjson.version> | 
					
						
							| 
									
										
										
										
											2022-05-02 19:11:24 +03:00
										 |  |  |         <json.version>20211205</json.version> | 
					
						
							| 
									
										
										
										
											2022-05-15 08:53:05 +02: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-22 03:33:14 +00:00
										 |  |  |         <jsonschema-generator.version>4.31.1</jsonschema-generator.version> | 
					
						
							|  |  |  |         <jakarta.validation.version>3.0.2</jakarta.validation.version> | 
					
						
							| 
									
										
										
										
											2020-01-23 16:19:54 +00:00
										 |  |  |     </properties> | 
					
						
							| 
									
										
										
										
											2021-05-09 16:26:44 +05:30
										 |  |  | 
 | 
					
						
							|  |  |  | </project> |