Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4665

Missing component test class from maven-it-plugin-class-loader project?

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-beta-1
    • None
    • Integration Tests
    • None
    • Patch

    Description

      When running the Maven3 ITs with the new Guice-Plexus container I see a couple of failures involving the maven-it-plugin-class-loader. This is because the InstanceofMojo declares a requirement with a role of "org.apache.maven.plugin.coreit.Component" and this class is not available in the plugin or any of its dependencies.

      This doesn't cause a problem with Plexus because components are matched using String identities, whereas because Guice is type-safe we automatically detect the missing class during requirement lookup/injection.

      So is this missing role class part of the test? If not then can the class be added (see attached patch).

      Attachments

        1. MAVEN_3_IT_PATCHES_FOR_GUICE.txt
          1 kB
          Stuart McCulloch

        Activity

          People

            bentmann Benjamin Bentmann
            mcculls Stuart McCulloch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: