Skip to content

Commit

Permalink
Bump parent pom to 4.0, use maven.compiler.release property
Browse files Browse the repository at this point in the history
  • Loading branch information
rbygrave committed Nov 14, 2023
1 parent f703818 commit e0393eb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
6 changes: 2 additions & 4 deletions http-generator-helidon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
<artifactId>avaje-http-helidon-generator</artifactId>

<properties>
<java.release>21</java.release>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.release>21</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand All @@ -23,7 +21,7 @@
<artifactId>avaje-http-generator-core</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>io.avaje</groupId>
<artifactId>avaje-prisms</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.avaje</groupId>
<artifactId>java11-oss</artifactId>
<version>3.12</version>
<version>4.0</version>
</parent>

<groupId>io.avaje</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi" : "3.0.1",
"info" : {
"title" : "Example service",
"title" : "Example service showing off the Path extension method of controller",
"description" : "Example Javalin controllers with Java and Maven",
"version" : ""
},
Expand Down
4 changes: 1 addition & 3 deletions tests/test-nima-jsonb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
<artifactId>test-nima-jsonb</artifactId>

<properties>
<java.release>21</java.release>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.release>21</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<surefire.useModulePath>false</surefire.useModulePath>
</properties>
Expand Down
3 changes: 1 addition & 2 deletions tests/test-nima/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
<artifactId>test-nima</artifactId>

<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.release>21</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down

0 comments on commit e0393eb

Please sign in to comment.