Fix bug with artifact id resolution.

This commit is contained in:
Daniel Scalzi
2020-01-18 12:08:33 -05:00
parent aeef30e3c8
commit 083c878a2d
4 changed files with 10 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ export abstract class ModuleStructure extends BaseModelStructure<Module> {
}
protected generateMavenIdentifier(name: string, version: string) {
return `generated.${this.type.toLowerCase()}:${name}-${version}@${TypeMetadata[this.type].defaultExtension}`
return `generated.${this.type.toLowerCase()}:${name}:${version}@${TypeMetadata[this.type].defaultExtension}`
}
protected async abstract getModuleId(name: string, path: string, stats: Stats, buf: Buffer): Promise<string>