Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-943

Breaks Maven core integration tests

    XMLWordPrintableJSON

    Details

      Description

      Copying @mosipov's comment from mailing list on HEAD with Maven core ITs:

      https://markmail.org/message/ggcioupa6yaet4xe#query:+page:1+mid:noyp5d3iyclrfgyp+state:results

      [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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                elharo Elliotte Rusty Harold
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: