mirror of https://github.com/apache/maven.git
[MNG-4162] all mojo (even report mojo) have the same/unique role : Mojo.ROLE
Issue id: 4162 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@806709 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4f49a5c76e
commit
79d66f164c
|
@ -462,7 +462,8 @@ public class DefaultMavenPluginManager
|
|||
|
||||
try
|
||||
{
|
||||
mojo = container.lookup( mojoInterface, mojoDescriptor.getRoleHint() );
|
||||
// currently all mojo even reportMojo have the same role Mojo.ROLE
|
||||
mojo = (T) container.lookup( Mojo.ROLE, mojoDescriptor.getRoleHint() );
|
||||
}
|
||||
catch ( ComponentLookupException e )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue