mvnw revision d69d2e025b2dbe63dda1853449f935e1efc2cd5d
561N/A# ---------------------------------------------------------------------------- 911N/A# Licensed to the Apache Software Foundation (ASF) under one 837N/A# or more contributor license agreements. See the NOTICE file 561N/A# distributed with this work for additional information 561N/A# regarding copyright ownership. The ASF licenses this file 561N/A# to you under the Apache License, Version 2.0 (the 561N/A# "License"); you may not use this file except in compliance 561N/A# with the License. You may obtain a copy of the License at 561N/A# Unless required by applicable law or agreed to in writing, 561N/A# software distributed under the License is distributed on an 561N/A# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 561N/A# KIND, either express or implied. See the License for the 561N/A# specific language governing permissions and limitations 561N/A# ---------------------------------------------------------------------------- 561N/A# ---------------------------------------------------------------------------- 561N/A# Maven2 Start Up Batch script 561N/A# JAVA_HOME - location of a JDK home dir 561N/A# M2_HOME - location of maven2's installed home dir 561N/A# MAVEN_OPTS - parameters passed to the Java VM when running Maven 561N/A# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 561N/A# MAVEN_SKIP_RC - flag to disable loading of mavenrc files 561N/A# ---------------------------------------------------------------------------- # OS specific support. $var _must_ be set to either true or false. # Look for the Apple JDKs first to preserve the existing behaviour, and then look # for the new JDKs provided by Oracle. ## resolve links - $0 may be a link to maven's home # need this for relative symlinks # make it fully qualified # echo Using m2 at $M2_HOME # For Cygwin, ensure paths are in UNIX format before anything is touched # For Migwn, ensure paths are in UNIX format before anything is touched # readlink(1) is not available as standard on Solaris 10. # IBM's JDK on AIX uses strange locations for the executables echo "Error: JAVA_HOME is not defined correctly." >&
2 echo "Warning: JAVA_HOME environment variable is not set." # For Cygwin, switch paths to Windows format before running java # traverses directory structure from process work directory to filesystem root # first directory with .mvn subdirectory is considered project base directory while [ "$wdir" != '/' ] ; do # concatenates all lines of a file echo "$(tr -s '\n' ' ' < "$1")" # Provide a "standardized" way to retrieve the CLI args that will # work with both Windows and non-Windows executions.