-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
438 lines (393 loc) · 19.8 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
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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
<?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>party.mkkp.edemokracia</groupId>
<artifactId>edemokracia</artifactId>
<packaging>jar</packaging>
<version>1.0.0-SNAPSHOT</version>
<properties>
<judo-channel>develop</judo-channel>
<judo-version>1.0.0.20230414_062548_d4b6ea4e_develop</judo-version>
<sqlDialects>postgresql,hsqldb</sqlDialects>
<judo-meta-esm-version-defined>1.2.0.20230413_041635_f3d55a1e_develop</judo-meta-esm-version-defined>
<judo-tatami-version-defined>1.1.0.20230413_042950_a2f780ad_develop</judo-tatami-version-defined>
<flutter-maven-plugin-version-defined>1.0.2.20230313_135924_a9319e3a_develop</flutter-maven-plugin-version-defined>
<structured-map-proxy-version-defined>2.0.0.20230330_221859_8a965acd_develop</structured-map-proxy-version-defined>
<judo-dao-api-version-defined>1.0.4.20230309_120321_78415dc0_develop</judo-dao-api-version-defined>
<judo-dispatcher-api-version-defined>1.0.2</judo-dispatcher-api-version-defined>
<judo-sdk-common-version-defined>1.0.4.20230330_222100_3c176073_develop</judo-sdk-common-version-defined>
<mapper-version-defined>1.0.4.20230324_115639_e833341e_develop</mapper-version-defined>
<judo-platform-version-defined>2.0.1.20230414_041454_70c9960f_develop</judo-platform-version-defined>
<judo-services-version-defined>1.1.0.20230414_040743_1631d176_develop</judo-services-version-defined>
<judo-rdbms-schema-version-defined>1.0.0.20230413_042807_472a71b8_develop</judo-rdbms-schema-version-defined>
<judo-tatami-client-version-defined>1.1.0.20230413_043945_70553197_develop</judo-tatami-client-version-defined>
<judo-esm-fullstack-project-template-version-defined>1.0.0.20230414_042825_87a63ea8_develop</judo-esm-fullstack-project-template-version-defined>
<judo-meta-ui-version-defined>1.1.0.20230413_041639_c6d25c2d_develop</judo-meta-ui-version-defined>
<judo-ui-flutter-template-version-defined>1.0.0.20230413_041931_7e2639b7_develop</judo-ui-flutter-template-version-defined>
<judo-ui-typescript-rest-template-version-defined>1.0.0.20230413_041936_2652d3f8_develop</judo-ui-typescript-rest-template-version-defined>
<judo-ui-react-template-version-defined>1.0.0.20230413_174054_1b98627b_develop</judo-ui-react-template-version-defined>
<frontendType>react</frontendType>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-model-resources</id>
<phase>generate-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/classes/model</outputDirectory>
<resources>
<resource>
<directory>model</directory>
<filtering>false</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>hu.blackbelt.judo.meta</groupId>
<artifactId>judo-esm-generator-maven-plugin</artifactId>
<version>${judo-meta-esm-version-defined}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>hu.blackbelt.judo</groupId>
<artifactId>judo-versions</artifactId>
<version>${judo-version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.2</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>create-models</id>
<activation>
<property>
<name>!skipModels</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>hu.blackbelt.judo.tatami</groupId>
<artifactId>judo-tatami-workflow-maven-plugin</artifactId>
<version>${judo-tatami-version-defined}</version>
<executions>
<execution>
<id>transform-esm-file</id>
<phase>generate-sources</phase>
<goals>
<goal>default-workflow</goal>
</goals>
<configuration>
<modelName>${project.artifactId}</modelName>
<destination>${basedir}/target/classes/model</destination>
<esm>${basedir}/target/classes/model/${project.artifactId}.model</esm>
<modelVersion>${project.version}</modelVersion>
<ignorePsm2Measure>false</ignorePsm2Measure>
<ignorePsm2Asm>false</ignorePsm2Asm>
<ignoreAsm2Openapi>true</ignoreAsm2Openapi>
<ignoreAsm2Keycloak>true</ignoreAsm2Keycloak>
<ignoreAsm2sdk>true</ignoreAsm2sdk>
<ignoreAsm2jaxrsapi>true</ignoreAsm2jaxrsapi>
<ignoreAsm2Script>true</ignoreAsm2Script>
<dialectList>${sqlDialects}</dialectList>
<validateModels>true</validateModels>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>update-judo-versions</id>
<activation>
<property>
<name>updateJudoVersions</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>update-version-properties</id>
<phase>validate</phase>
<goals>
<goal>update-properties</goal>
</goals>
<configuration>
<properties>
<property>
<name>judo-version</name>
<dependencies>
<dependency>
<groupId>hu.blackbelt.judo</groupId>
<artifactId>judo-versions</artifactId>
</dependency>
</dependencies>
</property>
</properties>
</configuration>
</execution>
</executions>
<configuration>
<allowMajorUpdates>true</allowMajorUpdates>
<allowMinorUpdates>true</allowMinorUpdates>
<allowIncrementalUpdates>true</allowIncrementalUpdates>
<generateBackupPoms>false</generateBackupPoms>
<rulesUri>https://nexus.judo.technology/repository/judo-versions/version-ruleset-${judo-channel}.xml</rulesUri>
<includes>
<include>hu.blackbelt.judo:judo-versions</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>update-judo-module-versions</id>
<activation>
<property>
<name>updateJudoModuleVersions</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.1.0</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<urls>
<url>classpath:versions.properties</url>
</urls>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>hu.blackbelt.judo</groupId>
<artifactId>judo-versions</artifactId>
<version>${judo-version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<version>1.5.3</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>replace</goal>
</goals>
</execution>
</executions>
<configuration>
<file>${project.basedir}/pom.xml</file>
<replacements>
<replacement>
<token><![CDATA[\<judo-meta-esm-version-defined\>([0-9]+.*)\<\/judo-meta-esm-version-defined\>]]></token>
<value><![CDATA[<judo-meta-esm-version-defined>${judo-meta-esm-version}</judo-meta-esm-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<flutter-maven-plugin-version-defined\>([0-9]+.*)<\/flutter-maven-plugin-version-defined\>]]></token>
<value><![CDATA[<flutter-maven-plugin-version-defined>${flutter-maven-plugin-version}</flutter-maven-plugin-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<structured-map-proxy-version-defined\>([0-9]+.*)<\/structured-map-proxy-version-defined\>]]></token>
<value><![CDATA[<structured-map-proxy-version-defined>${structured-map-proxy-version}</structured-map-proxy-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<judo-dao-api-version-defined\>([0-9]+.*)<\/judo-dao-api-version-defined\>]]></token>
<value><![CDATA[<judo-dao-api-version-defined>${judo-dao-api-version}</judo-dao-api-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<judo-dispatcher-api-version-defined\>([0-9]+.*)<\/judo-dispatcher-api-version-defined\>]]></token>
<value><![CDATA[<judo-dispatcher-api-version-defined>${judo-dispatcher-api-version}</judo-dispatcher-api-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<judo-sdk-common-version-defined\>([0-9]+.*)<\/judo-sdk-common-version-defined\>]]></token>
<value><![CDATA[<judo-sdk-common-version-defined>${judo-sdk-common-version}</judo-sdk-common-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<mapper-version-defined\>([0-9]+.*)<\/mapper-version-defined\>]]></token>
<value><![CDATA[<mapper-version-defined>${mapper-version}</mapper-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<judo-tatami-version-defined\>([0-9]+.*)<\/judo-tatami-version-defined\>]]></token>
<value><![CDATA[<judo-tatami-version-defined>${judo-tatami-version}</judo-tatami-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<judo-platform-version-defined\>([0-9]+.*)<\/judo-platform-version-defined\>]]></token>
<value><![CDATA[<judo-platform-version-defined>${judo-platform-version}</judo-platform-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<judo-services-version-defined\>([0-9]+.*)<\/judo-services-version-defined\>]]></token>
<value><![CDATA[<judo-services-version-defined>${judo-services-version}</judo-services-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<judo-rdbms-schema-version-defined\>([0-9]+.*)<\/judo-rdbms-schema-version-defined\>]]></token>
<value><![CDATA[<judo-rdbms-schema-version-defined>${judo-rdbms-schema-version}</judo-rdbms-schema-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<judo-tatami-client-version-defined\>([0-9]+.*)<\/judo-tatami-client-version-defined\>]]></token>
<value><![CDATA[<judo-tatami-client-version-defined>${judo-tatami-client-version}</judo-tatami-client-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<judo-esm-fullstack-project-template-version-defined\>([0-9]+.*)<\/judo-esm-fullstack-project-template-version-defined\>]]></token>
<value><![CDATA[<judo-esm-fullstack-project-template-version-defined>${judo-esm-fullstack-project-template-version}</judo-esm-fullstack-project-template-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<judo-meta-ui-version-defined\>([0-9]+.*)<\/judo-meta-ui-version-defined\>]]></token>
<value><![CDATA[<judo-meta-ui-version-defined>${judo-meta-ui-version}</judo-meta-ui-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<judo-ui-flutter-template-version-defined\>([0-9]+.*)<\/judo-ui-flutter-template-version-defined\>]]></token>
<value><![CDATA[<judo-ui-flutter-template-version-defined>${judo-ui-flutter-template-version}</judo-ui-flutter-template-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<judo-ui-typescript-rest-template-version-defined\>([0-9]+.*)<\/judo-ui-typescript-rest-template-version-defined\>]]></token>
<value><![CDATA[<judo-ui-typescript-rest-template-version-defined>${judo-ui-typescript-rest-template-version}</judo-ui-typescript-rest-template-version-defined>]]></value>
</replacement>
<replacement>
<token><![CDATA[\<judo-ui-react-template-version-defined\>([0-9]+.*)<\/judo-ui-react-template-version-defined\>]]></token>
<value><![CDATA[<judo-ui-react-template-version-defined>${judo-ui-react-template-version}</judo-ui-react-template-version-defined>]]></value>
</replacement>
</replacements>
<regex>true</regex>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>generate-project</id>
<activation>
<property>
<name>generateProject</name>
</property>
</activation>
<repositories>
<repository>
<id>judo-ng</id>
<url>https://nexus.judo.technology/repository/maven-judong</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>hu.blackbelt.judo.meta</groupId>
<artifactId>judo-esm-generator-maven-plugin</artifactId>
<version>${judo-meta-esm-version-defined}</version>
<executions>
<execution>
<id>execute-esm-test-model-from-artifact</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<uris>
<uri>mvn:hu.blackbelt.judo.template:judo-esm-fullstack-project-template:${judo-esm-fullstack-project-template-version-defined}</uri>
</uris>
<type>fullstack-project</type>
<esm>
${basedir}/model/${project.artifactId}.model
</esm>
<destination>${basedir}/application</destination>
<templateParameters>
<groupId>${project.groupId}</groupId>
<projectPostfix>-application</projectPostfix>
<version>${project.version}</version>
<modelGroupId>${project.groupId}</modelGroupId>
<modelArtifactId>${project.artifactId}</modelArtifactId>
<modelVersion>${project.version}</modelVersion>
<sqlDialects>${sqlDialects}</sqlDialects>
<ignoreOpenAPI>true</ignoreOpenAPI>
<validateModels>false</validateModels>
<flutterMavenPluginVersion>${flutter-maven-plugin-version-defined}</flutterMavenPluginVersion>
<structuredMapProxyVersion>${structured-map-proxy-version-defined}</structuredMapProxyVersion>
<judoDaoApiVersion>${judo-dao-api-version-defined}</judoDaoApiVersion>
<judoDispatcherApiVersion>${judo-dispatcher-api-version-defined}</judoDispatcherApiVersion>
<judoSdkCommonVersion>${judo-sdk-common-version-defined}</judoSdkCommonVersion>
<mapperVersion>${mapper-version-defined}</mapperVersion>
<judoTatamiVersion>${judo-tatami-version-defined}</judoTatamiVersion>
<judoPlatformVersion>${judo-platform-version-defined}</judoPlatformVersion>
<judoServicesVersion>${judo-services-version-defined}</judoServicesVersion>
<judoRdbmsSchemaVersion>${judo-rdbms-schema-version-defined}</judoRdbmsSchemaVersion>
<judoTatamiClientVersion>${judo-tatami-client-version-defined}</judoTatamiClientVersion>
<judoMetaUIVersion>${judo-meta-ui-version-defined}</judoMetaUIVersion>
<judoUiFlutterTemplateVersion>${judo-ui-flutter-template-version-defined}</judoUiFlutterTemplateVersion>
<judoUiTypescriptRestTemplateVersion>${judo-ui-typescript-rest-template-version-defined}</judoUiTypescriptRestTemplateVersion>
<judoUiReactTemplateVersion>${judo-ui-react-template-version-defined}</judoUiReactTemplateVersion>
<frontendType>${frontendType}</frontendType>
</templateParameters>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>hu.blackbelt.judo.template</groupId>
<artifactId>judo-esm-fullstack-project-template</artifactId>
<version>${judo-esm-fullstack-project-template-version-defined}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
<id>judo-ng</id>
<url>https://nexus.judo.technology/repository/maven-judong</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
</project>