File tree Expand file tree Collapse file tree 3 files changed +10
-16
lines changed
Expand file tree Collapse file tree 3 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ install_mvn() {
125125 fi
126126 if [ $( version $MVN_DETECTED_VERSION ) -ne $( version $MVN_VERSION ) ]; then
127127 local MVN_TARBALL=" apache-maven-${MVN_VERSION} -bin.tar.gz"
128- local FILE_PATH=" maven/maven-3 /${MVN_VERSION} /binaries/${MVN_TARBALL} "
128+ local FILE_PATH=" maven/maven-${MVN_VERSION : 0 : 1} /${MVN_VERSION} /binaries/${MVN_TARBALL} "
129129 local APACHE_MIRROR=${APACHE_MIRROR:- ' https://www.apache.org/dyn/closer.lua' }
130130 local MIRROR_URL_QUERY=" ?action=download"
131131
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ HADOOP_HIVE_PROFILES=(
3838)
3939
4040MVN_EXEC_PLUGIN_VERSION=$( build/mvn help:evaluate \
41- -Dexpression=exec-maven-plugin.version -q -DforceStdout | grep -E " [0-9]+\.[0-9]+\.[0-9]+" )
41+ -Dexpression=exec-maven-plugin.version -q -DforceStdout | grep -o - E " [0-9]+\.[0-9]+\.[0-9]+" )
4242
4343# We'll switch the version to a temp. one, publish POMs using that new version, then switch back to
4444# the old version. We need to do this because the `dependency:build-classpath` task needs to
@@ -52,9 +52,9 @@ OLD_VERSION=$($MVN -q \
5252 --non-recursive \
5353 org.codehaus.mojo:exec-maven-plugin:${MVN_EXEC_PLUGIN_VERSION} :exec | grep -E ' [0-9]+\.[0-9]+\.[0-9]+' )
5454# dependency:get for guava and jetty-io are workaround for SPARK-37302.
55- GUAVA_VERSION=$( build/mvn help:evaluate -Dexpression=guava.version -q -DforceStdout | grep -E " ^ [0-9\. ]+" )
55+ GUAVA_VERSION=$( build/mvn help:evaluate -Dexpression=guava.version -q -DforceStdout | grep -o - E " [0-9][0-9a-zA-Z\.\- ]+" )
5656build/mvn dependency:get -Dartifact=com.google.guava:guava:${GUAVA_VERSION} -q
57- JETTY_VERSION=$( build/mvn help:evaluate -Dexpression=jetty.version -q -DforceStdout | grep -E " [0-9]+\.[0-9]+\.[0-9]+" )
57+ JETTY_VERSION=$( build/mvn help:evaluate -Dexpression=jetty.version -q -DforceStdout | grep -o - E " [0-9]+\.[0-9]+\.[0-9]+" )
5858build/mvn dependency:get -Dartifact=org.eclipse.jetty:jetty-io:${JETTY_VERSION} -q
5959if [ $? != 0 ]; then
6060 echo -e " Error while getting version string from Maven:\n$OLD_VERSION "
Original file line number Diff line number Diff line change 117117 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
118118 <java .version>17</java .version>
119119 <maven .compiler.release>${java.version} </maven .compiler.release>
120- <maven .version>3.9.10 </maven .version>
120+ <maven .version>4.0.0-rc-4 </maven .version>
121121 <exec-maven-plugin .version>3.5.0</exec-maven-plugin .version>
122122 <sbt .project.name>spark</sbt .project.name>
123123 <asm .version>9.8</asm .version>
29532953 <plugin >
29542954 <groupId >org.apache.maven.plugins</groupId >
29552955 <artifactId >maven-clean-plugin</artifactId >
2956- <version >3.4.1 </version >
2956+ <version >3.5.0 </version >
29572957 <configuration >
29582958 <filesets >
29592959 <fileset >
34753475 -->
34763476 <profile >
34773477 <id >snapshots-and-staging</id >
3478- <properties >
3479- <!-- override point for ASF staging/snapshot repos -->
3480- <asf .staging>https://repository.apache.org/content/groups/staging/</asf .staging>
3481- <asf .snapshots>https://repository.apache.org/content/repositories/snapshots/</asf .snapshots>
3482- </properties >
3483-
34843478 <pluginRepositories >
34853479 <pluginRepository >
34863480 <id >ASF Staging</id >
3487- <url >${asf. staging} </url >
3481+ <url >https://repository.apache.org/content/groups/ staging/ </url >
34883482 </pluginRepository >
34893483 <pluginRepository >
34903484 <id >ASF Snapshots</id >
3491- <url >${asf. snapshots} </url >
3485+ <url >https://repository.apache.org/content/repositories/ snapshots/ </url >
34923486 <snapshots >
34933487 <enabled >true</enabled >
34943488 </snapshots >
35013495 <repositories >
35023496 <repository >
35033497 <id >ASF Staging</id >
3504- <url >${asf. staging} </url >
3498+ <url >https://repository.apache.org/content/groups/ staging/ </url >
35053499 </repository >
35063500 <repository >
35073501 <id >ASF Snapshots</id >
3508- <url >${asf. snapshots} </url >
3502+ <url >https://repository.apache.org/content/repositories/ snapshots/ </url >
35093503 <snapshots >
35103504 <enabled >true</enabled >
35113505 </snapshots >
You can’t perform that action at this time.
0 commit comments