From 52041828ee9ce05fa418799a9502cc1d2538b664f76b5e4ff0ea9fad6938088c Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 16 May 2024 13:54:14 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/plexus-containers?expand=0&rev=53 --- plexus-component-metadata.spec | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/plexus-component-metadata.spec b/plexus-component-metadata.spec index bf30b8b..8566d85 100644 --- a/plexus-component-metadata.spec +++ b/plexus-component-metadata.spec @@ -100,18 +100,10 @@ cp %{SOURCE2} . " plexus-component-annotations # Fix build with maven-plugin-plugin >= 3.11.0 -%pom_xpath_inject "pom:project" " - - - - org.apache.maven.plugins - maven-plugin-plugin - - plexus-component-metadata - - - - " plexus-component-metadata +%pom_add_plugin org.apache.maven.plugins:maven-plugin-plugin plexus-component-metadata " + + plexus-component-metadata + " # to prevent ant from failing mkdir -p plexus-component-annotations/src/test/java