File tree 3 files changed +12
-0
lines changed
3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,5 @@ target/
24
24
.project
25
25
.classpath
26
26
.settings /
27
+ # Maven Wrapper
28
+ /.mvn /wrapper /maven-wrapper.jar
Original file line number Diff line number Diff line change @@ -298,11 +298,14 @@ MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $*"
298
298
export MAVEN_CMD_LINE_ARGS
299
299
300
300
WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
301
+ LINE_SEPARATOR="
302
+ "
301
303
302
304
# shellcheck disable=SC2086 # safe args
303
305
exec " $JAVACMD " \
304
306
$MAVEN_OPTS \
305
307
$MAVEN_DEBUG_OPTS \
308
+ " -Dline.separator=$LINE_SEPARATOR " \
306
309
-classpath " $MAVEN_PROJECTBASEDIR /.mvn/wrapper/maven-wrapper.jar" \
307
310
" -Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR} " \
308
311
${WRAPPER_LAUNCHER} $MAVEN_CONFIG " $@ "
Original file line number Diff line number Diff line change @@ -174,11 +174,18 @@ IF NOT %WRAPPER_SHA_256_SUM%=="" (
174
174
@ REM Provide a "standardized" way to retrieve the CLI args that will
175
175
@ REM work with both Windows and non-Windows executions.
176
176
set MAVEN_CMD_LINE_ARGS = %*
177
+ @ REM Do not remove the blank lines
178
+ (set \n=^^ ^
179
+
180
+ ^
181
+
182
+ )
177
183
178
184
%MAVEN_JAVA_EXE% ^
179
185
%JVM_CONFIG_MAVEN_PROPS% ^
180
186
%MAVEN_OPTS% ^
181
187
%MAVEN_DEBUG_OPTS% ^
188
+ -Dline.separator=%\n% ^
182
189
-classpath %WRAPPER_JAR% ^
183
190
" -Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR% " ^
184
191
%WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
You can’t perform that action at this time.
0 commit comments