if ( extension.getExtensionArtifact() == null )
{
throw new IllegalArgumentException( "Extension artifact is required!" );
}
extensions[i] = new IExtension()
{
public File extension()
{
MavenArtifact a = extension.getExtensionArtifact();
Artifact resolvedArtifact =