Publish BOM (as pom.xml) using gradle plugin java-platform
问题 I am setting up a project specific BOM that will "inherit" definitions from other BOMs (available as pom.xml) and also define own managed dependendies. I tried the following (as stated in the java-platform docs) in my build.gradle.kts : plugins { `java-platform` `maven-publish` } dependencies { constraints { api(platform("org.camunda.bpm:camunda-bom:${Versions.camunda}")) } } publishing { publications { create<MavenPublication>("camunda-bom") { from(components["javaPlatform"]) } } } But when