-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpom.xml
More file actions
242 lines (217 loc) · 8.15 KB
/
Copy pathpom.xml
File metadata and controls
242 lines (217 loc) · 8.15 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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>uk.co.compendiumdev.thingifier</groupId>
<artifactId>thingifier-root</artifactId>
<version>1.5.6-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<thingifier.version>1.5.6-SNAPSHOT</thingifier.version>
<swagger-models-version>2.2.52</swagger-models-version>
<gson-version>2.8.6</gson-version>
<jackson-version>2.21.1</jackson-version>
<jsonpath-version>3.0.0</jsonpath-version>
<zjsonpatch-version>0.6.3</zjsonpatch-version>
<sqlite-jdbc-version>3.53.2.0</sqlite-jdbc-version>
<snakeyaml-version>2.6</snakeyaml-version>
<junit.jupiter.version>5.6.2</junit.jupiter.version>
<java.version>17</java.version>
<javalin.version>7.2.2</javalin.version>
<rest-assured-version>5.5.0</rest-assured-version>
<jaxbi-version>2.3.1</jaxbi-version>
<slf4j-version>2.0.10</slf4j-version>
<maven-pmd-plugin.version>3.28.0</maven-pmd-plugin.version>
<spotless.version>3.8.0</spotless.version>
<google-java-format.version>1.35.0</google-java-format.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>${spotless.version}</version>
<configuration>
<java>
<googleJavaFormat>
<version>${google-java-format.version}</version>
<style>AOSP</style>
</googleJavaFormat>
<removeUnusedImports/>
<trimTrailingWhitespace/>
<endWithNewline/>
</java>
</configuration>
<executions>
<execution>
<id>spotless-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>project-fqn-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<configLocation>${maven.multiModuleProjectDirectory}/checkstyle-project-fqn.xml</configLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<failOnViolation>true</failOnViolation>
<violationSeverity>warning</violationSeverity>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<executions>
<execution>
<id>pmd-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>${spotless.version}</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>false</failsOnError>
<failOnViolation>false</failOnViolation>
<violationSeverity>warning</violationSeverity>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${maven-pmd-plugin.version}</version>
<configuration>
<rulesets>
<ruleset>${maven.multiModuleProjectDirectory}/pmd-ruleset.xml</ruleset>
</rulesets>
<includeTests>true</includeTests>
<printFailingErrors>true</printFailingErrors>
<targetJdk>${java.version}</targetJdk>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>ercoremodel</module>
<module>thingifier</module>
<module>thingifier-yaml</module>
<module>examplemodels</module>
<module>thingifier-crud-ui</module>
<module>todoManagerRestAuto</module>
<module>standAloneTodoListRestApi</module>
<module>standAloneConfiguredWriteMethodsRestApi</module>
<module>standAloneTodoListManagerRestApi</module>
<module>standAloneSqlLiteTodoListManagerRestApi</module>
<module>standAloneTodoListManagerRestApiAuto</module>
<module>thingifierapp</module>
<module>swaggerizer</module>
</modules>
</project>
<!--
1.5.6-SNAPSHOT
- amended the startup messages to not be so "Error" instead - logging that a single user file is being created
- fixed an error in thingifier where we could not create relationships via relationship url endpoint when using ids
- using XStream for XML validation
1.5.5
- internal refactoring to create 'core' that is well covered
1.5.4
- has automated swagger file generation - for non thingifier api routing then routing definitions should be added using the ThingifierApiDefn
1.5.3
- added hooks at the API request and response level to override default API processing functionality
- api field order is controlled by the order of definitions
- added API Config Profiles to make it easier to configure different API versions
- added filters on GET requests e.g. ?status=true
- added config to control if JSON or XML is allowed in response configured by accept header
- HEAD method supported where GET methods supported
- improved Accept header processing
- started checklist doc
1.5.2
- added styling to the gui
- added many configuration options
- started added 'hooks' for responses to make easier to extend
- added xml and json examples in documentation output
- created heroku instance which auto clears
- split out project into more modules to make easier to customise and maintain
1.5.1
- added simple view gui /gui
- added compressed relationships - as default in response
- both forms acceptable in the input
e.g.
~~~~~~~~
"task-of": [
{
"guid": "91b56544-3345-48e6-93f3-986e53586390"
}
],
"categories": [
{
"guid": "61693e4a-b1da-4adb-af37-d53d1b045311"
}
]
~~~~~~~~
instead of
~~~~~~~~
"relationships": [
{
"task-of": [
{
"projects": [
{
"guid": "91b56544-3345-48e6-93f3-986e53586390"
}
]
}
]
},
{
"categories": [
{
"categories": [
{
"guid": "61693e4a-b1da-4adb-af37-d53d1b045311"
}
]
}
]
}
]
~~~~~~~~
-->