Skip to content

Commit cfaf444

Browse files
committed
Use maven wrapper
1 parent e8b0cf9 commit cfaf444

6 files changed

Lines changed: 319 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
distribution: temurin
1313
java-version: 21
1414
- run: ./build-image.sh
15-
- run: mvn dependency:go-offline -B -V
16-
- run: mvn install -B
15+
- run: ./mvnw dependency:go-offline -B -V
16+
- run: ./mvnw install -B

.mvn/extensions.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<extensions>
3+
<extension>
4+
<groupId>io.takari.maven</groupId>
5+
<artifactId>takari-smart-builder</artifactId>
6+
<version>1.1.0</version>
7+
</extension>
8+
</extensions>

.mvn/jvm.config

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
-XX:+IgnoreUnrecognizedVMOptions
2+
-Xmx8192m
3+
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
4+
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
5+
--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
6+
--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
7+
--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
8+
--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED
9+
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
10+
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
11+
--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
12+
--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
13+
-XX:+ExitOnOutOfMemoryError
14+
--enable-native-access=ALL-UNNAMED
15+
--sun-misc-unsafe-memory-access=allow

.mvn/settings.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<settings>
2+
<pluginGroups>
3+
<pluginGroup>eu.maveniverse.maven.plugins</pluginGroup>
4+
</pluginGroups>
5+
<servers>
6+
<server>
7+
<id>sonatype-central-portal</id>
8+
<username>${env.MAVENCENTRAL_USERNAME}</username>
9+
<password>${env.MAVENCENTRAL_PASSWORD}</password>
10+
<configuration>
11+
<njord.publisher>sonatype-cp</njord.publisher>
12+
<njord.releaseUrl>njord:template:release-sca</njord.releaseUrl>
13+
</configuration>
14+
</server>
15+
</servers>
16+
</settings>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
wrapperVersion=3.3.2
18+
distributionType=only-script
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip

mvnw

Lines changed: 259 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)