Christoph Läubrich created MARCHETYPES-88: ---------------------------------------------
Summary: maven-archetype-plugin generates outdated and possibly broken code Key: MARCHETYPES-88 URL: https://issues.apache.org/jira/browse/MARCHETYPES-88 Project: Maven Archetype Bundles Issue Type: Bug Reporter: Christoph Läubrich Attachments: my-plugin.zip I use https://maven.apache.org/archetypes/maven-archetype-plugin/ and it seem to create some older plugin versions and if I build the project it even fails {code}[INFO] Scanning for projects... [INFO] [INFO] -----------------------< test.plugin:my-plugin >------------------------ [INFO] Building my-plugin Maven Plugin 1.0-SNAPSHOT [INFO] from pom.xml [INFO] ----------------------------[ maven-plugin ]---------------------------- [INFO] [INFO] --- clean:3.4.0:clean (default-clean) @ my-plugin --- [INFO] [INFO] --- plugin:3.13.1:helpmojo (help-goal) @ my-plugin --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.143 s [INFO] Finished at: 2025-02-22T10:33:06+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.13.1:helpmojo (help-goal) on project my-plugin: You need to specify a goalPrefix as it can not be correctly computed -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{code} Example generated attached here. I think goalPrefix must actually become a required parameter to supply. -- This message was sent by Atlassian Jira (v8.20.10#820010)