Accepting request 984863 from Java:packages:test

Remove dependencies with scope test

OBS-URL: https://build.opensuse.org/request/show/984863
OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-resources-plugin?expand=0&rev=25
This commit is contained in:
Fridrich Strba 2022-06-24 09:54:53 +00:00 committed by Git OBS Bridge
parent 7221bdc002
commit 468be19ef9
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 24 09:44:50 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Remove all dependencies with scope test, since a raw xmvn does
not hide them from maven.
-------------------------------------------------------------------
Thu Apr 28 11:51:20 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -54,7 +54,6 @@ BuildRequires: ant
%else
Name: %{base_name}
BuildRequires: xmvn
BuildRequires: mvn(org.apache.maven.plugin-testing:maven-plugin-testing-harness)
BuildRequires: mvn(org.apache.maven.plugins:maven-compiler-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-jar-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-javadoc-plugin)
@ -90,6 +89,9 @@ cp %{SOURCE1} build.xml
%patch0 -p1
%endif
# Remove all dependencies with scope test, since a raw xmvn does not hide them
%pom_remove_dep -r :::test:
%build
%if %{with bootstrap}
mkdir -p lib