diff --git a/_service b/_service new file mode 100644 index 0000000..0459786 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + git + https://github.com/apache/maven-reporting-api.git + maven-reporting-api-4.0.0 + maven-reporting-api-* + @PARENT_TAG@ + maven-reporting-api-(.*) + + + *.tar + xz + + + diff --git a/maven-reporting-api-3.1.1-source-release.zip b/maven-reporting-api-3.1.1-source-release.zip deleted file mode 100644 index 9e20a36..0000000 --- a/maven-reporting-api-3.1.1-source-release.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3ce3604002dd5f4698ed4068ea74254f95e2988007486f4e05cecd5ae55dd586 -size 23323 diff --git a/maven-reporting-api-4.0.0.tar.xz b/maven-reporting-api-4.0.0.tar.xz new file mode 100644 index 0000000..d57219f --- /dev/null +++ b/maven-reporting-api-4.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b64f60c29f71f77b451e7e70513d4acfb932c55d5c43f5f576a14b596f272324 +size 7376 diff --git a/maven-reporting-api-build.xml b/maven-reporting-api-build.xml index 754318c..5e950f1 100644 --- a/maven-reporting-api-build.xml +++ b/maven-reporting-api-build.xml @@ -10,22 +10,23 @@ - - + - + + + + - + + @@ -53,24 +54,21 @@ - - - @@ -82,8 +80,8 @@ packagenames="*" destdir="${reporting.outputDirectory}/apidocs" access="protected" - source="${compiler.source}" verbose="false" + locale="en" version="true" use="true" author="true" @@ -95,9 +93,10 @@ nohelp="false" nonavbar="false" serialwarn="false" - encoding="UTF-8" + encoding="utf-8" linksource="false" - breakiterator="false"> + breakiterator="false" + source="${compiler.source}"> @@ -114,19 +113,15 @@ excludes="**/package.html"> - - + - - + + diff --git a/maven-reporting-api.changes b/maven-reporting-api.changes index c8b52f7..c5cb851 100644 --- a/maven-reporting-api.changes +++ b/maven-reporting-api.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Oct 3 22:04:11 UTC 2024 - Fridrich Strba + +- Upgrade to upstream version 4.0.0 + * Improvement + + MSHARED-193: API change: let MavenReportRenderer#render() + throw an exception + + MSHARED-1032: API change: let MavenReport#canGenerateReport() + throw an exception + * Task + + MSHARED-1159: Require locale to be not null + + MSHARED-1231: Remove unused default-report.xml file + + MSHARED-1326: Improve MavenReport interface and + AbstractMavenReport class API +- Fetch sources by source service from Github + ------------------------------------------------------------------- Sun Sep 24 01:57:03 UTC 2023 - Fridrich Strba diff --git a/maven-reporting-api.spec b/maven-reporting-api.spec index a7c7255..2c12c1d 100644 --- a/maven-reporting-api.spec +++ b/maven-reporting-api.spec @@ -1,7 +1,7 @@ # # spec file for package maven-reporting-api # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,22 +17,19 @@ Name: maven-reporting-api -Version: 3.1.1 +Version: 4.0.0 Release: 0 Summary: API to manage report generation License: Apache-2.0 Group: Development/Libraries/Java URL: https://maven.apache.org/shared/maven-reporting-api -Source0: https://archive.apache.org/dist/maven/reporting/%{name}-%{version}-source-release.zip +Source0: %{name}-%{version}.tar.xz Source1: http://www.apache.org/licenses/LICENSE-2.0.txt Source2: %{name}-build.xml BuildRequires: ant BuildRequires: fdupes -BuildRequires: javapackages-local -BuildRequires: maven-doxia-sink-api -BuildRequires: unzip -BuildRequires: xmvn-install -BuildRequires: xmvn-resolve +BuildRequires: javapackages-local >= 6 +BuildRequires: maven-doxia-sink-api >= 2.0 BuildArch: noarch %description @@ -54,27 +51,30 @@ 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 - %build mkdir -p lib build-jar-repository -s lib \ maven-doxia/doxia-sink-api -%{ant} jar javadoc - -%{mvn_artifact} pom.xml target/%{name}-%{version}.jar +ant jar javadoc %install -%mvn_install +# jar +install -dm 0755 %{buildroot}%{_javadir}/%{name} +install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{name}.jar +# pom +install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} +%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom +%add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar -a org.apache.maven.shared:maven-reporting-api +# javadoc +install -dm 0755 %{buildroot}%{_javadocdir}/%{name} +cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/ %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles %license LICENSE.txt -%files javadoc -f .mfiles-javadoc +%files javadoc +%{_javadocdir}/%{name} %license LICENSE.txt %changelog