dongjoon-hyun commented on a change in pull request #28532:
URL: https://github.com/apache/spark/pull/28532#discussion_r425496798
##########
File path: dev/test-dependencies.sh
##########
@@ -47,7 +47,7 @@ OLD_VERSION=$($MVN -q \
-Dexec.executable="echo" \
-Dexec.args='${project.version}' \
--non-recursive \
- org.codehaus.mojo:exec-maven-plugin:1.6.0:exec)
+ org.codehaus.mojo:exec-maven-plugin:1.6.0:exec | grep -e
'[0-9]\.[0-9]\.[0-9]')
Review comment:
Sorry for not being clear. In the script, `OLD_VERSION` became `Falling
back to archive.apache.org to download Maven 3.1.0-SNAPSHOT` instead of
`3.1.0-SNAPSHOT` if `build/mvn` did fallback.
Then, `pom.xml` file is corrupted like the following at the end and the exit
code become `1` instead of `0`.
```
- <version>3.1.0-SNAPSHOT</version>
+ <version>Falling</version>
```
This PR will remove the `Falling back to archive.apache.org to download
Maven` .
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]