ruby-maven-libs 3.3.9 → 3.9.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +10 -1
- data/lib/maven.rb +1 -1
- data/maven-home/LICENSE +521 -69
- data/maven-home/NOTICE +98 -2
- data/maven-home/README.txt +12 -12
- data/maven-home/bin/m2.conf +4 -2
- data/maven-home/bin/mvn +98 -139
- data/maven-home/bin/mvn.cmd +116 -92
- data/maven-home/bin/mvnDebug +13 -18
- data/maven-home/bin/mvnDebug.cmd +22 -8
- data/maven-home/bin/mvnyjp +10 -16
- data/maven-home/boot/plexus-classworlds-2.7.0.jar +0 -0
- data/maven-home/conf/logging/simplelogger.properties +6 -1
- data/maven-home/conf/settings.xml +15 -7
- data/maven-home/conf/toolchains.xml +2 -2
- data/maven-home/lib/aopalliance.license +1 -0
- data/maven-home/lib/commons-cli-1.5.0.jar +0 -0
- data/maven-home/lib/commons-codec-1.16.0.jar +0 -0
- data/maven-home/lib/commons-lang3-3.12.0.jar +0 -0
- data/maven-home/lib/ext/README.txt +1 -1
- data/maven-home/lib/ext/hazelcast/README.txt +6 -0
- data/maven-home/lib/ext/redisson/README.txt +6 -0
- data/maven-home/lib/failureaccess-1.0.1.jar +0 -0
- data/maven-home/lib/guava-32.0.1-jre.jar +0 -0
- data/maven-home/lib/guice-5.1.0.jar +0 -0
- data/maven-home/lib/httpclient-4.5.14.jar +0 -0
- data/maven-home/lib/httpcore-4.4.16.jar +0 -0
- data/maven-home/lib/jansi-2.4.0.jar +0 -0
- data/maven-home/lib/jansi-native/README.txt +8 -0
- data/maven-home/lib/jansi-native/Windows/x86/jansi.dll +0 -0
- data/maven-home/lib/jansi-native/Windows/x86_64/jansi.dll +0 -0
- data/maven-home/lib/javax.annotation-api-1.3.2.jar +0 -0
- data/maven-home/lib/javax.annotation-api.license +759 -0
- data/maven-home/lib/jcl-over-slf4j-1.7.36.jar +0 -0
- data/maven-home/lib/maven-artifact-3.9.6.jar +0 -0
- data/maven-home/lib/maven-builder-support-3.9.6.jar +0 -0
- data/maven-home/lib/maven-compat-3.9.6.jar +0 -0
- data/maven-home/lib/maven-core-3.9.6.jar +0 -0
- data/maven-home/lib/maven-embedder-3.9.6.jar +0 -0
- data/maven-home/lib/maven-model-3.9.6.jar +0 -0
- data/maven-home/lib/maven-model-builder-3.9.6.jar +0 -0
- data/maven-home/lib/maven-plugin-api-3.9.6.jar +0 -0
- data/maven-home/lib/maven-repository-metadata-3.9.6.jar +0 -0
- data/maven-home/lib/maven-resolver-api-1.9.18.jar +0 -0
- data/maven-home/lib/maven-resolver-connector-basic-1.9.18.jar +0 -0
- data/maven-home/lib/maven-resolver-impl-1.9.18.jar +0 -0
- data/maven-home/lib/maven-resolver-named-locks-1.9.18.jar +0 -0
- data/maven-home/lib/maven-resolver-provider-3.9.6.jar +0 -0
- data/maven-home/lib/maven-resolver-spi-1.9.18.jar +0 -0
- data/maven-home/lib/maven-resolver-transport-file-1.9.18.jar +0 -0
- data/maven-home/lib/maven-resolver-transport-http-1.9.18.jar +0 -0
- data/maven-home/lib/maven-resolver-transport-wagon-1.9.18.jar +0 -0
- data/maven-home/lib/maven-resolver-util-1.9.18.jar +0 -0
- data/maven-home/lib/maven-settings-3.9.6.jar +0 -0
- data/maven-home/lib/maven-settings-builder-3.9.6.jar +0 -0
- data/maven-home/lib/maven-shared-utils-3.3.4.jar +0 -0
- data/maven-home/lib/maven-slf4j-provider-3.9.6.jar +0 -0
- data/maven-home/lib/org.eclipse.sisu.inject-0.9.0.M2.jar +0 -0
- data/maven-home/lib/org.eclipse.sisu.inject.license +210 -261
- data/maven-home/lib/org.eclipse.sisu.plexus-0.9.0.M2.jar +0 -0
- data/maven-home/lib/org.eclipse.sisu.plexus.license +210 -261
- data/maven-home/lib/plexus-cipher-2.0.jar +0 -0
- data/maven-home/lib/plexus-cipher.license +202 -410
- data/maven-home/lib/plexus-component-annotations-2.1.0.jar +0 -0
- data/maven-home/lib/plexus-interpolation-1.26.jar +0 -0
- data/maven-home/lib/plexus-sec-dispatcher-2.0.jar +0 -0
- data/maven-home/lib/plexus-sec-dispatcher.license +202 -410
- data/maven-home/lib/plexus-utils-3.5.1.jar +0 -0
- data/maven-home/lib/slf4j-api-1.7.36.jar +0 -0
- data/maven-home/lib/slf4j-api.license +18 -364
- data/maven-home/lib/wagon-file-3.5.3.jar +0 -0
- data/maven-home/lib/wagon-http-3.5.3.jar +0 -0
- data/maven-home/lib/wagon-http-shared-3.5.3.jar +0 -0
- data/maven-home/lib/wagon-provider-api-3.5.3.jar +0 -0
- metadata +75 -75
- data/maven-home/boot/plexus-classworlds-2.5.2.jar +0 -0
- data/maven-home/lib/aether-api-1.0.2.v20150114.jar +0 -0
- data/maven-home/lib/aether-api.license +0 -261
- data/maven-home/lib/aether-connector-basic-1.0.2.v20150114.jar +0 -0
- data/maven-home/lib/aether-connector-basic.license +0 -261
- data/maven-home/lib/aether-impl-1.0.2.v20150114.jar +0 -0
- data/maven-home/lib/aether-impl.license +0 -261
- data/maven-home/lib/aether-spi-1.0.2.v20150114.jar +0 -0
- data/maven-home/lib/aether-spi.license +0 -261
- data/maven-home/lib/aether-transport-wagon-1.0.2.v20150114.jar +0 -0
- data/maven-home/lib/aether-transport-wagon.license +0 -261
- data/maven-home/lib/aether-util-1.0.2.v20150114.jar +0 -0
- data/maven-home/lib/aether-util.license +0 -261
- data/maven-home/lib/cdi-api-1.0.jar +0 -0
- data/maven-home/lib/cdi-api.license +0 -410
- data/maven-home/lib/commons-cli-1.2.jar +0 -0
- data/maven-home/lib/commons-io-2.2.jar +0 -0
- data/maven-home/lib/commons-lang-2.6.jar +0 -0
- data/maven-home/lib/commons-lang3-3.4.jar +0 -0
- data/maven-home/lib/guava-18.0.jar +0 -0
- data/maven-home/lib/guice-4.0-no_aop.jar +0 -0
- data/maven-home/lib/jsoup-1.7.2.jar +0 -0
- data/maven-home/lib/jsoup.license +0 -65
- data/maven-home/lib/jsr250-api-1.0.jar +0 -0
- data/maven-home/lib/jsr250-api.license +0 -406
- data/maven-home/lib/maven-aether-provider-3.3.9.jar +0 -0
- data/maven-home/lib/maven-artifact-3.3.9.jar +0 -0
- data/maven-home/lib/maven-builder-support-3.3.9.jar +0 -0
- data/maven-home/lib/maven-compat-3.3.9.jar +0 -0
- data/maven-home/lib/maven-core-3.3.9.jar +0 -0
- data/maven-home/lib/maven-embedder-3.3.9.jar +0 -0
- data/maven-home/lib/maven-model-3.3.9.jar +0 -0
- data/maven-home/lib/maven-model-builder-3.3.9.jar +0 -0
- data/maven-home/lib/maven-plugin-api-3.3.9.jar +0 -0
- data/maven-home/lib/maven-repository-metadata-3.3.9.jar +0 -0
- data/maven-home/lib/maven-settings-3.3.9.jar +0 -0
- data/maven-home/lib/maven-settings-builder-3.3.9.jar +0 -0
- data/maven-home/lib/org.eclipse.sisu.inject-0.3.2.jar +0 -0
- data/maven-home/lib/org.eclipse.sisu.plexus-0.3.2.jar +0 -0
- data/maven-home/lib/plexus-cipher-1.7.jar +0 -0
- data/maven-home/lib/plexus-component-annotations-1.6.jar +0 -0
- data/maven-home/lib/plexus-interpolation-1.21.jar +0 -0
- data/maven-home/lib/plexus-sec-dispatcher-1.3.jar +0 -0
- data/maven-home/lib/plexus-utils-3.0.22.jar +0 -0
- data/maven-home/lib/slf4j-api-1.7.5.jar +0 -0
- data/maven-home/lib/slf4j-simple-1.7.5.jar +0 -0
- data/maven-home/lib/slf4j-simple.license +0 -370
- data/maven-home/lib/wagon-file-2.10.jar +0 -0
- data/maven-home/lib/wagon-http-2.10-shaded.jar +0 -0
- data/maven-home/lib/wagon-http-shared-2.10.jar +0 -0
- data/maven-home/lib/wagon-http.license +0 -202
- data/maven-home/lib/wagon-provider-api-2.10.jar +0 -0
- data/maven-home/lib/wagon-provider-api.license +0 -202
- /data/maven-home/{lib/maven-aether-provider.license → boot/plexus-classworlds.license} +0 -0
- /data/maven-home/lib/{maven-artifact.license → commons-cli.license} +0 -0
- /data/maven-home/lib/{maven-builder-support.license → commons-codec.license} +0 -0
- /data/maven-home/lib/{maven-compat.license → failureaccess.license} +0 -0
- /data/maven-home/lib/{maven-core.license → guava.license} +0 -0
- /data/maven-home/lib/{maven-embedder.license → guice.license} +0 -0
- /data/maven-home/lib/{maven-model-builder.license → httpclient.license} +0 -0
- /data/maven-home/lib/{maven-model.license → httpcore.license} +0 -0
- /data/maven-home/lib/{maven-plugin-api.license → jansi.license} +0 -0
- /data/maven-home/lib/{maven-repository-metadata.license → javax.inject.license} +0 -0
- /data/maven-home/lib/{maven-settings-builder.license → jcl-over-slf4j.license} +0 -0
- /data/maven-home/lib/{maven-settings.license → plexus-component-annotations.license} +0 -0
- /data/maven-home/lib/{wagon-file.license → plexus-interpolation.license} +0 -0
- /data/maven-home/lib/{wagon-http-shared.license → plexus-utils.license} +0 -0
data/maven-home/bin/mvn.cmd
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
@REM ----------------------------------------------------------------------------
|
2
1
|
@REM Licensed to the Apache Software Foundation (ASF) under one
|
3
2
|
@REM or more contributor license agreements. See the NOTICE file
|
4
3
|
@REM distributed with this work for additional information
|
@@ -15,96 +14,59 @@
|
|
15
14
|
@REM KIND, either express or implied. See the License for the
|
16
15
|
@REM specific language governing permissions and limitations
|
17
16
|
@REM under the License.
|
18
|
-
@REM ----------------------------------------------------------------------------
|
19
17
|
|
20
|
-
@REM
|
21
|
-
@REM
|
18
|
+
@REM -----------------------------------------------------------------------------
|
19
|
+
@REM Apache Maven Startup Script
|
22
20
|
@REM
|
23
|
-
@REM
|
24
|
-
@REM JAVA_HOME - location of a JDK home dir
|
21
|
+
@REM Environment Variable Prerequisites
|
25
22
|
@REM
|
26
|
-
@REM
|
27
|
-
@REM
|
28
|
-
@REM
|
29
|
-
@REM
|
30
|
-
@REM
|
31
|
-
@REM
|
32
|
-
@REM
|
33
|
-
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
|
34
|
-
@REM ----------------------------------------------------------------------------
|
23
|
+
@REM JAVA_HOME Must point at your Java Development Kit installation.
|
24
|
+
@REM MAVEN_ARGS (Optional) Arguments passed to Maven before CLI arguments.
|
25
|
+
@REM MAVEN_BATCH_ECHO (Optional) Set to 'on' to enable the echoing of the batch commands.
|
26
|
+
@REM MAVEN_BATCH_PAUSE (Optional) set to 'on' to wait for a key stroke before ending.
|
27
|
+
@REM MAVEN_OPTS (Optional) Java runtime options used when Maven is executed.
|
28
|
+
@REM MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files.
|
29
|
+
@REM -----------------------------------------------------------------------------
|
35
30
|
|
36
31
|
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
|
37
32
|
@echo off
|
38
33
|
@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
|
39
|
-
@if "%MAVEN_BATCH_ECHO%"
|
40
|
-
|
41
|
-
@REM set %HOME% to equivalent of $HOME
|
42
|
-
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
|
34
|
+
@if "%MAVEN_BATCH_ECHO%"=="on" echo %MAVEN_BATCH_ECHO%
|
43
35
|
|
44
36
|
@REM Execute a user defined script before this one
|
45
|
-
if not "%MAVEN_SKIP_RC%"
|
37
|
+
if not "%MAVEN_SKIP_RC%"=="" goto skipRcPre
|
46
38
|
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
|
47
|
-
if exist "%
|
48
|
-
if exist "%
|
39
|
+
if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
|
40
|
+
if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
|
49
41
|
:skipRcPre
|
50
42
|
|
51
43
|
@setlocal
|
52
44
|
|
53
45
|
set ERROR_CODE=0
|
54
46
|
|
55
|
-
@REM To isolate internal variables from possible post scripts, we use another setlocal
|
56
|
-
@setlocal
|
57
|
-
|
58
47
|
@REM ==== START VALIDATION ====
|
59
|
-
if not "%JAVA_HOME%"
|
60
|
-
|
61
|
-
|
62
|
-
echo Error: JAVA_HOME not found in your environment. >&2
|
63
|
-
echo Please set the JAVA_HOME variable in your environment to match the >&2
|
64
|
-
echo location of your Java installation. >&2
|
65
|
-
echo.
|
66
|
-
goto error
|
48
|
+
if not "%JAVA_HOME%"=="" goto OkJHome
|
49
|
+
for %%i in (java.exe) do set "JAVACMD=%%~$PATH:i"
|
50
|
+
goto checkJCmd
|
67
51
|
|
68
52
|
:OkJHome
|
69
|
-
|
70
|
-
|
71
|
-
echo.
|
72
|
-
echo Error: JAVA_HOME is set to an invalid directory. >&2
|
73
|
-
echo JAVA_HOME = "%JAVA_HOME%" >&2
|
74
|
-
echo Please set the JAVA_HOME variable in your environment to match the >&2
|
75
|
-
echo location of your Java installation. >&2
|
76
|
-
echo.
|
77
|
-
goto error
|
78
|
-
|
79
|
-
:chkMHome
|
80
|
-
if not "%M2_HOME%"=="" goto valMHome
|
53
|
+
set "JAVACMD=%JAVA_HOME%\bin\java.exe"
|
81
54
|
|
82
|
-
|
83
|
-
if
|
55
|
+
:checkJCmd
|
56
|
+
if exist "%JAVACMD%" goto chkMHome
|
84
57
|
|
85
|
-
echo
|
86
|
-
echo
|
87
|
-
echo Please set the M2_HOME variable in your environment to match the >&2
|
88
|
-
echo location of the Maven installation. >&2
|
89
|
-
echo.
|
58
|
+
echo The JAVA_HOME environment variable is not defined correctly, >&2
|
59
|
+
echo this environment variable is needed to run this program. >&2
|
90
60
|
goto error
|
91
61
|
|
92
|
-
:
|
93
|
-
|
94
|
-
|
95
|
-
if not "
|
96
|
-
|
97
|
-
goto stripMHome
|
62
|
+
:chkMHome
|
63
|
+
set "MAVEN_HOME=%~dp0"
|
64
|
+
set "MAVEN_HOME=%MAVEN_HOME:~0,-5%"
|
65
|
+
if not "%MAVEN_HOME%"=="" goto checkMCmd
|
66
|
+
goto error
|
98
67
|
|
99
68
|
:checkMCmd
|
100
|
-
if exist "%
|
101
|
-
|
102
|
-
echo.
|
103
|
-
echo Error: M2_HOME is set to an invalid directory. >&2
|
104
|
-
echo M2_HOME = "%M2_HOME%" >&2
|
105
|
-
echo Please set the M2_HOME variable in your environment to match the >&2
|
106
|
-
echo location of the Maven installation >&2
|
107
|
-
echo.
|
69
|
+
if exist "%MAVEN_HOME%\bin\mvn.cmd" goto init
|
108
70
|
goto error
|
109
71
|
@REM ==== END VALIDATION ====
|
110
72
|
|
@@ -112,35 +74,91 @@ goto error
|
|
112
74
|
|
113
75
|
set MAVEN_CMD_LINE_ARGS=%*
|
114
76
|
|
115
|
-
@REM Find the project
|
77
|
+
@REM Find the project basedir, i.e., the directory that contains the directory ".mvn".
|
116
78
|
@REM Fallback to current working directory if not found.
|
117
79
|
|
118
|
-
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
|
119
|
-
|
80
|
+
set "MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%"
|
81
|
+
if not "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
|
82
|
+
|
83
|
+
set "EXEC_DIR=%CD%"
|
84
|
+
set "WDIR=%EXEC_DIR%"
|
85
|
+
|
86
|
+
@REM Look for the --file switch and start the search for the .mvn directory from the specified
|
87
|
+
@REM POM location, if supplied.
|
88
|
+
|
89
|
+
set FILE_ARG=
|
90
|
+
:arg_loop
|
91
|
+
if "%~1" == "-f" (
|
92
|
+
set "FILE_ARG=%~2"
|
93
|
+
shift
|
94
|
+
goto process_file_arg
|
95
|
+
)
|
96
|
+
if "%~1" == "--file" (
|
97
|
+
set "FILE_ARG=%~2"
|
98
|
+
shift
|
99
|
+
goto process_file_arg
|
100
|
+
)
|
101
|
+
@REM If none of the above, skip the argument
|
102
|
+
shift
|
103
|
+
if not "%~1" == "" (
|
104
|
+
goto arg_loop
|
105
|
+
) else (
|
106
|
+
goto findBaseDir
|
107
|
+
)
|
108
|
+
|
109
|
+
:process_file_arg
|
110
|
+
if "%FILE_ARG%" == "" (
|
111
|
+
goto findBaseDir
|
112
|
+
)
|
113
|
+
if not exist "%FILE_ARG%" (
|
114
|
+
echo POM file "%FILE_ARG%" specified the -f/--file command-line argument does not exist >&2
|
115
|
+
goto error
|
116
|
+
)
|
117
|
+
if exist "%FILE_ARG%\*" (
|
118
|
+
set "POM_DIR=%FILE_ARG%"
|
119
|
+
) else (
|
120
|
+
call :get_directory_from_file "%FILE_ARG%"
|
121
|
+
)
|
122
|
+
if not exist "%POM_DIR%" (
|
123
|
+
echo Directory "%POM_DIR%" extracted from the -f/--file command-line argument "%FILE_ARG%" does not exist >&2
|
124
|
+
goto error
|
125
|
+
)
|
126
|
+
set "WDIR=%POM_DIR%"
|
127
|
+
goto findBaseDir
|
128
|
+
|
129
|
+
:get_directory_from_file
|
130
|
+
set "POM_DIR=%~dp1"
|
131
|
+
:stripPomDir
|
132
|
+
if not "_%POM_DIR:~-1%"=="_\" goto pomDirStripped
|
133
|
+
set "POM_DIR=%POM_DIR:~0,-1%"
|
134
|
+
goto stripPomDir
|
135
|
+
:pomDirStripped
|
136
|
+
exit /b
|
120
137
|
|
121
|
-
set EXEC_DIR=%CD%
|
122
|
-
set WDIR=%EXEC_DIR%
|
123
138
|
:findBaseDir
|
124
|
-
|
139
|
+
cd /d "%WDIR%"
|
140
|
+
set "WDIR=%CD%"
|
141
|
+
:findBaseDirLoop
|
142
|
+
if exist ".mvn" goto baseDirFound
|
125
143
|
cd ..
|
126
144
|
IF "%WDIR%"=="%CD%" goto baseDirNotFound
|
127
|
-
set WDIR=%CD%
|
128
|
-
goto
|
145
|
+
set "WDIR=%CD%"
|
146
|
+
goto findBaseDirLoop
|
129
147
|
|
130
148
|
:baseDirFound
|
131
|
-
set MAVEN_PROJECTBASEDIR=%WDIR%
|
132
|
-
cd "%EXEC_DIR%"
|
149
|
+
set "MAVEN_PROJECTBASEDIR=%WDIR%"
|
150
|
+
cd /d "%EXEC_DIR%"
|
133
151
|
goto endDetectBaseDir
|
134
152
|
|
135
153
|
:baseDirNotFound
|
136
|
-
if "_%EXEC_DIR:~-1%"=="_\" set EXEC_DIR=%EXEC_DIR:~0,-1%
|
137
|
-
|
138
|
-
|
139
|
-
cd "%EXEC_DIR%"
|
154
|
+
if "_%EXEC_DIR:~-1%"=="_\" set "EXEC_DIR=%EXEC_DIR:~0,-1%"
|
155
|
+
set "MAVEN_PROJECTBASEDIR=%EXEC_DIR%"
|
156
|
+
cd /d "%EXEC_DIR%"
|
140
157
|
|
141
158
|
:endDetectBaseDir
|
142
159
|
|
143
|
-
|
160
|
+
set "jvmConfig=\.mvn\jvm.config"
|
161
|
+
if not exist "%MAVEN_PROJECTBASEDIR%%jvmConfig%" goto endReadAdditionalConfig
|
144
162
|
|
145
163
|
@setlocal EnableExtensions EnableDelayedExpansion
|
146
164
|
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
|
@@ -148,13 +166,19 @@ for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do s
|
|
148
166
|
|
149
167
|
:endReadAdditionalConfig
|
150
168
|
|
151
|
-
|
152
|
-
|
153
|
-
for %%i in ("%M2_HOME%"\boot\plexus-classworlds-*) do set CLASSWORLDS_JAR="%%i"
|
154
|
-
|
169
|
+
for %%i in ("%MAVEN_HOME%"\boot\plexus-classworlds-*) do set CLASSWORLDS_JAR="%%i"
|
155
170
|
set CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
|
156
171
|
|
157
|
-
|
172
|
+
"%JAVACMD%" ^
|
173
|
+
%JVM_CONFIG_MAVEN_PROPS% ^
|
174
|
+
%MAVEN_OPTS% ^
|
175
|
+
%MAVEN_DEBUG_OPTS% ^
|
176
|
+
-classpath %CLASSWORLDS_JAR% ^
|
177
|
+
"-Dclassworlds.conf=%MAVEN_HOME%\bin\m2.conf" ^
|
178
|
+
"-Dmaven.home=%MAVEN_HOME%" ^
|
179
|
+
"-Dlibrary.jansi.path=%MAVEN_HOME%\lib\jansi-native" ^
|
180
|
+
"-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
|
181
|
+
%CLASSWORLDS_LAUNCHER% %MAVEN_ARGS% %MAVEN_CMD_LINE_ARGS%
|
158
182
|
if ERRORLEVEL 1 goto error
|
159
183
|
goto end
|
160
184
|
|
@@ -164,15 +188,15 @@ set ERROR_CODE=1
|
|
164
188
|
:end
|
165
189
|
@endlocal & set ERROR_CODE=%ERROR_CODE%
|
166
190
|
|
167
|
-
if not "%MAVEN_SKIP_RC%"
|
191
|
+
if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
|
168
192
|
@REM check for post script, once with legacy .bat ending and once with .cmd ending
|
169
|
-
if exist "%
|
170
|
-
if exist "%
|
193
|
+
if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
|
194
|
+
if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
|
171
195
|
:skipRcPost
|
172
196
|
|
173
197
|
@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
|
174
|
-
if "%MAVEN_BATCH_PAUSE%"
|
198
|
+
if "%MAVEN_BATCH_PAUSE%"=="on" pause
|
175
199
|
|
176
|
-
if "%MAVEN_TERMINATE_CMD%"
|
200
|
+
if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
|
177
201
|
|
178
|
-
exit /
|
202
|
+
exit /b %ERROR_CODE%
|
data/maven-home/bin/mvnDebug
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/bin/sh
|
2
|
-
|
2
|
+
|
3
3
|
# Licensed to the Apache Software Foundation (ASF) under one
|
4
4
|
# or more contributor license agreements. See the NOTICE file
|
5
5
|
# distributed with this work for additional information
|
@@ -16,26 +16,21 @@
|
|
16
16
|
# KIND, either express or implied. See the License for the
|
17
17
|
# specific language governing permissions and limitations
|
18
18
|
# under the License.
|
19
|
-
# ----------------------------------------------------------------------------
|
20
19
|
|
21
|
-
#
|
22
|
-
#
|
20
|
+
# -----------------------------------------------------------------------------
|
21
|
+
# Apache Maven Debug Script
|
23
22
|
#
|
24
|
-
#
|
25
|
-
# ------------------
|
26
|
-
# JAVA_HOME - location of a JDK home dir
|
23
|
+
# Environment Variable Prerequisites
|
27
24
|
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
34
|
-
# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
|
35
|
-
# ----------------------------------------------------------------------------
|
25
|
+
# JAVA_HOME Must point at your Java Development Kit installation.
|
26
|
+
# MAVEN_ARGS (Optional) Arguments passed to Maven before CLI arguments.
|
27
|
+
# MAVEN_OPTS (Optional) Java runtime options used when Maven is executed.
|
28
|
+
# MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files.
|
29
|
+
# MAVEN_DEBUG_ADDRESS (Optional) Set the debug address. Default value is 8000
|
30
|
+
# -----------------------------------------------------------------------------
|
36
31
|
|
37
|
-
MAVEN_DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address
|
32
|
+
MAVEN_DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${MAVEN_DEBUG_ADDRESS:-8000}"
|
38
33
|
|
39
|
-
echo Preparing to
|
34
|
+
echo Preparing to execute Maven in debug mode
|
40
35
|
|
41
|
-
env MAVEN_OPTS="$MAVEN_OPTS" MAVEN_DEBUG_OPTS="$MAVEN_DEBUG_OPTS"
|
36
|
+
env MAVEN_OPTS="$MAVEN_OPTS" MAVEN_DEBUG_OPTS="$MAVEN_DEBUG_OPTS" "`dirname "$0"`/mvn" "$@"
|
data/maven-home/bin/mvnDebug.cmd
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
@REM ----------------------------------------------------------------------------
|
2
1
|
@REM Licensed to the Apache Software Foundation (ASF) under one
|
3
2
|
@REM or more contributor license agreements. See the NOTICE file
|
4
3
|
@REM distributed with this work for additional information
|
@@ -15,17 +14,32 @@
|
|
15
14
|
@REM KIND, either express or implied. See the License for the
|
16
15
|
@REM specific language governing permissions and limitations
|
17
16
|
@REM under the License.
|
18
|
-
@REM ----------------------------------------------------------------------------
|
19
17
|
|
20
|
-
@REM
|
21
|
-
@REM
|
22
|
-
@REM Java VM settings:
|
18
|
+
@REM -----------------------------------------------------------------------------
|
19
|
+
@REM Apache Maven Debug Script
|
23
20
|
@REM
|
24
|
-
@REM
|
21
|
+
@REM Environment Variable Prerequisites
|
25
22
|
@REM
|
26
|
-
@REM
|
23
|
+
@REM JAVA_HOME Must point at your Java Development Kit installation.
|
24
|
+
@REM MAVEN_ARGS (Optional) Arguments passed to Maven before CLI arguments.
|
25
|
+
@REM MAVEN_BATCH_ECHO (Optional) Set to 'on' to enable the echoing of the batch commands.
|
26
|
+
@REM MAVEN_BATCH_PAUSE (Optional) set to 'on' to wait for a key stroke before ending.
|
27
|
+
@REM MAVEN_OPTS (Optional) Java runtime options used when Maven is executed.
|
28
|
+
@REM MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files.
|
29
|
+
@REM MAVEN_DEBUG_ADDRESS (Optional) Set the debug address. Default value is 8000
|
30
|
+
@REM -----------------------------------------------------------------------------
|
31
|
+
|
32
|
+
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
|
33
|
+
@echo off
|
34
|
+
@REM set title of command window
|
35
|
+
title %0
|
36
|
+
@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
|
37
|
+
@if "%MAVEN_BATCH_ECHO%"=="on" echo %MAVEN_BATCH_ECHO%
|
27
38
|
|
28
39
|
@setlocal
|
29
|
-
|
40
|
+
|
41
|
+
IF "%MAVEN_DEBUG_ADDRESS%"=="" @set MAVEN_DEBUG_ADDRESS=8000
|
42
|
+
|
43
|
+
@set MAVEN_DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=%MAVEN_DEBUG_ADDRESS%
|
30
44
|
|
31
45
|
@call "%~dp0"mvn.cmd %*
|
data/maven-home/bin/mvnyjp
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/bin/sh
|
2
|
-
|
2
|
+
|
3
3
|
# Licensed to the Apache Software Foundation (ASF) under one
|
4
4
|
# or more contributor license agreements. See the NOTICE file
|
5
5
|
# distributed with this work for additional information
|
@@ -16,27 +16,21 @@
|
|
16
16
|
# KIND, either express or implied. See the License for the
|
17
17
|
# specific language governing permissions and limitations
|
18
18
|
# under the License.
|
19
|
-
# ----------------------------------------------------------------------------
|
20
19
|
|
21
|
-
#
|
22
|
-
#
|
20
|
+
# -----------------------------------------------------------------------------
|
21
|
+
# Apache Maven YourKit Profiler Startup Script
|
23
22
|
#
|
24
|
-
#
|
25
|
-
# ------------------
|
26
|
-
# JAVA_HOME - location of a JDK home dir
|
23
|
+
# Environment Variable Prerequisites
|
27
24
|
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
33
|
-
# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
|
34
|
-
# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
|
35
|
-
# ----------------------------------------------------------------------------
|
25
|
+
# JAVA_HOME Must point at your Java Development Kit installation.
|
26
|
+
# MAVEN_ARGS (Optional) Arguments passed to Maven before CLI arguments.
|
27
|
+
# MAVEN_OPTS (Optional) Java runtime options used when Maven is executed.
|
28
|
+
# MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files.
|
29
|
+
# -----------------------------------------------------------------------------
|
36
30
|
|
37
31
|
if [ ! -f "$YJPLIB" ]; then
|
38
32
|
echo "Error: Unable to autodetect the YJP library location. Please set YJPLIB variable" >&2
|
39
33
|
exit 1
|
40
34
|
fi
|
41
35
|
|
42
|
-
env MAVEN_OPTS="-agentpath:$YJPLIB=onexit=snapshot,onexit=memory,tracing,onlylocal $MAVEN_OPTS"
|
36
|
+
env MAVEN_OPTS="-agentpath:$YJPLIB=onexit=snapshot,onexit=memory,tracing,onlylocal $MAVEN_OPTS" "`dirname "$0"`/mvn" "$@"
|
Binary file
|
@@ -20,6 +20,11 @@ org.slf4j.simpleLogger.showDateTime=false
|
|
20
20
|
org.slf4j.simpleLogger.showThreadName=false
|
21
21
|
org.slf4j.simpleLogger.showLogName=false
|
22
22
|
org.slf4j.simpleLogger.logFile=System.out
|
23
|
+
org.slf4j.simpleLogger.cacheOutputStream=true
|
23
24
|
org.slf4j.simpleLogger.levelInBrackets=true
|
24
25
|
org.slf4j.simpleLogger.log.Sisu=info
|
25
|
-
org.slf4j.simpleLogger.warnLevelString=WARNING
|
26
|
+
org.slf4j.simpleLogger.warnLevelString=WARNING
|
27
|
+
|
28
|
+
# MNG-6181: mvn -X also prints all debug logging from HttpClient
|
29
|
+
org.slf4j.simpleLogger.log.org.apache.http=off
|
30
|
+
org.slf4j.simpleLogger.log.org.apache.http.wire=off
|
@@ -32,7 +32,7 @@ under the License.
|
|
32
32
|
| 2. Global Level. This settings.xml file provides configuration for all Maven
|
33
33
|
| users on a machine (assuming they're all using the same Maven
|
34
34
|
| installation). It's normally provided in
|
35
|
-
| ${maven.
|
35
|
+
| ${maven.conf}/settings.xml.
|
36
36
|
|
|
37
37
|
| NOTE: This location can be overridden with the CLI option:
|
38
38
|
|
|
@@ -43,9 +43,9 @@ under the License.
|
|
43
43
|
| values (values used when the setting is not specified) are provided.
|
44
44
|
|
|
45
45
|
|-->
|
46
|
-
<settings xmlns="http://maven.apache.org/SETTINGS/1.
|
46
|
+
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
|
47
47
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
48
|
-
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.
|
48
|
+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
|
49
49
|
<!-- localRepository
|
50
50
|
| The path to the local repository maven will use to store artifacts.
|
51
51
|
|
|
@@ -82,6 +82,7 @@ under the License.
|
|
82
82
|
-->
|
83
83
|
</pluginGroups>
|
84
84
|
|
85
|
+
<!-- TODO Since when can proxies be selected as depicted? -->
|
85
86
|
<!-- proxies
|
86
87
|
| This is a list of proxies which can be used on this machine to connect to the network.
|
87
88
|
| Unless otherwise specified (by system property or command-line switch), the first proxy
|
@@ -156,6 +157,13 @@ under the License.
|
|
156
157
|
<url>http://my.repository.com/repo/path</url>
|
157
158
|
</mirror>
|
158
159
|
-->
|
160
|
+
<mirror>
|
161
|
+
<id>maven-default-http-blocker</id>
|
162
|
+
<mirrorOf>external:http:*</mirrorOf>
|
163
|
+
<name>Pseudo repository to mirror external repositories initially using HTTP.</name>
|
164
|
+
<url>http://0.0.0.0/</url>
|
165
|
+
<blocked>true</blocked>
|
166
|
+
</mirror>
|
159
167
|
</mirrors>
|
160
168
|
|
161
169
|
<!-- profiles
|
@@ -169,7 +177,7 @@ under the License.
|
|
169
177
|
|
|
170
178
|
| As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
|
171
179
|
| section of this document (settings.xml) - will be discussed later. Another way essentially
|
172
|
-
| relies on the detection of a
|
180
|
+
| relies on the detection of a property, either matching a particular value for the property,
|
173
181
|
| or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
|
174
182
|
| value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
|
175
183
|
| Finally, the list of active profiles can be specified directly from the command line.
|
@@ -211,9 +219,9 @@ under the License.
|
|
211
219
|
-->
|
212
220
|
|
213
221
|
<!--
|
214
|
-
| Here is another profile, activated by the
|
215
|
-
|
|
216
|
-
|
|
222
|
+
| Here is another profile, activated by the property 'target-env' with a value of 'dev', which
|
223
|
+
| provides a specific path to the Tomcat instance. To use this, your plugin configuration might
|
224
|
+
| hypothetically look like:
|
217
225
|
|
|
218
226
|
| ...
|
219
227
|
| <plugin>
|
@@ -32,7 +32,7 @@ under the License.
|
|
32
32
|
| 2. Global Level. This toolchains.xml file provides configuration for all Maven
|
33
33
|
| users on a machine (assuming they're all using the same Maven
|
34
34
|
| installation). It's normally provided in
|
35
|
-
| ${maven.
|
35
|
+
| ${maven.conf}/toolchains.xml.
|
36
36
|
|
|
37
37
|
| NOTE: This location can be overridden with the CLI option:
|
38
38
|
|
|
@@ -63,7 +63,7 @@ under the License.
|
|
63
63
|
| Look for documentation of the toolchains-aware plugin which configuration elements
|
64
64
|
| can be used.
|
65
65
|
|
|
66
|
-
| See also
|
66
|
+
| See also https://maven.apache.org/guides/mini/guide-using-toolchains.html
|
67
67
|
|
|
68
68
|
| General example
|
69
69
|
|
@@ -0,0 +1 @@
|
|
1
|
+
Public Domain
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,2 +1,2 @@
|
|
1
|
-
Use this directory to
|
1
|
+
Use this directory to add third party extensions to Maven Core. These extensions can either extend or override
|
2
2
|
Maven's default implementation.
|
@@ -0,0 +1,6 @@
|
|
1
|
+
This directory is intended to contain Hazelcast [1] JARs for Maven Resolver Named Locks using Hazelcast.
|
2
|
+
|
3
|
+
See here [2] on how to add necessary JARs.
|
4
|
+
|
5
|
+
[1] https://github.com/hazelcast/hazelcast
|
6
|
+
[2] https://maven.apache.org/resolver/maven-resolver-named-locks-hazelcast/index.html#installation-testing
|
@@ -0,0 +1,6 @@
|
|
1
|
+
This directory is intended to contain Redisson [1] JARs for Maven Resolver Named Locks using Redisson.
|
2
|
+
|
3
|
+
See here [2] on how to add necessary JARs.
|
4
|
+
|
5
|
+
[1] https://github.com/redisson/redisson
|
6
|
+
[2] https://maven.apache.org/resolver/maven-resolver-named-locks-redisson/index.html#installation-testing
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,8 @@
|
|
1
|
+
This directory contains Jansi native libraries extracted from Jansi JAR.
|
2
|
+
|
3
|
+
You can add your own build for platforms not natively supported by Jansi.
|
4
|
+
See here [1] on how to compile for your platform and and here [2] how libraries
|
5
|
+
follow Jansi's directory and filename conventions.
|
6
|
+
|
7
|
+
[1] https://github.com/fusesource/jansi/tree/master/src/main/native
|
8
|
+
[2] https://github.com/fusesource/jansi/blob/321a8ff71c731e10f4ea05c607860180276b2215/src/main/java/org/fusesource/jansi/internal/OSInfo.java
|
Binary file
|
Binary file
|
Binary file
|