this.fileResolver = fileResolver;
}
public IvyPublication create(String name) {
Module module = dependencyMetaDataProvider.getModule();
IvyPublicationIdentity publicationIdentity = new DefaultIvyPublicationIdentity(module.getGroup(), module.getName(), module.getVersion());
NotationParser<Object, IvyArtifact> notationParser = new IvyArtifactNotationParserFactory(instantiator, fileResolver, publicationIdentity).create();
return instantiator.newInstance(
DefaultIvyPublication.class,
name, instantiator, publicationIdentity, notationParser, projectDependencyResolver
);