maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MNG-4665) Missing component test class from maven-it-plugin-class-loader project?
Date Wed, 05 May 2010 11:17:12 GMT

     [ http://jira.codehaus.org/browse/MNG-4665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Bentmann closed MNG-4665.
----------------------------------

    Resolution: Fixed
      Assignee: Benjamin Bentmann

Applied in [r941249|http://svn.apache.org/viewvc?view=revision&revision=941249]. Having
an actual type for the role hint was simply not required before but such an unusual setup
also isn't topic of the tests.

> Missing component test class from maven-it-plugin-class-loader project?
> -----------------------------------------------------------------------
>
>                 Key: MNG-4665
>                 URL: http://jira.codehaus.org/browse/MNG-4665
>             Project: Maven 2 & 3
>          Issue Type: Task
>          Components: Integration Tests
>    Affects Versions: 3.0-beta-1
>            Reporter: Stuart McCulloch
>            Assignee: Benjamin Bentmann
>         Attachments: MAVEN_3_IT_PATCHES_FOR_GUICE.txt
>
>
> 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).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message