Zoltan Chovan created KUDU-3657: ----------------------------------- Summary: KUDU-3610 broke Java publishing Key: KUDU-3657 URL: https://issues.apache.org/jira/browse/KUDU-3657 Project: Kudu Issue Type: Bug Reporter: Zoltan Chovan Assignee: Zoltan Chovan
KUDU-3610 (Merged as 9befb11) has fixed the POM generation, however it seems to have broken the artifact publishing. When running the `publishToMavenLocal` task, it fails with the following error: {code:java} ./gradlew publishToMavenLocal > Task :kudu-jepsen:generatePomFileForMavenPublication FAILED > Task :kudu-subprocess:generatePomFileForMavenPublication FAILED > Task :kudu-hive:generatePomFileForMavenPublication FAILED > Task :kudu-test-utils:generatePomFileForMavenPublication FAILED > Task :kudu-spark-tools:generatePomFileForMavenPublication FAILED > Task :kudu-backup:generatePomFileForMavenPublication FAILEDFAILURE: Build > completed with 6 failures.1: Task failed with an exception. ----------- * Where: Script '/Users/zchovan/CLionProjects/kudu/java/gradle/publishing.gradle' line: 74* What went wrong: Execution failed for task ':kudu-jepsen:generatePomFileForMavenPublication'. > Could not apply withXml() to generated POM > Could not get unknown property 'api' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.* Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. ============================================================================== {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)