diff --git a/.copr/Makefile b/.copr/Makefile index 8cb809a..073e537 100644 --- a/.copr/Makefile +++ b/.copr/Makefile @@ -13,7 +13,7 @@ installdeps: jackson-annotations \ jackson-core \ jackson-databind \ - java-11-openjdk-devel \ + java-21-openjdk-devel \ javapackages-tools \ make \ maven-source-plugin \ diff --git a/vdsm-jsonrpc-java.spec.in b/vdsm-jsonrpc-java.spec.in index 9a8066c..5ded8c1 100644 --- a/vdsm-jsonrpc-java.spec.in +++ b/vdsm-jsonrpc-java.spec.in @@ -67,6 +67,9 @@ This package contains the API documentation for %{name}. # No need for maven-javadoc-plugin in RHEL8+, xmvn will take care of it. %pom_remove_plugin :maven-javadoc-plugin client/pom.xml.in +# No need for central-publishing-maven-plugin, this is only used for deployments. +%pom_remove_plugin org.sonatype.central:central-publishing-maven-plugin pom.xml.in + %build %configure