Accepting request 1168846 from Java:packages

Do not depend on mockito

OBS-URL: https://build.opensuse.org/request/show/1168846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/eclipse-jgit?expand=0&rev=18
This commit is contained in:
Ana Guerrero 2024-04-18 20:13:29 +00:00 committed by Git OBS Bridge
commit 21bd8ee365
4 changed files with 32 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 18 12:24:53 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Do not build tests and thus avoid dependency on mockito
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 21 21:55:25 UTC 2024 - Fridrich Strba <fstrba@suse.com> Wed Feb 21 21:55:25 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@ -122,6 +122,17 @@ done
%pom_disable_module org.eclipse.jgit.benchmarks %pom_disable_module org.eclipse.jgit.benchmarks
%pom_disable_module org.eclipse.jgit.coverage %pom_disable_module org.eclipse.jgit.coverage
# Don't build tests
%pom_disable_module org.eclipse.jgit.ant.test
%pom_disable_module org.eclipse.jgit.http.test
%pom_disable_module org.eclipse.jgit.lfs.test
%pom_disable_module org.eclipse.jgit.ssh.apache.test
%pom_disable_module org.eclipse.jgit.test
%pom_disable_module org.eclipse.jgit.gpg.bc.test
%pom_disable_module org.eclipse.jgit.lfs.server.test
%pom_disable_module org.eclipse.jgit.pgm.test
%pom_disable_module org.eclipse.jgit.ssh.jsch.test
# Use newer Felix dep # Use newer Felix dep
%pom_change_dep -r org.osgi:org.osgi.core org.osgi:osgi.core %pom_change_dep -r org.osgi:org.osgi.core org.osgi:osgi.core

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 18 12:24:53 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Do not build tests and thus avoid dependency on mockito
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 21 21:55:25 UTC 2024 - Fridrich Strba <fstrba@suse.com> Wed Feb 21 21:55:25 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@ -64,7 +64,6 @@ BuildRequires: mvn(org.bouncycastle:bcpkix-jdk15on)
BuildRequires: mvn(org.bouncycastle:bcprov-jdk15on) BuildRequires: mvn(org.bouncycastle:bcprov-jdk15on)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.eclipse.jetty:jetty-servlet) BuildRequires: mvn(org.eclipse.jetty:jetty-servlet)
BuildRequires: mvn(org.mockito:mockito-core)
BuildRequires: mvn(org.osgi:osgi.core) BuildRequires: mvn(org.osgi:osgi.core)
BuildRequires: mvn(org.slf4j:slf4j-api) BuildRequires: mvn(org.slf4j:slf4j-api)
BuildRequires: mvn(org.slf4j:slf4j-simple) BuildRequires: mvn(org.slf4j:slf4j-simple)
@ -131,6 +130,17 @@ done
%pom_disable_module org.eclipse.jgit.benchmarks %pom_disable_module org.eclipse.jgit.benchmarks
%pom_disable_module org.eclipse.jgit.coverage %pom_disable_module org.eclipse.jgit.coverage
# Don't build tests
%pom_disable_module org.eclipse.jgit.ant.test
%pom_disable_module org.eclipse.jgit.http.test
%pom_disable_module org.eclipse.jgit.lfs.test
%pom_disable_module org.eclipse.jgit.ssh.apache.test
%pom_disable_module org.eclipse.jgit.test
%pom_disable_module org.eclipse.jgit.gpg.bc.test
%pom_disable_module org.eclipse.jgit.lfs.server.test
%pom_disable_module org.eclipse.jgit.pgm.test
%pom_disable_module org.eclipse.jgit.ssh.jsch.test
# Use newer Felix dep # Use newer Felix dep
%pom_change_dep -r org.osgi:org.osgi.core org.osgi:osgi.core %pom_change_dep -r org.osgi:org.osgi.core org.osgi:osgi.core