diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index 281ebbf..5f0536e 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,18 +1,2 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.1/apache-maven-3.9.1-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar diff --git a/pom.xml b/pom.xml index b14b9a4..f41000d 100644 --- a/pom.xml +++ b/pom.xml @@ -15,8 +15,8 @@ UTF-8 UTF-8 - 1.5.2.Final - 1.18.26 + 1.5.5.Final + 1.18.30 2.4-M1-groovy-4.0 @@ -31,37 +31,38 @@ 3.10.1 - 3.0.0-M8 - 3.0.0-M8 + 3.2.2 + 3.2.2 4.9.10 - 1.0.1 - 3.9.1.2184 + 1.2.1 + 3.10.0.2594 0.8.9 3.2.2 - 10.9.3 + 10.12.6 2.18.0 - 2.1.0 - 2.6.0 - 4.7.3.4 + 3.0.2 + 2.7.0 + 4.8.2.0 1.12.0 7.6.0 - 8.2.1 + 9.0.3 org.slf4j slf4j-simple - 2.0.7 + org.projectlombok lombok @@ -102,7 +103,7 @@ org.springframework.boot spring-boot-starter-parent - 3.0.6 + 3.2.0 pom import @@ -112,7 +113,18 @@ ${project.version}-app - + + org.apache.maven.plugins + maven-jlink-plugin + 3.1.0 + + true + true + true + 2 + true + + org.apache.maven.plugins maven-compiler-plugin @@ -124,8 +136,9 @@ -Xlint:all,-options -Xdoclint:all/protected -XDcompilePolicy=simple - -Xplugin:ErrorProne -Xep:NullAway:ERROR -XepOpt:NullAway:AnnotatedPackages=gt.app - + -Amapstruct.defaultComponentModel=default -Amapstruct.defaultInjectionStrategy=constructor @@ -136,16 +149,18 @@ error_prone_core ${google.error-prone.compiler.version} - + org.projectlombok lombok ${lombok.version} - + + diff --git a/src/main/java/gt/app/PojoA.java b/src/main/java/gt/app/PojoA.java index aff380e..a60749e 100644 --- a/src/main/java/gt/app/PojoA.java +++ b/src/main/java/gt/app/PojoA.java @@ -2,21 +2,15 @@ import lombok.Data; -import javax.annotation.Nullable; - @Data public class PojoA { - @Nullable String firstName; - @Nullable String lastName; int age; - @Nullable String country; - @Nullable String language; - public PojoA(@Nullable String firstName, int age) { + public PojoA(String firstName, int age) { this.firstName = firstName; this.age = age; } diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java new file mode 100644 index 0000000..3b81f9e --- /dev/null +++ b/src/main/java/module-info.java @@ -0,0 +1,5 @@ +module appDeps { + requires java.base; + requires static lombok; + requires org.slf4j; +}