This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch collapse-mvnDebug-into-mvn
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/collapse-mvnDebug-into-mvn by 
this push:
     new 52cf3d9  Remove old loop
52cf3d9 is described below

commit 52cf3d9c750c058620586223934a349e9b238650
Author: Michael Osipov <micha...@apache.org>
AuthorDate: Thu Jul 29 10:33:11 2021 +0200

    Remove old loop
---
 apache-maven/src/assembly/shared/init | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/apache-maven/src/assembly/shared/init 
b/apache-maven/src/assembly/shared/init
index 9e5a46d..13dc0ab 100755
--- a/apache-maven/src/assembly/shared/init
+++ b/apache-maven/src/assembly/shared/init
@@ -95,14 +95,6 @@ concat_lines() {
 MAVEN_PROJECTBASEDIR="`find_maven_basedir "$@"`"
 MAVEN_OPTS="`concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config"` $MAVEN_OPTS"
 
-for arg in "$@"; do
-  if [ "$arg" = "-dj" -o "$arg" = "--debug-java" ]; then
-    echo "Preparing to execute Maven in Java debug mode"
-    MAVEN_DEBUG_OPTS="-Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${MAVEN_DEBUG_ADDRESS:-localhost:8000}"
-    break
-  fi
-done
-
 IGNORE_DEBUG_MODE=0
 ENABLE_DEBUG_MODE=0
 for arg in "$@"; do

Reply via email to