Uploaded image for project: 'Maven Project Info Reports Plugin'
  1. Maven Project Info Reports Plugin
  2. MPIR-364

Update plexus-container-default to 1.7.1 causes tests with maven-plugin-testing-harness 1.3 to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      When testing update to Doxia 1.7/1.8 i got issue.with Plexus

      To reproduceĀ error - changeĀ version of plexus-container-default to 1.7.1

      Running org.apache.maven.report.projectinfo.CiManagementReportTest
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.955 sec <<< FAILURE! - in org.apache.maven.report.projectinfo.CiManagementReportTest
      testReport(org.apache.maven.report.projectinfo.CiManagementReportTest) Time elapsed: 0.684 sec <<< ERROR!
      org.codehaus.plexus.component.repository.exception.ComponentLookupException:
      Component descriptor cannot be found in the component repository
       role: org.apache.maven.plugin.Mojo
       roleHint: org.apache.maven.plugins:maven-project-info-reports-plugin:2.10-SNAPSHOT:cim
      classRealm: none specified
       at org.codehaus.plexus.DefaultComponentRegistry.getComponentManager(DefaultComponentRegistry.java:435)
       at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:353)
       at org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:178)
       at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:378)
       at org.codehaus.plexus.PlexusTestCase.lookup(PlexusTestCase.java:205)
       at org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:203)
       at org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:133)
       at org.apache.maven.report.projectinfo.AbstractProjectInfoTestCase.createReportMojo(AbstractProjectInfoTestCase.java:188)
       at org.apache.maven.report.projectinfo.AbstractProjectInfoTestCase.generateReport(AbstractProjectInfoTestCase.java:181)
       at org.apache.maven.report.projectinfo.CiManagementReportTest.testReport(CiManagementReportTest.java:51)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              slachiewicz Sylwester Lachiewicz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: