ruby-maven-libs 3.3.9 → 3.9.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/NOTICE
CHANGED
|
@@ -1,8 +1,104 @@
|
|
|
1
|
-
|
|
2
1
|
Apache Maven Distribution
|
|
3
|
-
Copyright 2001-
|
|
2
|
+
Copyright 2001-2023 The Apache Software Foundation
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
This product includes software developed at
|
|
6
|
+
The Apache Software Foundation (http://www.apache.org/).
|
|
7
|
+
This software bundles the following NOTICE files from third party library providers:
|
|
4
8
|
|
|
9
|
+
META-INF/NOTICE in archive lib/guice-5.1.0.jar
|
|
10
|
+
Google Guice - Core Library
|
|
11
|
+
Copyright 2006-2022 Google, Inc.
|
|
5
12
|
This product includes software developed at
|
|
6
13
|
The Apache Software Foundation (http://www.apache.org/).
|
|
7
14
|
|
|
15
|
+
META-INF/NOTICE in archive lib/plexus-utils-3.2.1.jar
|
|
16
|
+
This product includes software developed by the Indiana University
|
|
17
|
+
Extreme! Lab (http://www.extreme.indiana.edu/).
|
|
18
|
+
This product includes software developed by
|
|
19
|
+
The Apache Software Foundation (http://www.apache.org/).
|
|
20
|
+
This product includes software developed by
|
|
21
|
+
ThoughtWorks (http://www.thoughtworks.com).
|
|
22
|
+
This product includes software developed by
|
|
23
|
+
javolution (http://javolution.org/).
|
|
24
|
+
This product includes software developed by
|
|
25
|
+
Rome (https://rome.dev.java.net/).
|
|
26
|
+
|
|
27
|
+
about.html in archive lib/org.eclipse.sisu.inject-0.3.5.jar
|
|
28
|
+
|
|
29
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
30
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
31
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
32
|
+
<head>
|
|
33
|
+
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
|
|
34
|
+
<title>About org.eclipse.sisu.inject</title>
|
|
35
|
+
</head>
|
|
36
|
+
<body lang="EN-US">
|
|
37
|
+
<h2>About org.eclipse.sisu.inject</h2>
|
|
38
|
+
|
|
39
|
+
<p>November 5, 2013</p>
|
|
40
|
+
<h3>License</h3>
|
|
41
|
+
|
|
42
|
+
<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise
|
|
43
|
+
indicated below, the Content is provided to you under the terms and conditions of the
|
|
44
|
+
Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available
|
|
45
|
+
at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
|
|
46
|
+
For purposes of the EPL, "Program" will mean the Content.</p>
|
|
47
|
+
|
|
48
|
+
<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
|
|
49
|
+
being redistributed by another party ("Redistributor") and different terms and conditions may
|
|
50
|
+
apply to your use of any object code in the Content. Check the Redistributor's license that was
|
|
51
|
+
provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
|
|
52
|
+
indicated below, the terms and conditions of the EPL still apply to any source code in the Content
|
|
53
|
+
and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
|
|
54
|
+
|
|
55
|
+
<h3>Third Party Content</h3>
|
|
56
|
+
<p>The Content includes items that have been sourced from third parties as set
|
|
57
|
+
out below. If you did not receive this Content directly from the Eclipse Foundation,
|
|
58
|
+
the following is provided for informational purposes only, and you should look
|
|
59
|
+
to the Redistributor's license for terms and conditions of use.</p>
|
|
60
|
+
|
|
61
|
+
<h4>ASM 4.1</h4>
|
|
62
|
+
<p>The plug-in includes software developed by the ObjectWeb consortium as part
|
|
63
|
+
of the ASM project at <a href="http://asm.ow2.org/">http://asm.ow2.org/</a>.</p>
|
|
64
|
+
|
|
65
|
+
<p>A subset of ASM is re-packaged within the source and binary of the plug-in (org.eclipse.sisu.space.asm.*)
|
|
66
|
+
to avoid version collisions with other usage and is also available from the plug-in's github repository.</p>
|
|
67
|
+
|
|
68
|
+
<p>Your use of the ASM code is subject to the terms and conditions of the ASM License
|
|
69
|
+
below which is also available at <a href="http://asm.ow2.org/license.html">http://asm.ow2.org/license.html</a>.</p>
|
|
70
|
+
|
|
71
|
+
<blockquote><pre>
|
|
72
|
+
Copyright (c) 2000-2011 INRIA, France Telecom
|
|
73
|
+
All rights reserved.
|
|
74
|
+
|
|
75
|
+
Redistribution and use in source and binary forms, with or without
|
|
76
|
+
modification, are permitted provided that the following conditions
|
|
77
|
+
are met:
|
|
78
|
+
|
|
79
|
+
1. Redistributions of source code must retain the above copyright
|
|
80
|
+
notice, this list of conditions and the following disclaimer.
|
|
81
|
+
|
|
82
|
+
2. Redistributions in binary form must reproduce the above copyright
|
|
83
|
+
notice, this list of conditions and the following disclaimer in the
|
|
84
|
+
documentation and/or other materials provided with the distribution.
|
|
85
|
+
|
|
86
|
+
3. Neither the name of the copyright holders nor the names of its
|
|
87
|
+
contributors may be used to endorse or promote products derived from
|
|
88
|
+
this software without specific prior written permission.
|
|
89
|
+
|
|
90
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
91
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
92
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
93
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
94
|
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
95
|
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
96
|
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
97
|
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
98
|
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
99
|
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
|
100
|
+
THE POSSIBILITY OF SUCH DAMAGE.
|
|
101
|
+
</pre></blockquote>
|
|
8
102
|
|
|
103
|
+
</body>
|
|
104
|
+
</html>
|
data/maven-home/README.txt
CHANGED
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
Documentation
|
|
12
12
|
-------------
|
|
13
13
|
|
|
14
|
-
The most up-to-date documentation can be found at
|
|
14
|
+
The most up-to-date documentation can be found at https://maven.apache.org/.
|
|
15
15
|
|
|
16
16
|
Release Notes
|
|
17
17
|
-------------
|
|
18
18
|
|
|
19
|
-
The full list of changes can be found at
|
|
19
|
+
The full list of changes can be found at https://maven.apache.org/docs/history.html.
|
|
20
20
|
|
|
21
21
|
System Requirements
|
|
22
22
|
-------------------
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
Installing Maven
|
|
40
40
|
----------------
|
|
41
41
|
|
|
42
|
-
1) Unpack the archive where you would like to store the binaries,
|
|
42
|
+
1) Unpack the archive where you would like to store the binaries, e.g.:
|
|
43
43
|
|
|
44
44
|
Unix-based operating systems (Linux, Solaris and Mac OS X)
|
|
45
45
|
tar zxvf apache-maven-3.x.y.tar.gz
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
|
|
49
49
|
2) A directory called "apache-maven-3.x.y" will be created.
|
|
50
50
|
|
|
51
|
-
3) Add the bin directory to your PATH,
|
|
51
|
+
3) Add the bin directory to your PATH, e.g.:
|
|
52
52
|
|
|
53
53
|
Unix-based operating systems (Linux, Solaris and Mac OS X)
|
|
54
54
|
export PATH=/usr/local/apache-maven-3.x.y/bin:$PATH
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
5) Run "mvn --version" to verify that it is correctly installed.
|
|
61
61
|
|
|
62
|
-
For complete documentation, see
|
|
62
|
+
For complete documentation, see https://maven.apache.org/download.html#Installation
|
|
63
63
|
|
|
64
64
|
Licensing
|
|
65
65
|
---------
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
Maven URLS
|
|
70
70
|
----------
|
|
71
71
|
|
|
72
|
-
Home Page:
|
|
73
|
-
Downloads:
|
|
74
|
-
Release Notes:
|
|
75
|
-
Mailing Lists:
|
|
76
|
-
Source Code: https://
|
|
77
|
-
Issue Tracking:
|
|
72
|
+
Home Page: https://maven.apache.org/
|
|
73
|
+
Downloads: https://maven.apache.org/download.html
|
|
74
|
+
Release Notes: https://maven.apache.org/docs/history.html
|
|
75
|
+
Mailing Lists: https://maven.apache.org/mailing-lists.html
|
|
76
|
+
Source Code: https://gitbox.apache.org/repos/asf/maven.git
|
|
77
|
+
Issue Tracking: https://issues.apache.org/jira/browse/MNG
|
|
78
78
|
Wiki: https://cwiki.apache.org/confluence/display/MAVEN/
|
|
79
|
-
Available Plugins:
|
|
79
|
+
Available Plugins: https://maven.apache.org/plugins/
|
data/maven-home/bin/m2.conf
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
main is org.apache.maven.cli.MavenCli from plexus.core
|
|
2
2
|
|
|
3
|
-
set maven.
|
|
3
|
+
set maven.conf default ${maven.home}/conf
|
|
4
4
|
|
|
5
5
|
[plexus.core]
|
|
6
|
+
load ${maven.conf}/logging
|
|
7
|
+
optionally ${maven.home}/lib/ext/redisson/*.jar
|
|
8
|
+
optionally ${maven.home}/lib/ext/hazelcast/*.jar
|
|
6
9
|
optionally ${maven.home}/lib/ext/*.jar
|
|
7
10
|
load ${maven.home}/lib/*.jar
|
|
8
|
-
load ${maven.home}/conf/logging
|
data/maven-home/bin/mvn
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,24 @@
|
|
|
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 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 [ -z "$MAVEN_SKIP_RC" ] ; then
|
|
38
32
|
|
|
33
|
+
if [ -f /usr/local/etc/mavenrc ] ; then
|
|
34
|
+
. /usr/local/etc/mavenrc
|
|
35
|
+
fi
|
|
36
|
+
|
|
39
37
|
if [ -f /etc/mavenrc ] ; then
|
|
40
38
|
. /etc/mavenrc
|
|
41
39
|
fi
|
|
@@ -46,184 +44,143 @@ if [ -z "$MAVEN_SKIP_RC" ] ; then
|
|
|
46
44
|
|
|
47
45
|
fi
|
|
48
46
|
|
|
49
|
-
# OS specific support.
|
|
47
|
+
# OS specific support. $var _must_ be set to either true or false.
|
|
50
48
|
cygwin=false;
|
|
51
|
-
|
|
52
|
-
mingw=false
|
|
49
|
+
mingw=false;
|
|
53
50
|
case "`uname`" in
|
|
54
|
-
CYGWIN*) cygwin=true
|
|
51
|
+
CYGWIN*) cygwin=true;;
|
|
55
52
|
MINGW*) mingw=true;;
|
|
56
|
-
Darwin*) darwin=true
|
|
57
|
-
#
|
|
58
|
-
# Look for the Apple JDKs first to preserve the existing behaviour, and then look
|
|
59
|
-
# for the new JDKs provided by Oracle.
|
|
60
|
-
#
|
|
61
|
-
if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK ] ; then
|
|
62
|
-
#
|
|
63
|
-
# Apple JDKs
|
|
64
|
-
#
|
|
65
|
-
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
|
|
66
|
-
fi
|
|
67
|
-
|
|
68
|
-
if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Java/JavaVirtualMachines/CurrentJDK ] ; then
|
|
69
|
-
#
|
|
70
|
-
# Apple JDKs
|
|
71
|
-
#
|
|
72
|
-
export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
|
|
73
|
-
fi
|
|
74
|
-
|
|
75
|
-
if [ -z "$JAVA_HOME" ] && [ -L "/Library/Java/JavaVirtualMachines/CurrentJDK" ] ; then
|
|
76
|
-
#
|
|
77
|
-
# Oracle JDKs
|
|
78
|
-
#
|
|
79
|
-
export JAVA_HOME=/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
|
|
80
|
-
fi
|
|
81
|
-
|
|
82
|
-
if [ -z "$JAVA_HOME" ] && [ -x "/usr/libexec/java_home" ]; then
|
|
83
|
-
#
|
|
84
|
-
# Apple JDKs
|
|
85
|
-
#
|
|
86
|
-
export JAVA_HOME=`/usr/libexec/java_home`
|
|
87
|
-
fi
|
|
88
|
-
;;
|
|
89
53
|
esac
|
|
90
54
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
JAVA_HOME=`java-config --jre-home`
|
|
94
|
-
fi
|
|
95
|
-
fi
|
|
55
|
+
## resolve links - $0 may be a link to Maven's home
|
|
56
|
+
PRG="$0"
|
|
96
57
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
else
|
|
108
|
-
PRG="`dirname "$PRG"`/$link"
|
|
109
|
-
fi
|
|
110
|
-
done
|
|
58
|
+
# need this for relative symlinks
|
|
59
|
+
while [ -h "$PRG" ] ; do
|
|
60
|
+
ls=`ls -ld "$PRG"`
|
|
61
|
+
link=`expr "$ls" : '.*-> \(.*\)$'`
|
|
62
|
+
if expr "$link" : '/.*' > /dev/null; then
|
|
63
|
+
PRG="$link"
|
|
64
|
+
else
|
|
65
|
+
PRG="`dirname "$PRG"`/$link"
|
|
66
|
+
fi
|
|
67
|
+
done
|
|
111
68
|
|
|
112
|
-
|
|
69
|
+
saveddir=`pwd`
|
|
113
70
|
|
|
114
|
-
|
|
71
|
+
MAVEN_HOME=`dirname "$PRG"`/..
|
|
115
72
|
|
|
116
|
-
|
|
117
|
-
|
|
73
|
+
# make it fully qualified
|
|
74
|
+
MAVEN_HOME=`cd "$MAVEN_HOME" && pwd`
|
|
118
75
|
|
|
119
|
-
|
|
120
|
-
# echo Using m2 at $M2_HOME
|
|
121
|
-
fi
|
|
76
|
+
cd "$saveddir"
|
|
122
77
|
|
|
123
|
-
# For Cygwin, ensure paths are in
|
|
78
|
+
# For Cygwin, ensure paths are in Unix format before anything is touched
|
|
124
79
|
if $cygwin ; then
|
|
125
|
-
[ -n "$
|
|
126
|
-
|
|
80
|
+
[ -n "$MAVEN_HOME" ] &&
|
|
81
|
+
MAVEN_HOME=`cygpath --unix "$MAVEN_HOME"`
|
|
127
82
|
[ -n "$JAVA_HOME" ] &&
|
|
128
83
|
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
|
129
84
|
[ -n "$CLASSPATH" ] &&
|
|
130
85
|
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
|
|
131
86
|
fi
|
|
132
87
|
|
|
133
|
-
# For
|
|
88
|
+
# For MinGW, ensure paths are in Unix format before anything is touched
|
|
134
89
|
if $mingw ; then
|
|
135
|
-
[ -n "$
|
|
136
|
-
|
|
90
|
+
[ -n "$MAVEN_HOME" ] &&
|
|
91
|
+
MAVEN_HOME=`(cd "$MAVEN_HOME"; pwd)`
|
|
137
92
|
[ -n "$JAVA_HOME" ] &&
|
|
138
|
-
JAVA_HOME
|
|
93
|
+
JAVA_HOME=`(cd "$JAVA_HOME"; pwd)`
|
|
139
94
|
# TODO classpath?
|
|
140
95
|
fi
|
|
141
96
|
|
|
142
|
-
if [ -z "$JAVA_HOME" ]; then
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
readLink=`which readlink`
|
|
147
|
-
if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
|
|
148
|
-
if $darwin ; then
|
|
149
|
-
javaHome="`dirname \"$javaExecutable\"`"
|
|
150
|
-
javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
|
|
151
|
-
else
|
|
152
|
-
javaExecutable="`readlink -f \"$javaExecutable\"`"
|
|
153
|
-
fi
|
|
154
|
-
javaHome="`dirname \"$javaExecutable\"`"
|
|
155
|
-
javaHome=`expr "$javaHome" : '\(.*\)/bin'`
|
|
156
|
-
JAVA_HOME="$javaHome"
|
|
157
|
-
export JAVA_HOME
|
|
158
|
-
fi
|
|
159
|
-
fi
|
|
160
|
-
fi
|
|
161
|
-
|
|
162
|
-
if [ -z "$JAVACMD" ] ; then
|
|
163
|
-
if [ -n "$JAVA_HOME" ] ; then
|
|
164
|
-
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
|
165
|
-
# IBM's JDK on AIX uses strange locations for the executables
|
|
166
|
-
JAVACMD="$JAVA_HOME/jre/sh/java"
|
|
167
|
-
else
|
|
168
|
-
JAVACMD="$JAVA_HOME/bin/java"
|
|
169
|
-
fi
|
|
170
|
-
else
|
|
171
|
-
JAVACMD="`which java`"
|
|
172
|
-
fi
|
|
97
|
+
if [ -z "$JAVA_HOME" ] ; then
|
|
98
|
+
JAVACMD="`\\unset -f command; \\command -v java`"
|
|
99
|
+
else
|
|
100
|
+
JAVACMD="$JAVA_HOME/bin/java"
|
|
173
101
|
fi
|
|
174
102
|
|
|
175
103
|
if [ ! -x "$JAVACMD" ] ; then
|
|
176
|
-
echo "
|
|
177
|
-
echo "
|
|
104
|
+
echo "The JAVA_HOME environment variable is not defined correctly," >&2
|
|
105
|
+
echo "this environment variable is needed to run this program." >&2
|
|
178
106
|
exit 1
|
|
179
107
|
fi
|
|
180
108
|
|
|
181
|
-
|
|
182
|
-
echo "Warning: JAVA_HOME environment variable is not set."
|
|
183
|
-
fi
|
|
184
|
-
|
|
109
|
+
CLASSWORLDS_JAR=`echo "${MAVEN_HOME}"/boot/plexus-classworlds-*.jar`
|
|
185
110
|
CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
|
|
186
111
|
|
|
187
112
|
# For Cygwin, switch paths to Windows format before running java
|
|
188
|
-
if $cygwin; then
|
|
189
|
-
[ -n "$
|
|
190
|
-
|
|
113
|
+
if $cygwin ; then
|
|
114
|
+
[ -n "$MAVEN_HOME" ] &&
|
|
115
|
+
MAVEN_HOME=`cygpath --path --windows "$MAVEN_HOME"`
|
|
191
116
|
[ -n "$JAVA_HOME" ] &&
|
|
192
117
|
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
|
|
193
118
|
[ -n "$CLASSPATH" ] &&
|
|
194
119
|
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
|
|
120
|
+
[ -n "$CLASSWORLDS_JAR" ] &&
|
|
121
|
+
CLASSWORLDS_JAR=`cygpath --path --windows "$CLASSWORLDS_JAR"`
|
|
195
122
|
fi
|
|
196
123
|
|
|
197
124
|
# traverses directory structure from process work directory to filesystem root
|
|
198
125
|
# first directory with .mvn subdirectory is considered project base directory
|
|
199
126
|
find_maven_basedir() {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
wdir="$(pwd)"
|
|
127
|
+
(
|
|
128
|
+
basedir=`find_file_argument_basedir "$@"`
|
|
129
|
+
wdir="${basedir}"
|
|
204
130
|
while [ "$wdir" != '/' ] ; do
|
|
205
131
|
if [ -d "$wdir"/.mvn ] ; then
|
|
206
132
|
basedir=$wdir
|
|
207
133
|
break
|
|
208
134
|
fi
|
|
209
|
-
wdir
|
|
135
|
+
wdir=`cd "$wdir/.."; pwd`
|
|
210
136
|
done
|
|
211
137
|
echo "${basedir}"
|
|
138
|
+
)
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
find_file_argument_basedir() {
|
|
142
|
+
(
|
|
143
|
+
basedir=`pwd`
|
|
144
|
+
|
|
145
|
+
found_file_switch=0
|
|
146
|
+
for arg in "$@"; do
|
|
147
|
+
if [ ${found_file_switch} -eq 1 ]; then
|
|
148
|
+
if [ -d "${arg}" ]; then
|
|
149
|
+
basedir=`cd "${arg}" && pwd -P`
|
|
150
|
+
elif [ -f "${arg}" ]; then
|
|
151
|
+
basedir=`dirname "${arg}"`
|
|
152
|
+
basedir=`cd "${basedir}" && pwd -P`
|
|
153
|
+
if [ ! -d "${basedir}" ]; then
|
|
154
|
+
echo "Directory ${basedir} extracted from the -f/--file command-line argument ${arg} does not exist" >&2
|
|
155
|
+
exit 1
|
|
156
|
+
fi
|
|
157
|
+
else
|
|
158
|
+
echo "POM file ${arg} specified with the -f/--file command line argument does not exist" >&2
|
|
159
|
+
exit 1
|
|
160
|
+
fi
|
|
161
|
+
break
|
|
162
|
+
fi
|
|
163
|
+
if [ "$arg" = "-f" -o "$arg" = "--file" ]; then
|
|
164
|
+
found_file_switch=1
|
|
165
|
+
fi
|
|
166
|
+
done
|
|
167
|
+
echo "${basedir}"
|
|
168
|
+
)
|
|
212
169
|
}
|
|
213
170
|
|
|
214
171
|
# concatenates all lines of a file
|
|
215
172
|
concat_lines() {
|
|
216
173
|
if [ -f "$1" ]; then
|
|
217
|
-
echo "
|
|
174
|
+
echo "`tr -s '\r\n' ' ' < "$1"`"
|
|
218
175
|
fi
|
|
219
176
|
}
|
|
220
177
|
|
|
221
|
-
MAVEN_PROJECTBASEDIR="${MAVEN_BASEDIR
|
|
222
|
-
MAVEN_OPTS="
|
|
178
|
+
MAVEN_PROJECTBASEDIR="${MAVEN_BASEDIR:-`find_maven_basedir "$@"`}"
|
|
179
|
+
MAVEN_OPTS="`concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config"` $MAVEN_OPTS"
|
|
223
180
|
|
|
224
181
|
# For Cygwin, switch project base directory path to Windows format before
|
|
225
|
-
# executing Maven
|
|
226
|
-
if $cygwin; then
|
|
182
|
+
# executing Maven otherwise this will cause Maven not to consider it.
|
|
183
|
+
if $cygwin ; then
|
|
227
184
|
[ -n "$MAVEN_PROJECTBASEDIR" ] &&
|
|
228
185
|
MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
|
|
229
186
|
fi
|
|
@@ -238,7 +195,9 @@ export MAVEN_CMD_LINE_ARGS
|
|
|
238
195
|
exec "$JAVACMD" \
|
|
239
196
|
$MAVEN_OPTS \
|
|
240
197
|
$MAVEN_DEBUG_OPTS \
|
|
241
|
-
-classpath "${
|
|
242
|
-
"-Dclassworlds.conf=${
|
|
243
|
-
"-Dmaven.home=${
|
|
244
|
-
|
|
198
|
+
-classpath "${CLASSWORLDS_JAR}" \
|
|
199
|
+
"-Dclassworlds.conf=${MAVEN_HOME}/bin/m2.conf" \
|
|
200
|
+
"-Dmaven.home=${MAVEN_HOME}" \
|
|
201
|
+
"-Dlibrary.jansi.path=${MAVEN_HOME}/lib/jansi-native" \
|
|
202
|
+
"-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
|
|
203
|
+
${CLASSWORLDS_LAUNCHER} ${MAVEN_ARGS} "$@"
|