You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thank you for the 2.2.0 release!
Just wanted to give a heads-up that using the 2.2.0 plugin on GitHub actions will fail with the default Maven setup offered currently by the latest setup-java@v4, as the Maven version is 3.8.8, and the plugin really requires Maven 3.9.0.
Running the plugin in this environment will give the following error:
Error: Failed to execute goal org.patrodyne.jvnet:hisrc-higherjaxb-maven-plugin:2.2.0:generate (default)
on project myproject: Execution default of goal org.patrodyne.jvnet:hisrc-higherjaxb-maven-plugin:2.2.0:generate
failed: A required class was missing while executing org.patrodyne.jvnet:hisrc-higherjaxb-maven-plugin:2.2.0:generate:
org/eclipse/aether/util/filter/DependencyFilterUtils
The DependencyFilterUtils class can be found in maven-resolver-util, and adding it as a declared dependency to the plugin will enable the execution to complete successfully:
Earlier versions will also work. I tested with 1.6.2.
They seem unwilling to upgrade and/or add any configuration support to set Maven version in the official setup-java action: actions/setup-java#457 and instead refer to community actions for providing specific Maven versions on GitHub Actions.
The text was updated successfully, but these errors were encountered:
Just curious, but are you using any Maven Plugin API version 3.9.0-specific features, or would it be possible to downgrade to v3.8.8 to make the plugin work out-of-the-box on GitHub actions?
Yes, since v2.2.0, the HiSrc HigherJAXB Maven Plugins have been refactored to eliminate the deprecated maven-compat dependency in favor of the Maven Resolver/Aether dependencies, Issue patrodyne/hisrc-basicjaxb#17 and Issue #2.
Hello, thank you for the 2.2.0 release!
Just wanted to give a heads-up that using the 2.2.0 plugin on GitHub actions will fail with the default Maven setup offered currently by the latest setup-java@v4, as the Maven version is 3.8.8, and the plugin really requires Maven 3.9.0.
Running the plugin in this environment will give the following error:
The
DependencyFilterUtils
class can be found in maven-resolver-util, and adding it as a declared dependency to the plugin will enable the execution to complete successfully:Earlier versions will also work. I tested with 1.6.2.
They seem unwilling to upgrade and/or add any configuration support to set Maven version in the official setup-java action: actions/setup-java#457 and instead refer to community actions for providing specific Maven versions on GitHub Actions.
The text was updated successfully, but these errors were encountered: