Accepting request 984864 from Java:packages:test

Remove dependencies with scope test

OBS-URL: https://build.opensuse.org/request/show/984864
OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-jar-plugin?expand=0&rev=30
This commit is contained in:
Fridrich Strba 2022-06-24 09:55:04 +00:00 committed by Git OBS Bridge
parent 17c59b838f
commit 9196b5010f
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 24 09:46:54 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Remove all dependencies with scope test, since a raw xmvn does
not hide them from maven.
-------------------------------------------------------------------
Tue Mar 29 13:53:45 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)
@ -91,6 +90,9 @@ cp %{SOURCE1} build.xml
%endif
%patch1 -p1
# Remove all dependencies with scope test, since a raw xmvn does not hide them
%pom_remove_dep -r :::test:
%build
# Test class MockArtifact doesn't override method getMetadata
%if %{with bootstrap}