Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
- name: Check out source
uses: actions/checkout@v4

- name: Set up Java 17
- name: Set up Java 25
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
java-version: "25"
cache: maven

- name: Build and test
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM maven:3.9.9-eclipse-temurin-17 AS build
FROM maven:3.9.9-eclipse-temurin-25 AS build

WORKDIR /workspace
COPY pom.xml .
COPY src ./src
RUN mvn -B -DskipTests package

FROM eclipse-temurin:17-jre-alpine AS runtime
FROM eclipse-temurin:25-jre-alpine AS runtime

WORKDIR /app
RUN addgroup -S spring && adduser -S spring -G spring
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Task Manager API

A Spring Boot REST API for managing tasks, with JWT-based authentication. It uses
Java 17, Maven, Spring Web, Spring Data JPA, Spring Security, Lombok, and H2 for
Java 25, Maven, Spring Web, Spring Data JPA, Spring Security, Lombok, and H2 for
local development. Docker Compose runs the application with PostgreSQL.

## Run locally

With Java 17 and Maven installed, start the application from the project root:
With Java 25 and Maven installed, start the application from the project root:

```sh
mvn spring-boot:run
Expand Down
20 changes: 17 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.0</version>
<version>3.5.16</version>
<relativePath/>
</parent>

Expand All @@ -18,7 +18,7 @@
<description>Spring Boot Task Manager API</description>

<properties>
<java.version>17</java.version>
<java.version>25</java.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -59,7 +59,7 @@
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.3.0</version>
<version>2.8.17</version>
</dependency>

<!-- H2 Database (dev) -->
Expand All @@ -72,6 +72,7 @@
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.7.12</version>
<scope>runtime</scope>
</dependency>

Expand Down Expand Up @@ -110,6 +111,19 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified target/classes/com/example/taskmanager/model/Task.class
Binary file not shown.
Binary file modified target/classes/com/example/taskmanager/model/User.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified target/classes/com/example/taskmanager/security/JwtUtil.class
Binary file not shown.
Binary file modified target/classes/com/example/taskmanager/service/TaskService.class
Binary file not shown.
Binary file modified target/classes/com/example/taskmanager/service/UserService.class
Binary file not shown.
17 changes: 17 additions & 0 deletions target/direct-dependencies.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

The following files have been resolved:
org.springframework.boot:spring-boot-starter-web:jar:3.5.16:compile -- module spring.boot.starter.web [auto]
org.springframework.boot:spring-boot-starter-data-jpa:jar:3.5.16:compile -- module spring.boot.starter.data.jpa [auto]
org.springframework.boot:spring-boot-starter-security:jar:3.5.16:compile -- module spring.boot.starter.security [auto]
org.springframework.boot:spring-boot-starter-actuator:jar:3.5.16:compile -- module spring.boot.starter.actuator [auto]
io.micrometer:micrometer-registry-prometheus:jar:1.15.12:runtime -- module micrometer.registry.prometheus [auto]
net.logstash.logback:logstash-logback-encoder:jar:8.0:compile -- module logstash.logback.encoder [auto]
org.springdoc:springdoc-openapi-starter-webmvc-ui:jar:2.8.17:compile -- module org.springdoc.openapi.ui [auto]
com.h2database:h2:jar:2.3.232:runtime -- module com.h2database [auto]
org.postgresql:postgresql:jar:42.7.11:runtime -- module org.postgresql.jdbc [auto]
io.jsonwebtoken:jjwt-api:jar:0.12.5:compile -- module jjwt.api (auto)
io.jsonwebtoken:jjwt-impl:jar:0.12.5:runtime -- module jjwt.impl (auto)
io.jsonwebtoken:jjwt-jackson:jar:0.12.5:runtime -- module jjwt.jackson (auto)
org.projectlombok:lombok:jar:1.18.46:compile (optional) -- module lombok
org.springframework.boot:spring-boot-starter-test:jar:3.5.16:test -- module spring.boot.starter.test [auto]

Loading