ENT-6914 Fix generated pom

This commit is contained in:
Arshad Mahmood 2024-01-22 10:22:08 +00:00
parent 1ff853b421
commit e5355d9e75

View File

@ -44,6 +44,7 @@ tasks.register('buildCordaJAR', FatCapsule) {
dependsOn(nodeProject.tasks.named('jar')) dependsOn(nodeProject.tasks.named('jar'))
applicationClass 'net.corda.node.Corda' applicationClass 'net.corda.node.Corda'
archiveBaseName = 'corda' archiveBaseName = 'corda'
archiveClassifier = ''
archiveVersion = corda_release_version archiveVersion = corda_release_version
archiveName = archiveFileName.get() archiveName = archiveFileName.get()
applicationSource = files( applicationSource = files(
@ -89,10 +90,9 @@ publishing {
publications { publications {
maven(MavenPublication) { maven(MavenPublication) {
artifactId 'corda' artifactId 'corda'
artifact(buildCordaJAR) { artifact(buildCordaJAR)
classifier '' artifact(javadocJar)
} artifact(sourcesJar)
from components.java
} }
} }
} }