Correctly configure Maven wrapper (#348)

Maven wrapper is currently having 2 issues:

- The executable doesn't have the executable bit
- The `.mvn` directory is ignored in Git

Fixing those allow to do `./mvnw package` directly in Codespaces.
This commit is contained in:
Julien Dubois 2023-12-13 12:48:49 +01:00 committed by GitHub
parent 7ca67e77a3
commit 38abd88853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
target/ target/
**/.mvn/
### IntelliJ IDEA ### ### IntelliJ IDEA ###
.idea/* .idea/*

BIN
.mvn/wrapper/maven-wrapper.jar vendored Normal file

Binary file not shown.

18
.mvn/wrapper/maven-wrapper.properties vendored Normal file
View File

@ -0,0 +1,18 @@
# 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
#
# http://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.6/apache-maven-3.9.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

0
mvnw vendored Normal file → Executable file
View File