You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@livy.apache.org by "mvanderlee (via GitHub)" <gi...@apache.org> on 2023/09/27 20:40:16 UTC

[GitHub] [incubator-livy] mvanderlee opened a new issue, #422: Build fails when using -Pscala-2.12

mvanderlee opened a new issue, #422:
URL: https://github.com/apache/incubator-livy/issues/422

   Build fails on assembly 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. 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@livy.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Build fails when using -Pscala-2.12 [incubator-livy]

Posted by "javiroman (via GitHub)" <gi...@apache.org>.
javiroman commented on issue #422:
URL: https://github.com/apache/incubator-livy/issues/422#issuecomment-2067606661

   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  
   [...]
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@livy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org