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

Build fails when using -Pscala-2.12 #422

Open
mvanderlee opened this issue Sep 27, 2023 · 1 comment
Open

Build fails when using -Pscala-2.12 #422

mvanderlee opened this issue Sep 27, 2023 · 1 comment

Comments

@mvanderlee
Copy link
Contributor

mvanderlee commented Sep 27, 2023

Build fails on assembly module due to scala-2.11 dependencies.
I think this is due to the ${scala.binary.version} being used in the modules sections, and it's populated before the profiles are loaded.
When I ensure that scala-2.12 is the default in the <properties> then it works fine.

@javiroman
Copy link
Member

The same problem, more information about the error here:

$ podman run --rm -it -v $(pwd):/workspace -v $HOME/.m2:/root/.m2 livy-ci mvn clean package -Pscala-2.12 -Pspark3 -DskipTests -DskipITs -Dmaven.javadoc.skip=true

[...]
[INFO] livy-server ........................................ SUCCESS [ 37.986 s]                                                                   
[INFO] livy-assembly ...................................... FAILURE [  0.065 s]                                                                   
[INFO] livy-client-http ................................... SKIPPED                                                                               
[INFO] livy-scala-api-parent .............................. SKIPPED                                                                               
[INFO] livy-scala-api_2.12 ................................ SKIPPED                                                                               
[INFO] livy-integration-test .............................. SKIPPED                                                                               
[INFO] livy-coverage-report ............................... SKIPPED                                                                               
[INFO] livy-examples ...................................... SKIPPED                                                                               
[INFO] livy-python-api .................................... SKIPPED                                                                               
[INFO] ------------------------------------------------------------------------                                                                   
[INFO] BUILD FAILURE                                                                                                                              
[INFO] ------------------------------------------------------------------------                                                                   
[INFO] Total time: 01:34 min                                                                                                                      
[INFO] Finished at: 2024-04-20T08:44:36+00:00                                                                                                     
[INFO] Final Memory: 212M/3879M                                                                                                                   
[INFO] ------------------------------------------------------------------------                                                                   
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (process-resource-bundles) on project livy-assem
bly: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:                                                     
[ERROR] ----------                                                                                                                                
[ERROR] 1) org.apache.livy:livy-core_2.11:jar:0.9.0-incubating-SNAPSHOT  
[...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants