[
https://issues.apache.org/jira/browse/HADOOP-19790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18054142#comment-18054142
]
Edward Capriolo edited comment on HADOOP-19790 at 1/24/26 8:01 PM:
-------------------------------------------------------------------
[~anujmodi] I wasn't aware the plugin wasn't portable till unlder maven until
this thread. I read the discussion in the ticket I reference plugin versions +
maven versions. I was not clear on that. Right now we are not specifing a
version of the plugin, however you can experiment with different numbers:
[https://github.com/ascopes/protobuf-maven-plugin/tags]
It wouldn't be bad if we found a versions that works with older maven.
In any case, sorry to mess up your workflow and cause you to have to update. My
motivation for doing this is that the xolstice plugin is EOL and the entire
build doesn't work on alpine (alpine doesnt ship protobuf 2.5.0 since it is
vulnerable), so my goal was to make the build more reliable in more
environments. But your the broken egg in the omelet it seems.
was (Author: appodictic):
[~anujmodi] I wasn't aware the plugin wasn't portable till this thread. I read
the discussion there was a lot of back and forth with new versions of the
plugin might work with older versions of maven. I was not clear on that. Right
now we are not specifing a version of the plugin.
However you can experiment with different numbers:
[https://github.com/ascopes/protobuf-maven-plugin/tags]
It wouldn't be bad if we found a versions that works with older maven.
In any case, sorry to mess up your workflow and cause you to have to update. My
motivation for doing this is that the xolstice plugin is EOL and the entire
build doesn't work on alpine (alpine doesnt ship protobuf 2.5.0 since it is
vulnerable), so my goal was to make the build more reliable in more
environments.
> 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
> 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]