{
mavenProjectBuilder = (MavenProjectBuilder) container.lookup( MavenProjectBuilder.ROLE );
}
catch ( ComponentLookupException e )
{
throw new InitializationException( "Failed to lookup project builder after it was NOT injected via component requirement." );
}
}
if ( modelInterpolator == null )
{
warnOfIncompleteComponentConfiguration( ModelInterpolator.ROLE );
try
{
modelInterpolator = (ModelInterpolator) container.lookup( ModelInterpolator.ROLE );
}
catch ( ComponentLookupException e )
{
throw new InitializationException( "Failed to lookup model interpolator after it was NOT injected via component requirement." );
}
}
if ( configInterpolator == null )
{
warnOfIncompleteComponentConfiguration( ConfigurationInterpolator.ROLE );
try
{
configInterpolator = (ConfigurationInterpolator) container.lookup( ConfigurationInterpolator.ROLE );
}
catch ( ComponentLookupException e )
{
throw new InitializationException( "Failed to lookup plugin-configuration interpolator after it was NOT injected via component requirement." );
}
}
}