forked from Sundsvallskommun/api-service-invoice-sender
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
195 lines (195 loc) · 6.5 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
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>se.sundsvall.dept44</groupId>
<artifactId>dept44-service-parent</artifactId>
<version>6.0.5</version>
<relativePath />
<!-- lookup parent from repository -->
</parent>
<groupId>se.sundsvall</groupId>
<artifactId>api-service-invoice-sender</artifactId>
<version>2.0</version>
<name>api-service-invoice-sender</name>
<properties>
<smbj.version>0.12.0</smbj.version>
<jcifs-ng.version>2.1.10</jcifs-ng.version>
<commons-compress.version>1.27.1</commons-compress.version>
<commons-validator.version>1.9.0</commons-validator.version>
<jsoup.version>1.18.3</jsoup.version>
<xz.version>1.10</xz.version>
<cron-expression-descriptor.version>1.2.10</cron-expression-descriptor.version>
<generated-sources-path>${project.build.directory}/generated-sources</generated-sources-path>
<generated-sources-java-path>src/main/java</generated-sources-java-path>
</properties>
<dependencies>
<!-- Test -->
<dependency>
<groupId>se.sundsvall.dept44</groupId>
<artifactId>dept44-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>mariadb</artifactId>
<scope>test</scope>
</dependency>
<!-- Framework -->
<dependency>
<groupId>se.sundsvall.dept44</groupId>
<artifactId>dept44-starter-feign</artifactId>
</dependency>
<dependency>
<groupId>se.sundsvall.dept44</groupId>
<artifactId>dept44-common-validators</artifactId>
</dependency>
<!-- JPA, JDBC and Flyway -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-mysql</artifactId>
</dependency>
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring6</artifactId>
</dependency>
<!-- Other -->
<dependency>
<groupId>eu.agno3.jcifs</groupId>
<artifactId>jcifs-ng</artifactId>
<version>${jcifs-ng.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>${commons-compress.version}</version>
</dependency>
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>${commons-validator.version}</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>${jsoup.version}</version>
</dependency>
<dependency>
<groupId>org.tukaani</groupId>
<artifactId>xz</artifactId>
<version>${xz.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>it.burning</groupId>
<artifactId>cron-expression-descriptor</artifactId>
<version>${cron-expression-descriptor.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<configuration>
<output>${generated-sources-path}</output>
<generatorName>spring</generatorName>
<generateApis>false</generateApis>
<configOptions>
<sourceFolder>${generated-sources-java-path}</sourceFolder>
<generateSupportingFiles>false</generateSupportingFiles>
<generatedConstructorWithRequiredArgs>false</generatedConstructorWithRequiredArgs>
<generatePom>false</generatePom>
<library>spring-boot</library>
<dateLibrary>java8</dateLibrary>
<apiPackage>generated</apiPackage>
<openApiNullable>false</openApiNullable>
<useSwaggerUi>false</useSwaggerUi>
<useBeanValidation>true</useBeanValidation>
<useSwaggerAnnotations>true</useSwaggerAnnotations>
<hideGenerationTimestamp>true</hideGenerationTimestamp>
<interfaceOnly>true</interfaceOnly>
<useSpringBoot3>true</useSpringBoot3>
</configOptions>
</configuration>
<executions>
<execution>
<id>party-api</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${project.basedir}/src/main/resources/integrations/party-api.yml</inputSpec>
<configOptions>
<modelPackage>generated.se.sundsvall.party</modelPackage>
</configOptions>
</configuration>
</execution>
<execution>
<id>messinjin-api</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${project.basedir}/src/main/resources/integrations/messaging-api.yml</inputSpec>
<configOptions>
<modelPackage>generated.se.sundsvall.messaging</modelPackage>
</configOptions>
</configuration>
</execution>
<execution>
<id>citizen-api</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${project.basedir}/src/main/resources/integrations/citizen-api.yml</inputSpec>
<configOptions>
<modelPackage>generated.se.sundsvall.citizen</modelPackage>
</configOptions>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/se/sundsvall/invoicesender/Application*</exclude>
<exclude>**/se/sundsvall/invoicesender/configuration/**/**</exclude>
<exclude>**/se/sundsvall/invoicesender/service/ScheduledRestart**</exclude>
<exclude>**/se/sundsvall/invoicesender/service/util/CronUtil**</exclude>
<!-- Exclude Raindance integration (SMB/JCIFS) -->
<exclude>**/se/sundsvall/invoicesender/integration/raindance/RaindanceIntegration**</exclude>
<!-- Exclude generated code -->
<exclude>**/generated/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>