Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Unable to build from source due to shutdown of scala-tools.org repository #1200

Open
laneser opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@laneser
Copy link
Contributor

laneser commented Jan 17, 2025

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Go to src/scala, run mvn clean package
    shows
[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.microsoft.scala:microsoft-spark-3-3_2.12:jar:2.1.1 [WARNING] 'version' contains an expression but should be a constant. @ com.microsoft.scala:microsoft-spark:${microsoft-spark.version}, /com.docker.devenvironments.code/spark/src/scala/pom.xml, line 7, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------< com.microsoft.scala:microsoft-spark-3-3_2.12 >------------ [INFO] Building microsoft-spark-3-3_2.12 2.1.1 [INFO] --------------------------------[ jar ]--------------------------------- Downloading from scala: [http://scala-tools.org/repo-releases/org/scala-tools/maven-scala-plugin/2.15.2/maven-scala-plugin-2.15.2.pom](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html) [WARNING] Checksum validation failed, expected <!doctype but is aabcfdcaecafc1eb24d379b03d62059fb6a6d18f from scala for http://scala-tools.org/repo-releases/org/scala-tools/maven-scala-plugin/2.15.2/maven-scala-plugin-2.15.2.pom [WARNING] Could not validate integrity of download from http://scala-tools.org/repo-releases/org/scala-tools/maven-scala-plugin/2.15.2/maven-scala-plugin-2.15.2.pom: Checksum validation failed, expected <!doctype but is aabcfdcaecafc1eb24d379b03d62059fb6a6d18f [WARNING] Checksum validation failed, expected <!doctype but is aabcfdcaecafc1eb24d379b03d62059fb6a6d18f from scala for http://scala-tools.org/repo-releases/org/scala-tools/maven-scala-plugin/2.15.2/maven-scala-plugin-2.15.2.pom Downloaded from scala: http://scala-tools.org/repo-releases/org/scala-tools/maven-scala-plugin/2.15.2/maven-scala-plugin-2.15.2.pom (206 kB at 63 kB/s) [WARNING] The POM for org.scala-tools:maven-scala-plugin:jar:2.15.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.102 s [INFO] Finished at: 2025-01-16T07:58:20Z [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.scala-tools:maven-scala-plugin:2.15.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.scala-tools:maven-scala-plugin:jar:2.15.2: 1 problem was encountered while building the effective model [ERROR] [FATAL] Non-parseable POM /root/.m2/repository/org/scala-tools/maven-scala-plugin/2.15.2/maven-scala-plugin-2.15.2.pom: unexpected markup <!d (position: START_DOCUMENT seen <!d... @1:3) @ line 1, column 3 [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] [http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)

If you think the bug depends on external factors (e.g., dataset), please provide us with a minimal reproducible example that consists of the following items:

  • a minimal dataset, necessary to reproduce the error
  • the minimal runnable code necessary to reproduce the error, which can be run on the given dataset
  • the necessary information on any used packages, .NET runtime version, and system it is run on
  • in the case of random processes, a seed for reproducibility

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant