[ https://issues.apache.org/jira/browse/MNG-7055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17502262#comment-17502262 ]
Tamás Cservenák commented on MNG-7055: -------------------------------------- I would try to backport it, it's a real shame that two of most important plugins (install and deploy) were NEVER released for maven 3 as 3.x.x > Using MINSTALL/DEPLOY 3.0.0-M1+ does not write plugin information into > maven-metadata.xml > ----------------------------------------------------------------------------------------- > > Key: MNG-7055 > URL: https://issues.apache.org/jira/browse/MNG-7055 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories, Plugins and Lifecycle > Reporter: Elliotte Rusty Harold > Assignee: Tamás Cservenák > Priority: Blocker > Fix For: 4.0.0, 4.0.0-alpha-1, 3.9.0-candidate > > > Copying [~michael-o]'s comment from mailing list on HEAD with Maven core ITs: > https://markmail.org/message/ggcioupa6yaet4xe#query:+page:1+mid:noyp5d3iyclrfgyp+state:results > {noformat}[ERROR] Tests run: 834, Failures: 0, Errors: 1, Skipped: 0, Time > elapsed: 287.261 s <<< FAILURE! - in org.apache.maven.it.IntegrationTestSuite > [ERROR] > testitMNG3372(org.apache.maven.it.MavenITmng3372DirectInvocationOfPluginsTest) > Time elapsed: 1.5 s <<< ERROR! > org.apache.maven.it.VerificationException: > Exit code was non-zero: 1; command line and log = > /var/osipovmi/Projekte/maven-integration-testing/core-it-suite/target/apache-maven/bin/mvn > --global-settings > /var/osipovmi/Projekte/maven-integration-testing/core-it-suite/target/test-classes/settings.xml > -s > /var/osipovmi/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-3372/direct-using-prefix/settings.xml > -e --batch-mode > -Dmaven.repo.local=/net/home/osipovmi/var/Projekte/maven-integration-testing/repo > mng3372:test > [INFO] Error stacktraces are turned on. > [INFO] Scanning for projects... > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for > org.apache.maven.its.mng3372:project:jar:1.0-SNAPSHOT > [WARNING] Version not locked for default bindings plugins [maven-clean-plugin, > maven-resources-plugin, maven-jar-plugin, maven-compiler-plugin, > maven-surefire-plugin, maven-install-plugin, maven-deploy-plugin, > maven-site-plugin], you should define versions in pluginManagement section of > your pom.xml or parent @ line 6, column 14 > [WARNING] > [WARNING] It is highly recommended to fix these problems because they > threaten the stability of your build. > [WARNING] > [WARNING] For this reason, future Maven versions might no longer support > building such malformed projects. > [WARNING] > [INFO] Downloading from central: > file:target/null/org/apache/maven/its/mng3372/maven-metadata.xml > [INFO] Downloading from central: > file:target/null/org/apache/maven/plugins/maven-metadata.xml > [INFO] Downloading from central: > file:target/null/org/codehaus/mojo/maven-metadata.xml > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 0.056 s > [INFO] Finished at: 2020-06-04T22:03:01+02:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] No plugin found for prefix 'mng3372' in the current project and in the > plugin groups [org.apache.maven.its.mng3372, org.apache.maven.plugins, > org.codehaus.mojo] available from the repositories [local > (/net/home/osipovmi/var/Projekte/maven-integration-testing/repo), central > (file:target/null)] -> [Help 1] > org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin > found > for prefix 'mng3372' in the current project and in the plugin groups > [org.apache.maven.its.mng3372, org.apache.maven.plugins, org.codehaus.mojo] > available from the repositories [local > (/net/home/osipovmi/var/Projekte/maven-integration-testing/repo), central > (file:target/null)] > at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:98) > at > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:269) > at > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescript{noformat} -- This message was sent by Atlassian Jira (v8.20.1#820001)