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
mixin-maven-plugin breaks with apache maven 3.9 and 4.0-alpha. This issue could be resolved by adding plexus-utils dependency in the plugin.
The error during build of mixin-example is:
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/plexus/util/StringUtils
at com.github.odavid.maven.plugins.MixinModelCache.checkMixinVersion(MixinModelCache.java:96)
at com.github.odavid.maven.plugins.MixinModelCache.getModel(MixinModelCache.java:46)
at com.github.odavid.maven.plugins.MixinsProjectLoader.fillMixins(MixinsProjectLoader.java:231)
at com.github.odavid.maven.plugins.MixinsProjectLoader.mergeMixins(MixinsProjectLoader.java:90)
at com.github.odavid.maven.plugins.MixinMavenLifecycleParticipant.afterProjectsRead(MixinMavenLifecycleParticipant.java:72)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:221)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:171)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:99)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:820)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:269)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.util.StringUtils
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
... 19 more
The text was updated successfully, but these errors were encountered:
spachore
added a commit
to spachore/maven-plugins
that referenced
this issue
Feb 4, 2023
Hello,
mixin-maven-plugin
breaks withapache maven 3.9
and4.0-alpha
. This issue could be resolved by addingplexus-utils
dependency in the plugin.The error during build of mixin-example is:
The text was updated successfully, but these errors were encountered: