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/maven-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN || secrets.TOKEN}}
fetch-depth: 0
- name: Set up JDK 21
- name: Set up JDK 25
uses: actions/setup-java@v3
with:
java-version: '21'
java-version: '25'
distribution: 'temurin'
cache: maven
- name: Build with Maven
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
with:
token: ${{ secrets.TOKEN}}
fetch-depth: 0
- name: Set up JDK 21
- name: Set up JDK 25
uses: actions/setup-java@v3
with:
java-version: '21'
java-version: '25'
distribution: 'temurin'
cache: maven
- name: Build with Maven
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public Set<String> getSupportedAnnotationTypes() {
@Override
public SourceVersion getSupportedSourceVersion() {
processingEnv.getMessager().printMessage(Diagnostic.Kind.NOTE, "getSupportedSourceVersion");
return SourceVersion.RELEASE_21;
return SourceVersion.RELEASE_25;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void getSupportedSourceVersion() {
Mockito.when(processingEnvironment.getMessager()).thenReturn(messager);
relationProcessorUnderTest.init(processingEnvironment);
SourceVersion supportedSourceVersion = relationProcessorUnderTest.getSupportedSourceVersion();
assertThat(supportedSourceVersion).isEqualTo(SourceVersion.RELEASE_21);
assertThat(supportedSourceVersion).isEqualTo(SourceVersion.RELEASE_25);
}

@Test
Expand Down
36 changes: 24 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.5.4</version>
<version>4.0.6</version>
<relativePath/>
</parent>
<!-- lookup parent from repository -->
Expand Down Expand Up @@ -133,30 +133,30 @@
</profiles>

<properties>
<java.version>21</java.version>
<java.version>25</java.version>
<revision>1.0.7</revision>
<flatten-maven-plugin.version>1.2.7</flatten-maven-plugin.version>
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
<jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version>
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.source>25</maven.compiler.source>
<maven.compiler.target>25</maven.compiler.target>
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
<lombok.version>1.18.38</lombok.version>
<lombok.version>1.18.46</lombok.version>
<postgresql.version>42.7.7</postgresql.version>
<auto-service.version>1.1.1</auto-service.version>
<compile-testing.version>0.21.0</compile-testing.version>
<!-- <javapoet.version>0.7.0</javapoet.version>-->
<javapoet.version>1.13.0</javapoet.version>
<spring-boot-starter-data-jpa.version>3.5.4</spring-boot-starter-data-jpa.version>
<spring-boot-starter-data-jpa.version>4.0.6</spring-boot-starter-data-jpa.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<embedded-database-spring-test.version>2.6.0</embedded-database-spring-test.version>
<embedded-database-spring-test.version>2.8.0</embedded-database-spring-test.version>
<embedded-postgres.version>2.1.0</embedded-postgres.version>
<embedded-postgres-runtime.version>17.5.0</embedded-postgres-runtime.version>
<spring-boot-starter-web.version>3.5.4</spring-boot-starter-web.version>
<spring-context.version>6.2.9</spring-context.version>
<spring-boot-starter-web.version>4.0.6</spring-boot-starter-web.version>
<spring-context.version>7.0.7</spring-context.version>
<flyway-core.version>11.10.5</flyway-core.version>
</properties>

Expand Down Expand Up @@ -261,14 +261,26 @@

<build>
<plugins>
<plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<showWarnings>true</showWarnings>
<source>1.21</source>
<target>1.21</target>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
<path>
<groupId>io.github.mom0aut</groupId>
<artifactId>dynamic-relations</artifactId>
<version>${revision}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.hibernate.ddl-auto=validate
spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.show-sql=false
spring.flyway.enabled=true
Loading