Skip to content

Commit 5c71bcd

Browse files
committed
chore: update readme
1 parent 6c1c74c commit 5c71bcd

File tree

3 files changed

+13
-68
lines changed

3 files changed

+13
-68
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# kotlin-spring-boot-rest-jpa-jwt-starter
22

3-
[![Build Status](https://api.travis-ci.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter.svg?branch=develop)](https://app.travis-ci.com/github/osahner/kotlin-spring-boot-rest-jpa-jwt-starter)
4-
[![codecov](https://codecov.io/gh/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/branch/develop/graph/badge.svg)](https://codecov.io/gh/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/branch/develop/)
5-
3+
[![Quality gate](https://sonarcloud.io/api/project_badges/quality_gate?project=osahner_kotlin-spring-boot-rest-jpa-jwt-starter)](https://sonarcloud.io/summary/new_code?id=osahner_kotlin-spring-boot-rest-jpa-jwt-starter)
4+
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=osahner_kotlin-spring-boot-rest-jpa-jwt-starter&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=osahner_kotlin-spring-boot-rest-jpa-jwt-starter)
5+
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=osahner_kotlin-spring-boot-rest-jpa-jwt-starter&metric=bugs)](https://sonarcloud.io/summary/new_code?id=osahner_kotlin-spring-boot-rest-jpa-jwt-starter)
6+
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=osahner_kotlin-spring-boot-rest-jpa-jwt-starter&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=osahner_kotlin-spring-boot-rest-jpa-jwt-starter)
7+
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=osahner_kotlin-spring-boot-rest-jpa-jwt-starter&metric=coverage)](https://sonarcloud.io/summary/new_code?id=osahner_kotlin-spring-boot-rest-jpa-jwt-starter)
68

79
**Features**:
8-
* spring-boot 3.0.x
10+
* spring-boot 3.1.x
911
* kotlin 1.8.x
1012
* JWT Authentication/Authorization with spring-security [inspired by Auth0](https://auth0.com/blog/implementing-jwt-authentication-on-spring-boot/)
1113
* 2FA with TOTP (Google Authenticator)

pom.xml

Lines changed: 6 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
<java.version>17</java.version>
2525
<kotlin.version>1.8.21</kotlin.version>
2626

27-
<dockerfile-maven.version>1.4.13</dockerfile-maven.version>
28-
<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
27+
<jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version>
2928

3029
<jjwt.version>0.11.5</jjwt.version>
3130
<poi.version>5.2.3</poi.version>
@@ -255,6 +254,7 @@
255254
</configuration>
256255
<executions>
257256
<execution>
257+
<id>prepare-agent</id>
258258
<goals>
259259
<goal>prepare-agent</goal>
260260
</goals>
@@ -265,72 +265,15 @@
265265
<goals>
266266
<goal>report</goal>
267267
</goals>
268-
</execution>
269-
</executions>
270-
</plugin>
271-
<plugin>
272-
<groupId>com.spotify</groupId>
273-
<artifactId>dockerfile-maven-plugin</artifactId>
274-
<version>${dockerfile-maven.version}</version>
275-
<executions>
276-
<execution>
277-
<id>build-image</id>
278-
<goals>
279-
<goal>build</goal>
280-
</goals>
281-
<phase>package</phase>
282-
<configuration>
283-
<buildArgs>
284-
<JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
285-
<SPRING_BOOT_VERSION>${project.parent.version}</SPRING_BOOT_VERSION>
286-
</buildArgs>
287-
</configuration>
288-
</execution>
289-
<execution>
290-
<id>tag-image-latest</id>
291-
<goals>
292-
<goal>tag</goal>
293-
</goals>
294268
<configuration>
295-
<tag>latest</tag>
296-
</configuration>
297-
</execution>
298-
<execution>
299-
<id>tag-image-version</id>
300-
<goals>
301-
<goal>tag</goal>
302-
</goals>
303-
<configuration>
304-
<tag>${project.version}</tag>
305-
</configuration>
306-
</execution>
307-
<execution>
308-
<id>push-image-latest</id>
309-
<goals>
310-
<goal>push</goal>
311-
</goals>
312-
<phase>deploy</phase>
313-
<configuration>
314-
<tag>latest</tag>
315-
</configuration>
316-
</execution>
317-
<execution>
318-
<id>push-image-version</id>
319-
<goals>
320-
<goal>push</goal>
321-
</goals>
322-
<phase>deploy</phase>
323-
<configuration>
324-
<tag>${project.version}</tag>
269+
<formats>
270+
<format>XML</format>
271+
</formats>
325272
</configuration>
326273
</execution>
327274
</executions>
328-
<configuration>
329-
<repository>osahner/kotlin-spring-boot-rest-jpa-jwt-starter</repository>
330-
<noCache/>
331-
<verbose/>
332-
</configuration>
333275
</plugin>
276+
334277
</plugins>
335278
</build>
336279

src/main/kotlin/osahner/service/CsvImportService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ class CsvImportService {
1919
}
2020
}
2121

22-
interface CsvImportDto<S> {
22+
fun interface CsvImportDto<S> {
2323
fun toEntity(): S
2424
}

0 commit comments

Comments
 (0)