use of org.eclipse.tycho.repository.publishing.WriteSessionContext.ClassifierAndExtension in project tycho by eclipse.
the class ModuleArtifactRepository method createArtifactDescriptor.
public IArtifactDescriptor createArtifactDescriptor(IArtifactKey key, WriteSessionContext writeSession) {
ClassifierAndExtension additionalProperties = writeSession.getClassifierAndExtensionForNewKey(key);
MavenRepositoryCoordinates mavenCoordinates = new MavenRepositoryCoordinates(moduleGAV, additionalProperties.classifier, additionalProperties.fileExtension);
return new ModuleArtifactDescriptor(key, mavenCoordinates);
}
Aggregations