File tree Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 3737 - name : Set up JDK
3838 uses : actions/setup-java@v4
3939 with :
40- distribution : ' zulu '
41- java-version : ' 17 '
40+ distribution : ' corretto '
41+ java-version : ' 21 '
4242 - name : Build with Maven
4343 run : ./mvnw -version && whoami && umask -S && umask a+rw && umask -S && ./mvnw clean verify -P docker-clean -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.count=3 --no-snapshot-updates --batch-mode --no-transfer-progress
Original file line number Diff line number Diff line change 2727 - name : Set up JDK
2828 uses : actions/setup-java@v4
2929 with :
30- distribution : ' zulu '
31- java-version : ' 17 '
30+ distribution : ' corretto '
31+ java-version : ' 21 '
3232 server-id : ossrh
3333 server-username : MAVEN_USERNAME
3434 server-password : MAVEN_PASSWORD
Original file line number Diff line number Diff line change 1717 - name : Set up JDK
1818 uses : actions/setup-java@v4
1919 with :
20- distribution : ' zulu '
21- java-version : ' 17 '
20+ distribution : ' corretto '
21+ java-version : ' 21 '
2222 server-id : ossrh
2323 server-username : MAVEN_USERNAME
2424 server-password : MAVEN_PASSWORD
Original file line number Diff line number Diff line change 1414# KIND, either express or implied. See the License for the
1515# specific language governing permissions and limitations
1616# under the License.
17- distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.1 /apache-maven-3.9.1 -bin.zip
17+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6 /apache-maven-3.9.6 -bin.zip
1818wrapperUrl =https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
Original file line number Diff line number Diff line change 9292 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
9393 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
9494 <java .version>17</java .version>
95- <maven .compiler.source>17</maven .compiler.source>
96- <maven .compiler.target>17</maven .compiler.target>
95+ <maven .compiler.source>${java.version} </maven .compiler.source>
96+ <maven .compiler.target>${java.version} </maven .compiler.target>
97+ <maven .compiler.release>${java.version} </maven .compiler.release>
9798 <maven .javadoc.plugin.version>3.6.3</maven .javadoc.plugin.version>
9899 <maven .source.plugin.version>3.3.0</maven .source.plugin.version>
99100 <maven .enforcer.plugin.version>3.4.1</maven .enforcer.plugin.version>
You can’t perform that action at this time.
0 commit comments