mirror of https://github.com/apache/maven.git
add debug option
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290358 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c1cea216ec
commit
27aa17cb32
|
@ -22,6 +22,11 @@ if [ "$1" == "profile" ]; then
|
|||
shift
|
||||
fi
|
||||
|
||||
if [ "$1" == "debug" ]; then
|
||||
JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
|
||||
shift
|
||||
fi
|
||||
|
||||
if [ -z "$JAVA_HOME" ]; then
|
||||
JAVA_HOME=/usr/local/java
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue