Dominique Leuenberger 2022-06-25 08:24:13 +00:00 committed by Git OBS Bridge
commit 01f3dd9df8
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}