Accepting request 1113401 from Java:packages

Remove dependency on maven2

OBS-URL: https://build.opensuse.org/request/show/1113401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/antlr-maven-plugin?expand=0&rev=4
This commit is contained in:
Ana Guerrero 2023-09-25 18:03:50 +00:00 committed by Git OBS Bridge
commit 555d030173
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 25 09:21:04 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Remove dependency on maven2
-------------------------------------------------------------------
Mon Mar 21 14:49:53 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package antlr-maven-plugin
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -39,8 +39,8 @@ BuildRequires: mvn(org.apache.commons:commons-exec)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-impl)
BuildRequires: mvn(org.apache.maven.wagon:wagon-provider-api)
BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.apache.maven:maven-project)
BuildRequires: mvn(org.codehaus.modello:modello-maven-plugin)
BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:)
BuildRequires: mvn(org.codehaus.plexus:plexus-i18n)
@ -67,6 +67,8 @@ This package contains the API documentation for %{name}.
%patch3 -p1 -b .fixnpe
%patch4 -p1
%pom_change_dep :maven-project :maven-core:3.9.3
# reporting eventually pulls in another antlr and we'd break with weird errors
%pom_xpath_inject "pom:dependency[pom:artifactId[text()='maven-reporting-impl']]/pom:exclusions" "
<exclusion>