Accepting request 984866 from Java:packages
OBS-URL: https://build.opensuse.org/request/show/984866 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-jar-plugin?expand=0&rev=8
This commit is contained in:
commit
01f3dd9df8
@ -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>
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user