mirror of https://github.com/apache/maven.git
o Reverted r806709, it is the very purpose of this method to be independent of the role implemented by a mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806850 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
79d66f164c
commit
0acb96af27
|
@ -462,8 +462,7 @@ public class DefaultMavenPluginManager
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// currently all mojo even reportMojo have the same role Mojo.ROLE
|
mojo = container.lookup( mojoInterface, mojoDescriptor.getRoleHint() );
|
||||||
mojo = (T) container.lookup( Mojo.ROLE, mojoDescriptor.getRoleHint() );
|
|
||||||
}
|
}
|
||||||
catch ( ComponentLookupException e )
|
catch ( ComponentLookupException e )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue