[ 
https://issues.apache.org/jira/browse/HIVE-30142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18126092#comment-18126092
 ] 

Ayush Saxena commented on HIVE-30142:
-------------------------------------

Committed to master.
Thanx [~Aggarwal_Raghav] for the contribution!!!

> Upgrade develocity extensions for maven 3.10.0 compatibility
> ------------------------------------------------------------
>
>                 Key: HIVE-30142
>                 URL: https://issues.apache.org/jira/browse/HIVE-30142
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Raghav Aggarwal
>            Assignee: Raghav Aggarwal
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, building the project with Maven 3.10.0 fails during the 
> afterProjectsRead phase.
> _Suspect:_
> Because of 
> [https://maven.apache.org/docs/3.10.0/release-notes.html#new-features-and-improvements]
>  Maven resolver 2.x changes , there are architectural changes in guice 
> dependency injection.
> Upgrading to latest develocity extensions is working.
>  
> ERROR:
> {code:java}
> ❯ mvn clean install -DskipTests -Pitests,dist,errorProne
> [INFO] Loaded 24022 auto-discovered prefixes for remote repository central 
> (prefixes-central.txt)
> [INFO] Scanning for projects...
> [INFO] Loaded 24022 auto-discovered prefixes for remote repository central 
> (prefixes-central.txt)
> [INFO] Loaded 7 auto-discovered prefixes for remote repository shibboleth 
> (prefixes-shibboleth.txt)
> [INFO] Loaded 24022 auto-discovered prefixes for remote repository central 
> (prefixes-central.txt)
> [ERROR] Internal error in Develocity Maven extension: 
> DevelocityLifecycleManager afterProjectsRead
> com.gradle.maven.common.logging.DevelocityException: Internal error in 
> Develocity Maven extension: DevelocityLifecycleManager afterProjectsRead
>     at com.gradle.maven.common.logging.DevelocityException.a (SourceFile:31)
>     at com.gradle.maven.internal.DevelocityLifecycleManager.afterProjectsRead 
> (SourceFile:277)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:229)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:179)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:1017)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:299)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:219)
>     at jdk.internal.reflect.DirectMethodHandleAccessor.invoke 
> (DirectMethodHandleAccessor.java:103)
>     at java.lang.reflect.Method.invoke (Method.java:580)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
> (Launcher.java:255)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:201)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:362)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:314)
> Caused by: com.google.inject.ProvisionException: Unable to provision, see the 
> following errors:1) [Guice/NullInjectedIntoNonNullable]: null returned by 
> binding at LocatorWiring
>  but the 2nd parameter pluginDescriptorCache of 
> com.gradle.maven.internal.b.<init>(SourceFile:34) is not @Nullable
>   at LocatorWiring
>   at com.gradle.maven.internal.b.<init>(SourceFile:34)
>       \_ for 2nd parameter pluginDescriptorCache
>   while locating com.gradle.maven.internal.b
>   while locating com.gradle.develocity.agent.maven.a.a.a annotated with 
> @Named("com.gradle.maven.internal.b")Learn more:
>   https://github.com/google/guice/wiki/NULL_INJECTED_INTO_NON_NULLABLE {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to