-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
162 lines (157 loc) · 8.33 KB
/
pom.xml
File metadata and controls
162 lines (157 loc) · 8.33 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<?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>
<parent>
<artifactId>results-domain</artifactId>
<groupId>uk.gov.moj.cpp.results</groupId>
<version>17.103.94-PEG-2848-SNAPSHOT</version>
</parent>
<artifactId>results-domain-common</artifactId>
<properties>
<skip.schema.pojo.generation>false</skip.schema.pojo.generation>
<skip.schema.event.pojo.generation>false</skip.schema.event.pojo.generation>
</properties>
<dependencies>
<dependency>
<groupId>uk.gov.justice.framework-api</groupId>
<artifactId>framework-api-domain</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>uk.gov.justice.utils</groupId>
<artifactId>utilities-core</artifactId>
</dependency>
<dependency>
<groupId>uk.gov.moj.cpp.results</groupId>
<artifactId>results-json</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Test Dependencies -->
<dependency>
<groupId>uk.gov.justice.services</groupId>
<artifactId>test-utils-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>uk.gov.moj.cpp.core.domain</groupId>
<artifactId>common-core-domain</artifactId>
</dependency>
<dependency>
<groupId>uk.gov.moj.cpp.core.domain</groupId>
<artifactId>criminal-court-public-model</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>pojo-generation-plugin</artifactId>
<groupId>uk.gov.justice.generators</groupId>
<executions>
<execution>
<id>pojo-generation</id>
<configuration>
<sourceDirectory>${basedir}/../../results-json/src/main/resources/json/schema</sourceDirectory>
<generatorProperties>
<plugins>
<plugin>uk.gov.justice.generation.pojo.plugin.classmodifying.MakeClassSerializablePlugin</plugin>
<plugin>uk.gov.justice.generation.pojo.plugin.classmodifying.AddHashcodeAndEqualsPlugin</plugin>
<plugin>uk.gov.justice.generation.pojo.plugin.classmodifying.AddToStringMethodToClassPlugin</plugin>
<plugin>uk.gov.justice.generation.pojo.plugin.typemodifying.ReferenceCustomReturnTypePlugin</plugin>
<plugin>uk.gov.justice.generation.pojo.plugin.typemodifying.FormatCustomReturnTypePlugin</plugin>
</plugins>
<typeMappings>
<typeMapping>
<name>date-time</name>
<type>format</type>
<implementation>java.time.ZonedDateTime</implementation>
</typeMapping>
<typeMapping>
<name>uuid</name>
<type>reference</type>
<implementation>java.util.UUID</implementation>
</typeMapping>
<typeMapping>
<name>datePattern</name>
<type>reference</type>
<implementation>java.time.LocalDate</implementation>
</typeMapping>
</typeMappings>
</generatorProperties>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>uk.gov.moj.cpp.results</groupId>
<artifactId>results-json</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>uk.gov.moj.cpp.core.domain</groupId>
<artifactId>criminal-court-public-model</artifactId>
<version>${coredomain.version}</version>
</dependency>
<dependency>
<groupId>uk.gov.moj.cpp.core.domain</groupId>
<artifactId>common-core-domain</artifactId>
<version>${coredomain.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>uk.gov.justice.generators</groupId>
<artifactId>pojo-generation-plugin</artifactId>
<executions>
<execution>
<id>event-pojo-generation</id>
<configuration>
<sourceDirectory>${basedir}/src/main/resources/json/schema</sourceDirectory>
<generatorProperties>
<plugins>
<plugin>uk.gov.justice.generation.pojo.plugin.classmodifying.AddEventAnnotationToClassPlugin</plugin>
<plugin>uk.gov.justice.generation.pojo.plugin.classmodifying.MakeClassSerializablePlugin</plugin>
<plugin>uk.gov.justice.generation.pojo.plugin.classmodifying.AddHashcodeAndEqualsPlugin</plugin>
<plugin>uk.gov.justice.generation.pojo.plugin.classmodifying.AddToStringMethodToClassPlugin</plugin>
<plugin>uk.gov.justice.generation.pojo.plugin.typemodifying.ReferenceCustomReturnTypePlugin</plugin>
<plugin>uk.gov.justice.generation.pojo.plugin.typemodifying.FormatCustomReturnTypePlugin</plugin>
</plugins>
<typeMappings>
<typeMapping>
<name>date-time</name>
<type>format</type>
<implementation>java.time.ZonedDateTime</implementation>
</typeMapping>
<typeMapping>
<name>uuid</name>
<type>reference</type>
<implementation>java.util.UUID</implementation>
</typeMapping>
<typeMapping>
<name>datePattern</name>
<type>reference</type>
<implementation>java.time.LocalDate</implementation>
</typeMapping>
</typeMappings>
</generatorProperties>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>uk.gov.moj.cpp.results</groupId>
<artifactId>results-json</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>uk.gov.moj.cpp.core.domain</groupId>
<artifactId>criminal-court-public-model</artifactId>
<version>${coredomain.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>