-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
74 lines (70 loc) · 2.67 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>dev.hctbst</groupId>
<artifactId>jsonschema2pojo-interfaces-example</artifactId>
<version>1.0.0</version>
<name>jsonschema2pojo Interfaces Example</name>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<jsonschema2pojo.version>1.0.2</jsonschema2pojo.version>
<jsonschema2pojo-interfaces.version>1.0.0</jsonschema2pojo-interfaces.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
<version>${jsonschema2pojo.version}</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<sourceDirectory>${basedir}/src/main/schema</sourceDirectory>
<targetPackage>
dev.hctbst.jsonschema2pojo.interfaces.example.domain
</targetPackage>
<generateBuilders>true</generateBuilders>
<useInnerClassBuilders>false</useInnerClassBuilders>
<includeAdditionalProperties>false</includeAdditionalProperties>
<useDoubleNumbers>true</useDoubleNumbers>
<useLongIntegers>true</useLongIntegers>
<dateType>java.time.LocalDate</dateType>
<timeType>java.time.OffsetTime</timeType>
<dateTimeType>java.time.OffsetDateTime</dateTimeType>
<removeOldOutput>true</removeOldOutput>
<annotationStyle>none</annotationStyle>
<useOptionalForGetters>false</useOptionalForGetters>
<usePrimitives>true</usePrimitives>
<initializeCollections>false</initializeCollections>
<formatTypeMapping>
<int32>java.lang.Integer</int32>
<int64>java.lang.Long</int64>
<float32>java.lang.Float</float32>
<float64>java.lang.Double</float64>
<real>java.math.BigDecimal</real>
</formatTypeMapping>
<customRuleFactory>
dev.hctbst.jsonschema2pojo.interfaces.InterfacesRuleFactory
</customRuleFactory>
<includeToString>false</includeToString>
<includeHashcodeAndEquals>false</includeHashcodeAndEquals>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>dev.hctbst</groupId>
<artifactId>jsonschema2pojo-interfaces</artifactId>
<version>${jsonschema2pojo-interfaces.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>