Skip to content

Commit

Permalink
chore(ci): update to maven 3.9.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mjeanroy committed Aug 20, 2024
1 parent f4da781 commit ff16494
Show file tree
Hide file tree
Showing 4 changed files with 383 additions and 396 deletions.
7 changes: 4 additions & 3 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
# "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
# 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.8.6/apache-maven-3.8.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
wrapperVersion=3.3.2
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
52 changes: 52 additions & 0 deletions generate-mvn-wrapper.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#!/bin/bash

##
# The MIT License (MIT)
#
# Copyright (c) 2015-2023 Mickael Jeanroy
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
##

# mvn wrapper:wrapper

function clean_mvnw {
local GREEN="\033[0;32m"
local RESET_COLORS="\033[0m"

echo -e "${GREEN}Cleaning mvnw...${RESET_COLORS}"
rm -f mvnw
rm -f mvnw.cmd
rm -rf .mvn
echo -e "${GREEN}Cleaning done...${RESET_COLORS}"
echo ""
}

function generate_mvnw {
local GREEN="\033[0;32m"
local RESET_COLORS="\033[0m"

echo -e "${GREEN}Cleaning mvnw...${RESET_COLORS}"
mvn wrapper:wrapper
echo -e "${GREEN}Cleaning done...${RESET_COLORS}"
echo ""
}

clean_mvnw
generate_mvnw
Loading

0 comments on commit ff16494

Please sign in to comment.