Sync from SUSE:SLFO:Main maven revision a7eee631e5905ce3d5d675927b8e3c07

This commit is contained in:
Adrian Schröter 2024-05-31 14:47:56 +02:00
parent 8716c57b77
commit fba79ac38d
2 changed files with 25 additions and 5 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Apr 2 17:21:14 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Add dependency on plexus-xml where relevant
* this will be needed for smooth upgrade to plexus-utils 4.0.0
-------------------------------------------------------------------
Wed Feb 21 15:10:43 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 30 07:13:33 UTC 2024 - Fridrich Strba <fstrba@suse.com> Tue Jan 30 07:13:33 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@ -80,6 +80,7 @@ BuildRequires: plexus-interpolation
BuildRequires: plexus-metadata-generator BuildRequires: plexus-metadata-generator
BuildRequires: plexus-sec-dispatcher >= 2.0 BuildRequires: plexus-sec-dispatcher >= 2.0
BuildRequires: plexus-utils BuildRequires: plexus-utils
BuildRequires: plexus-xml
BuildRequires: qdox BuildRequires: qdox
BuildRequires: sisu-inject BuildRequires: sisu-inject
BuildRequires: sisu-plexus BuildRequires: sisu-plexus
@ -149,6 +150,7 @@ Requires: plexus-containers-component-annotations
Requires: plexus-interpolation Requires: plexus-interpolation
Requires: plexus-sec-dispatcher Requires: plexus-sec-dispatcher
Requires: plexus-utils Requires: plexus-utils
Requires: plexus-xml
Requires: sisu-inject Requires: sisu-inject
Requires: sisu-plexus Requires: sisu-plexus
Requires: slf4j Requires: slf4j
@ -179,11 +181,11 @@ BuildArch: noarch
%prep %prep
%setup -q -n apache-%{name}-%{version} -a10 %setup -q -n apache-%{name}-%{version} -a10
%patch1 -p1 %patch -P 1 -p1
%patch2 -p1 %patch -P 2 -p1
%patch3 -p1 %patch -P 3 -p1
%patch4 -p1 %patch -P 4 -p1
%patch5 -p1 %patch -P 5 -p1
# not really used during build, but a precaution # not really used during build, but a precaution
find -name '*.jar' -not -path '*/test/*' -delete find -name '*.jar' -not -path '*/test/*' -delete
@ -216,6 +218,11 @@ sed -i "s/distributionName=.*/distributionName=Apache\ Maven/" `find -name build
%pom_xpath_remove pom:parent/pom:relativePath %pom_xpath_remove pom:parent/pom:relativePath
for i in maven-compat maven-core maven-embedder maven-model maven-model-builder maven-plugin-api maven-resolver-provider maven-settings-builder
do
%pom_add_dep org.codehaus.plexus:plexus-xml:3.0.0 $i
done
%{mvn_alias} :maven-resolver-provider :maven-aether-provider %{mvn_alias} :maven-resolver-provider :maven-aether-provider
%build %build
@ -247,6 +254,7 @@ build-jar-repository -s lib \
plexus/plexus-cipher \ plexus/plexus-cipher \
plexus/plexus-sec-dispatcher \ plexus/plexus-sec-dispatcher \
plexus/utils \ plexus/utils \
plexus/xml \
qdox \ qdox \
slf4j/api \ slf4j/api \
slf4j/simple \ slf4j/simple \
@ -322,6 +330,7 @@ build-jar-repository -p %{buildroot}%{homedir}/lib \
plexus/interpolation \ plexus/interpolation \
plexus/plexus-sec-dispatcher \ plexus/plexus-sec-dispatcher \
plexus/utils \ plexus/utils \
plexus/xml \
plexus-containers/plexus-component-annotations \ plexus-containers/plexus-component-annotations \
slf4j/api \ slf4j/api \
slf4j/jcl-over-slf4j slf4j/jcl-over-slf4j