Skip to content

Commit fe140d8

Browse files
committed
[maven-release-plugin] prepare release v4.2.7
1 parent cc1aa64 commit fe140d8

File tree

9 files changed

+748
-7
lines changed

9 files changed

+748
-7
lines changed

klass-api/pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<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">
43
<modelVersion>4.0.0</modelVersion>
54

65
<name>Klass API</name>
@@ -11,7 +10,7 @@
1110
<parent>
1211
<groupId>no.ssb.klass</groupId>
1312
<artifactId>klass-root</artifactId>
14-
<version>4.2.7-SNAPSHOT</version>
13+
<version>4.2.7</version>
1514
</parent>
1615

1716
<properties>

klass-api/pom.xml.releaseBackup

Lines changed: 319 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,319 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<name>Klass API</name>
7+
<description>API for uthenting av kodeverk</description>
8+
<artifactId>klass-api</artifactId>
9+
<packaging>war</packaging>
10+
11+
<parent>
12+
<groupId>no.ssb.klass</groupId>
13+
<artifactId>klass-root</artifactId>
14+
<version>4.2.7-SNAPSHOT</version>
15+
</parent>
16+
17+
<properties>
18+
<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
19+
</properties>
20+
21+
22+
<dependencies>
23+
<!--KLASS-->
24+
<dependency>
25+
<groupId>no.ssb.klass</groupId>
26+
<artifactId>klass-shared</artifactId>
27+
<version>${project.parent.version}</version>
28+
</dependency>
29+
30+
<!--Spring-->
31+
<dependency>
32+
<groupId>org.springframework.boot</groupId>
33+
<artifactId>spring-boot-starter-web</artifactId>
34+
</dependency>
35+
<dependency>
36+
<groupId>org.springframework.boot</groupId>
37+
<artifactId>spring-boot-starter-hateoas</artifactId>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.springframework.boot</groupId>
41+
<artifactId>spring-boot-starter-actuator</artifactId>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.springframework.boot</groupId>
45+
<artifactId>spring-boot-configuration-processor</artifactId>
46+
<optional>true</optional>
47+
</dependency>
48+
<dependency>
49+
<groupId>org.springframework.boot</groupId>
50+
<artifactId>spring-boot-starter-tomcat</artifactId>
51+
<scope>provided</scope>
52+
</dependency>
53+
<dependency>
54+
<groupId>org.springdoc</groupId>
55+
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
56+
<version>2.8.14</version>
57+
</dependency>
58+
<dependency>
59+
<groupId>org.opensearch.client</groupId>
60+
<artifactId>spring-data-opensearch-starter</artifactId>
61+
<version>1.7.1</version>
62+
</dependency>
63+
64+
<!--Non-Spring-->
65+
<dependency>
66+
<groupId>jakarta.xml.bind</groupId>
67+
<artifactId>jakarta.xml.bind-api</artifactId>
68+
<version>${jaxb-api-version}</version>
69+
</dependency>
70+
<dependency>
71+
<groupId>org.glassfish.jaxb</groupId>
72+
<artifactId>jaxb-runtime</artifactId>
73+
</dependency>
74+
<dependency>
75+
<groupId>org.postgresql</groupId>
76+
<artifactId>postgresql</artifactId>
77+
</dependency>
78+
<dependency>
79+
<groupId>org.flywaydb</groupId>
80+
<artifactId>flyway-database-postgresql</artifactId>
81+
<version>11.20.0</version>
82+
<scope>runtime</scope>
83+
</dependency>
84+
<dependency>
85+
<groupId>org.flywaydb</groupId>
86+
<artifactId>flyway-core</artifactId>
87+
<version>11.20.0</version>
88+
</dependency>
89+
<dependency>
90+
<groupId>ch.qos.logback.access</groupId>
91+
<artifactId>logback-access-common</artifactId>
92+
<version>2.0.9</version>
93+
</dependency>
94+
<dependency>
95+
<groupId>ch.qos.logback.access</groupId>
96+
<artifactId>logback-access-tomcat</artifactId>
97+
<version>2.0.9</version>
98+
</dependency>
99+
<dependency>
100+
<groupId>net.logstash.logback</groupId>
101+
<artifactId>logstash-logback-encoder</artifactId>
102+
<version>9.0</version>
103+
</dependency>
104+
<dependency>
105+
<groupId>org.apache.tomcat.embed</groupId>
106+
<artifactId>tomcat-embed-jasper</artifactId>
107+
<scope>provided</scope>
108+
</dependency>
109+
<dependency>
110+
<groupId>com.jayway.jsonpath</groupId>
111+
<artifactId>json-path</artifactId>
112+
</dependency>
113+
<dependency>
114+
<groupId>jakarta.ws.rs</groupId>
115+
<artifactId>jakarta.ws.rs-api</artifactId>
116+
<version>${jakarta-rs-api-version}</version>
117+
</dependency>
118+
<dependency>
119+
<groupId>io.micrometer</groupId>
120+
<artifactId>micrometer-registry-prometheus</artifactId>
121+
</dependency>
122+
123+
<!--TEST SCOPE-->
124+
<dependency>
125+
<groupId>no.ssb.klass</groupId>
126+
<artifactId>klass-shared</artifactId>
127+
<type>test-jar</type>
128+
<scope>test</scope>
129+
<version>${project.parent.version}</version>
130+
</dependency>
131+
<dependency>
132+
<groupId>org.springframework.boot</groupId>
133+
<artifactId>spring-boot-starter-test</artifactId>
134+
<scope>test</scope>
135+
</dependency>
136+
<dependency>
137+
<groupId>org.springframework.restdocs</groupId>
138+
<artifactId>spring-restdocs-mockmvc</artifactId>
139+
<version>${spring-restdocs-version}</version>
140+
<scope>test</scope>
141+
<exclusions>
142+
<exclusion>
143+
<groupId>org.springframework.restdocs</groupId>
144+
<artifactId>spring-restdocs-core</artifactId>
145+
</exclusion>
146+
</exclusions>
147+
</dependency>
148+
<dependency>
149+
<groupId>org.springframework.restdocs</groupId>
150+
<artifactId>spring-restdocs-core</artifactId>
151+
<version>${spring-restdocs-version}</version>
152+
<scope>test</scope>
153+
</dependency>
154+
<dependency>
155+
<groupId>io.rest-assured</groupId>
156+
<artifactId>rest-assured</artifactId>
157+
<scope>test</scope>
158+
<exclusions>
159+
<exclusion>
160+
<!--Conflicts with Spring's logging setup-->
161+
<groupId>commons-logging</groupId>
162+
<artifactId>commons-logging</artifactId>
163+
</exclusion>
164+
</exclusions>
165+
</dependency>
166+
<dependency>
167+
<groupId>org.springframework</groupId>
168+
<artifactId>spring-test</artifactId>
169+
<scope>test</scope>
170+
</dependency>
171+
<dependency>
172+
<groupId>io.zonky.test</groupId>
173+
<artifactId>embedded-postgres</artifactId>
174+
<version>${zonky.version}</version>
175+
<scope>test</scope>
176+
</dependency>
177+
<dependency>
178+
<groupId>io.zonky.test</groupId>
179+
<artifactId>embedded-database-spring-test</artifactId>
180+
<version>${zonky.pg.version}</version>
181+
<scope>test</scope>
182+
</dependency>
183+
<dependency>
184+
<groupId>org.testcontainers</groupId>
185+
<artifactId>testcontainers</artifactId>
186+
<version>1.19.8</version>
187+
<scope>test</scope>
188+
</dependency>
189+
<dependency>
190+
<groupId>org.testcontainers</groupId>
191+
<artifactId>junit-jupiter</artifactId>
192+
<version>1.21.4</version>
193+
<scope>test</scope>
194+
</dependency>
195+
<dependency>
196+
<groupId>org.opensearch</groupId>
197+
<artifactId>opensearch-testcontainers</artifactId>
198+
<version>2.0.1</version>
199+
<scope>test</scope>
200+
</dependency>
201+
</dependencies>
202+
203+
<profiles>
204+
<profile>
205+
<activation>
206+
<activeByDefault>true</activeByDefault>
207+
</activation>
208+
<id>documentation</id>
209+
<build>
210+
<plugins>
211+
<plugin>
212+
<groupId>org.springframework.boot</groupId>
213+
<artifactId>spring-boot-maven-plugin</artifactId>
214+
</plugin>
215+
<plugin>
216+
<groupId>org.flywaydb</groupId>
217+
<artifactId>flyway-maven-plugin</artifactId>
218+
<version>11.20.0</version>
219+
</plugin>
220+
<plugin>
221+
<groupId>org.apache.maven.plugins</groupId>
222+
<artifactId>maven-surefire-plugin</artifactId>
223+
<configuration>
224+
<argLine>-Dfile.encoding=UTF-8</argLine>
225+
<includes>
226+
<include>**/*Tests.java</include>
227+
<include>**/*Test.java</include>
228+
<include>**/*Documentation.java</include>
229+
</includes>
230+
<excludes>
231+
<exclude>migration/**</exclude>
232+
</excludes>
233+
</configuration>
234+
</plugin>
235+
<plugin>
236+
<groupId>org.asciidoctor</groupId>
237+
<artifactId>asciidoctor-maven-plugin</artifactId>
238+
<version>${asciidoctor-version}</version>
239+
<executions>
240+
<execution>
241+
<id>generate-docs</id>
242+
<phase>prepare-package</phase>
243+
<goals>
244+
<goal>process-asciidoc</goal>
245+
</goals>
246+
<configuration>
247+
<backend>html</backend>
248+
<doctype>book</doctype>
249+
<attributes>
250+
<snippets>${snippetsDirectory}</snippets>
251+
</attributes>
252+
</configuration>
253+
</execution>
254+
</executions>
255+
</plugin>
256+
<plugin>
257+
<artifactId>maven-resources-plugin</artifactId>
258+
<executions>
259+
<execution>
260+
<id>copy-resources-tomcat</id>
261+
<phase>prepare-package</phase>
262+
<goals>
263+
<goal>copy-resources</goal>
264+
</goals>
265+
<configuration>
266+
<!-- COPYING API-GUIDE FOR USE WITH TOMCAT -->
267+
<outputDirectory>
268+
${project.build.outputDirectory}/static/v1
269+
</outputDirectory>
270+
<resources>
271+
<resource>
272+
<directory>
273+
${project.build.directory}/generated-docs
274+
</directory>
275+
</resource>
276+
</resources>
277+
</configuration>
278+
</execution>
279+
<execution>
280+
<id>copy-resources-locally</id>
281+
<phase>prepare-package</phase>
282+
<goals>
283+
<goal>copy-resources</goal>
284+
</goals>
285+
<configuration>
286+
<!-- MAKING API-GUIDE AVAILABLE WHEN RUNNING LOCALLY-->
287+
<outputDirectory>
288+
${project.build.outputDirectory}/static/api/klass/v1
289+
</outputDirectory>
290+
<resources>
291+
<resource>
292+
<directory>
293+
${project.build.directory}/generated-docs
294+
</directory>
295+
</resource>
296+
</resources>
297+
</configuration>
298+
</execution>
299+
</executions>
300+
</plugin>
301+
</plugins>
302+
</build>
303+
</profile>
304+
</profiles>
305+
306+
<build>
307+
<finalName>api#klass-${project.version}</finalName>
308+
<plugins>
309+
<plugin>
310+
<groupId>org.apache.maven.plugins</groupId>
311+
<artifactId>maven-surefire-plugin</artifactId>
312+
<configuration>
313+
<argLine>-Dfile.encoding=UTF-8</argLine>
314+
</configuration>
315+
</plugin>
316+
</plugins>
317+
</build>
318+
319+
</project>

klass-mail/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<parent>
1111
<groupId>no.ssb.klass</groupId>
1212
<artifactId>klass-root</artifactId>
13-
<version>4.2.7-SNAPSHOT</version>
13+
<version>4.2.7</version>
1414
</parent>
1515

1616
<properties>

0 commit comments

Comments
 (0)