ENT-11271 Publish dependencies in the maven pom.xml

This commit is contained in:
Arshad Mahmood 2023-12-12 13:24:15 +00:00
parent b375c7da21
commit c94f1d730c
6 changed files with 8 additions and 4 deletions

View File

@ -189,8 +189,8 @@ publishing {
publications { publications {
maven(MavenPublication) { maven(MavenPublication) {
artifactId 'corda-core' artifactId 'corda-core'
artifact(testJar) artifact testJar
artifact(jar) from components.java
} }
} }
} }

View File

@ -93,6 +93,7 @@ publishing {
artifact(buildCordaJAR) { artifact(buildCordaJAR) {
classifier '' classifier ''
} }
from components.java
} }
} }
} }

View File

@ -25,7 +25,8 @@ publishing {
publications { publications {
shadow(MavenPublication) { publication -> shadow(MavenPublication) { publication ->
artifactId 'corda-opentelemetry-driver' artifactId 'corda-opentelemetry-driver'
project.shadow.component(publication) artifact shadowJar
from components.java
} }
} }
} }

View File

@ -75,7 +75,7 @@ publishing {
maven(MavenPublication) { maven(MavenPublication) {
artifactId 'corda-serialization' artifactId 'corda-serialization'
artifact(testJar) artifact(testJar)
artifact(jar) from components.java
} }
} }
} }

View File

@ -72,6 +72,7 @@ publishing {
artifact(buildWebserverJar) { artifact(buildWebserverJar) {
classifier '' classifier ''
} }
from components.java
} }
} }
} }

View File

@ -47,6 +47,7 @@ publishing {
artifact(buildExplorerJAR) { artifact(buildExplorerJAR) {
classifier '' classifier ''
} }
from components.java
} }
} }
} }