public MavenPublication create(final String name) {
Module module = dependencyMetaDataProvider.getModule();
MavenProjectIdentity projectIdentity = new DefaultMavenProjectIdentity(module.getGroup(), module.getName(), module.getVersion());
NotationParser<Object, MavenArtifact> artifactNotationParser = new MavenArtifactNotationParserFactory(instantiator, fileResolver).create();
return instantiator.newInstance(
DefaultMavenPublication.class,
name, projectIdentity, artifactNotationParser, instantiator, projectDependencyResolver
);