Maven 中的命令 "mvnyjp" 有什么用?什么时候使用它?
what is command "mvnyjp" in maven for? when to use it?
maven/bin
中有三个命令:
mvn
mvnDebug
mvnyjp
我只是找不到关于“mvnyjp
”的任何信息。
如何以及何时使用它?
它是一个 shell 脚本,旨在与 Yourkit 分析器一起使用。
用于分析 Maven 构建过程。
这是一个脚本文件,因此可读:
# -----------------------------------------------------------------------------
# Apache Maven YourKit Profiler Startup Script
#
# Environment Variable Prerequisites
#
# JAVA_HOME Must point at your Java Development Kit installation.
# MAVEN_OPTS (Optional) Java runtime options used when Maven is executed.
# MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files.
# -----------------------------------------------------------------------------
if [ ! -f "$YJPLIB" ]; then
echo "Error: Unable to autodetect the YJP library location. Please set YJPLIB variable" >&2
exit 1
fi
env MAVEN_OPTS="-agentpath:$YJPLIB=onexit=snapshot,onexit=memory,tracing,onlylocal $MAVEN_OPTS" "`dirname "[=10=]"`/mvn" "$@"
因此,如果您使用的是 YourKit Profiler。
,那么它似乎只是您感兴趣的
maven/bin
中有三个命令:
mvn
mvnDebug
mvnyjp
我只是找不到关于“mvnyjp
”的任何信息。
如何以及何时使用它?
它是一个 shell 脚本,旨在与 Yourkit 分析器一起使用。
用于分析 Maven 构建过程。
这是一个脚本文件,因此可读:
# -----------------------------------------------------------------------------
# Apache Maven YourKit Profiler Startup Script
#
# Environment Variable Prerequisites
#
# JAVA_HOME Must point at your Java Development Kit installation.
# MAVEN_OPTS (Optional) Java runtime options used when Maven is executed.
# MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files.
# -----------------------------------------------------------------------------
if [ ! -f "$YJPLIB" ]; then
echo "Error: Unable to autodetect the YJP library location. Please set YJPLIB variable" >&2
exit 1
fi
env MAVEN_OPTS="-agentpath:$YJPLIB=onexit=snapshot,onexit=memory,tracing,onlylocal $MAVEN_OPTS" "`dirname "[=10=]"`/mvn" "$@"
因此,如果您使用的是 YourKit Profiler。
,那么它似乎只是您感兴趣的