gnodet commented on PR #165: URL: https://github.com/apache/maven-plugin-tools/pull/165#issuecomment-1293159998
> @gnodet Any idea how to make this work? I have this exception: ``` INFO] [INFO] --- maven-plugin-plugin:3.7.1-SNAPSHOT:helpmojo (generated-helpmojo) @ maven-plugin-plugin --- [INFO] Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/maven/plugins/maven-plugin-plugin/3.7.1-SNAPSHOT/maven-plugin-plugin-3.7.1-20221026.201321-13.pom [INFO] Downloaded from apache.snapshots: https://repository.apache.org/snapshots/org/apache/maven/plugins/maven-plugin-plugin/3.7.1-SNAPSHOT/maven-plugin-plugin-3.7.1-20221026.201321-13.pom (11 kB at 72 kB/s) [WARN] The POM for org.apache.maven.plugins:maven-plugin-plugin:jar:3.7.1-20221026.201321-13 is invalid, transitive dependencies (if any) will not be available, enable verbose output (-X) for more details [WARN] Error injecting: org.apache.maven.plugin.plugin.HelpGeneratorMojo java.lang.NoClassDefFoundError: org/apache/maven/tools/plugin/generator/GeneratorException at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) ``` I don't think we can have the plugin being packaged with itself. Maven has to load the jar, but it has not been built yet. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org