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

ASF GitHub Bot commented on HADOOP-19790:
-----------------------------------------

anujmodi2021 opened a new pull request, #8214:
URL: https://github.com/apache/hadoop/pull/8214

   ### Description of PR
   Some recent updated done in certain dependencies have caused build failure 
on older maven versions.
   For details refer to JIRA: https://issues.apache.org/jira/browse/HADOOP-19790
   
   With the other upgrades going in 3.5.0, we propose to upgrade the minimum 
required maven version to the latest stable version i.e. 
[3.9.12](https://maven.apache.org/docs/3.9.12/release-notes.html)
   
   ### How was this patch tested?
   Negative test: Build failed when attempted with maven version lesser than 
required.
   
   `[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce (clean) on project 
hadoop-main: 
   [ERROR] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion 
failed with message:
   [ERROR] Detected Maven Version: 3.9.6 is not in the allowed range [3.9.12,).
   `
   
   When attempted buid after upgrading maven to 3.9.12, build was successful
   
   ### AI Tooling
   No AI tools used




> Build Failing on Trunk
> ----------------------
>
>                 Key: HADOOP-19790
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19790
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.5.0
>            Reporter: Anuj Modi
>            Assignee: Anuj Modi
>            Priority: Blocker
>
> While trying to build at hadoop level, build is failing on trunk.
> Commit: 
> [https://github.com/apache/hadoop/commit/b3ce394e5aba3cdaf326b87e7cfb6be898ddd48d]
> Error:
> [ERROR] Failed to execute goal 
> io.github.ascopes:protobuf-maven-plugin:1.2.0:generate (default) on project 
> hadoop-yarn-csi: Execution default of goal 
> io.github.ascopes:protobuf-maven-plugin:1.2.0:generate failed: Unable to load 
> the mojo 'generate' (or one of its required components) from the plugin 
> 'io.github.ascopes:protobuf-maven-plugin:1.2.0': 
> com.google.inject.ProvisionException: Unable to provision, see the following 
> errors:
> [ERROR] 
> [ERROR] 1) No implementation for 
> io.github.ascopes.protobufmavenplugin.generate.SourceCodeGenerator was bound.
> [ERROR]   while locating 
> io.github.ascopes.protobufmavenplugin.MainGenerateMojo
> [ERROR]   at ClassRealm[plugin>io.github.ascopes:protobuf-maven-plugin:1.2.0, 
> parent: jdk.internal.loader.ClassLoaders$AppClassLoader@30946e09] (via 
> modules: org.eclipse.sisu.wire.WireModule -> 
> org.eclipse.sisu.plexus.PlexusBindingModule)
> [ERROR]   while locating org.apache.maven.plugin.Mojo annotated with 
> @com.google.inject.name.Named(value="io.github.ascopes:protobuf-maven-plugin:1.2.0:generate")
> [ERROR] 
> [ERROR] 1 error
> [ERROR]       role: org.apache.maven.plugin.Mojo
> [ERROR]   roleHint: io.github.ascopes:protobuf-maven-plugin:1.2.0:generate



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to