diff --git a/maven-reporting-api-3.0.tar.xz b/maven-reporting-api-3.0.tar.xz
deleted file mode 100644
index 0c57b80..0000000
--- a/maven-reporting-api-3.0.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b0cbd51bf6d17c979c634cecf27c740969857f76241f2fb849502240d47c2aa5
-size 3384
diff --git a/maven-reporting-api-3.1.0-source-release.zip b/maven-reporting-api-3.1.0-source-release.zip
new file mode 100644
index 0000000..f43104a
--- /dev/null
+++ b/maven-reporting-api-3.1.0-source-release.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:24e848d95a3e8e89f1b192ebc1bcdd00043202139460411c9410c8cb01310050
+size 24351
diff --git a/maven-reporting-api-build.xml b/maven-reporting-api-build.xml
index e2ff4be..4230ada 100644
--- a/maven-reporting-api-build.xml
+++ b/maven-reporting-api-build.xml
@@ -11,7 +11,7 @@
-
+
diff --git a/maven-reporting-api.spec b/maven-reporting-api.spec
index 35d3bc4..9c49caf 100644
--- a/maven-reporting-api.spec
+++ b/maven-reporting-api.spec
@@ -1,7 +1,7 @@
#
# spec file for package maven-reporting-api
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,13 @@
Name: maven-reporting-api
-Version: 3.0
+Version: 3.1.0
Release: 0
Summary: API to manage report generation
License: Apache-2.0
Group: Development/Libraries/Java
URL: http://maven.apache.org/shared/maven-reporting-api
-# svn export http://svn.apache.org/repos/asf/maven/shared/tags/maven-reporting-api-3.0 maven-reporting-api-3.0
-# tar caf maven-reporting-api-3.0.tar.xz maven-reporting-api-3.0/
-Source0: %{name}-%{version}.tar.xz
+Source0: https://dlcdn.apache.org/maven/reporting/%{name}-%{version}-source-release.zip
# ASL mandates that the licence file be included in redistributed source
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
Source2: %{name}-build.xml
@@ -33,10 +31,9 @@ BuildRequires: ant
BuildRequires: fdupes
BuildRequires: javapackages-local
BuildRequires: maven-doxia-sink-api
+BuildRequires: unzip
BuildRequires: xmvn-install
BuildRequires: xmvn-resolve
-BuildRequires: xz
-BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:)
BuildArch: noarch
%description
@@ -58,6 +55,8 @@ API documentation for %{name}.
cp %{SOURCE1} LICENSE.txt
cp %{SOURCE2} build.xml
+%pom_remove_parent
+
# Previous package provides groupIds org.apache.maven.shared and org.apache.maven.reporting
%{mvn_alias} : org.apache.maven.shared:maven-reporting-api