assertEquals( "org.codehaus.plexus.archiver.Archiver", cr.getRole() );
assertEquals( "jar", cr.getRoleHint() );
assertEquals( "jarArchiver", cr.getFieldName() );
ComponentDependency cd = pd.getDependencies().get( 0 );
assertEquals( "org.apache.maven", cd.getGroupId() );
assertEquals( "maven-plugin-api", cd.getArtifactId() );
assertEquals( "2.0.6", cd.getVersion() );
assertEquals( "jar", cd.getType() );
md = pd.getMojos().get( 1 );
assertEquals( "war", md.getGoal() );
assertEquals( null, md.getDependencyResolutionRequired() );