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