10
0

27 Commits

Author SHA256 Message Date
97f0c71909 Accepting request 1299963 from Java:packages
3.11.3

OBS-URL: https://build.opensuse.org/request/show/1299963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-javadoc-plugin?expand=0&rev=23
2025-08-17 12:50:17 +00:00
f713d28e3d OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=81 2025-08-17 07:15:51 +00:00
6691aefed3 Accepting request 1294861 from Java:packages
reproducible: another solution

OBS-URL: https://build.opensuse.org/request/show/1294861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-javadoc-plugin?expand=0&rev=22
2025-07-22 10:54:20 +00:00
cf185ef862 OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=79 2025-07-17 05:41:00 +00:00
8871c42815 OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=78 2025-07-16 07:21:14 +00:00
9c0e15df4c OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=77 2025-07-15 11:44:23 +00:00
759fdca0fc 2
OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=76
2025-07-15 11:39:56 +00:00
6c3a1551cb OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=75 2025-07-15 11:23:48 +00:00
647eb57cf9 OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=74 2025-07-15 11:18:41 +00:00
725e4cdbc3 Accepting request 1293399 from home:fstrba:maven
OBS-URL: https://build.opensuse.org/request/show/1293399
OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=73
2025-07-15 10:29:12 +00:00
c4ff45205c Accepting request 1292312 from Java:packages
Fix legacy mode

OBS-URL: https://build.opensuse.org/request/show/1292312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-javadoc-plugin?expand=0&rev=21
2025-07-14 08:50:47 +00:00
5f6e38e417 OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=71 2025-07-12 08:08:07 +00:00
0185888797 Accepting request 1282193 from Java:packages
Add dependency on objectweb-asm to build with sisu 0.9.0.M4

OBS-URL: https://build.opensuse.org/request/show/1282193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-javadoc-plugin?expand=0&rev=20
2025-06-03 15:54:09 +00:00
38c2cc926f OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=69 2025-06-03 08:26:56 +00:00
a61752852d OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=68 2025-06-02 14:30:24 +00:00
e30c8500b3 Accepting request 1229147 from Java:packages
3.11.2

OBS-URL: https://build.opensuse.org/request/show/1229147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-javadoc-plugin?expand=0&rev=19
2024-12-09 20:11:48 +00:00
d2645e4d63 OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=66 2024-12-08 19:55:21 +00:00
2bc88e0b99 OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=65 2024-12-08 19:52:15 +00:00
c100f05539 Accepting request 1220527 from Java:packages
3.11.1

OBS-URL: https://build.opensuse.org/request/show/1220527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-javadoc-plugin?expand=0&rev=18
2024-11-04 21:42:29 +00:00
63170009b2 OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=63 2024-11-04 10:15:10 +00:00
a96d082b6b OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=62 2024-11-04 10:11:12 +00:00
2b010ec26e OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=61 2024-11-04 00:02:58 +00:00
7ee4b61f69 Accepting request 1208211 from Java:packages
3.10.1

OBS-URL: https://build.opensuse.org/request/show/1208211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-javadoc-plugin?expand=0&rev=17
2024-10-16 21:46:41 +00:00
337c39417f OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=59 2024-10-03 22:38:41 +00:00
156c005fd9 Accepting request 1205011 from Java:packages:test
move out of test

OBS-URL: https://build.opensuse.org/request/show/1205011
OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=58
2024-10-01 22:39:27 +00:00
7ee79eb4d3 Accepting request 1203007 from Java:packages
Reproducible build

OBS-URL: https://build.opensuse.org/request/show/1203007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-javadoc-plugin?expand=0&rev=16
2024-09-25 19:53:10 +00:00
e73390921f OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-javadoc-plugin?expand=0&rev=56 2024-09-24 15:01:06 +00:00
9 changed files with 9597 additions and 9237 deletions

15
_service Normal file
View File

@@ -0,0 +1,15 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/apache/maven-javadoc-plugin.git</param>
<param name="revision">maven-javadoc-plugin-3.11.3</param>
<param name="match-tag">maven-javadoc-plugin-*</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">maven-javadoc-plugin-(.*)</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50af43bddd3429a934a618dc5761051dd27832e46a0db365f1eddc07a36ea127
size 823220

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -14,12 +14,13 @@
value="The Apache Maven Javadoc Plugin is a plugin that uses the javadoc tool for generating javadocs for the specified project."/> value="The Apache Maven Javadoc Plugin is a plugin that uses the javadoc tool for generating javadocs for the specified project."/>
<property name="project.groupId" value="org.apache.maven.plugins"/> <property name="project.groupId" value="org.apache.maven.plugins"/>
<property name="project.artifactId" value="maven-javadoc-plugin"/> <property name="project.artifactId" value="maven-javadoc-plugin"/>
<property name="project.version" value="3.6.0"/> <property name="project.version" value="3.11.3"/>
<property name="project.organization.name" value="The Apache Software Foundation"/> <property name="project.organization.name" value="The Apache Software Foundation"/>
<property name="spec.version" value="3.6"/> <property name="spec.version" value="3.11"/>
<property name="compiler.source" value="1.8"/> <property name="compiler.release" value="8"/>
<property name="compiler.source" value="1.${compiler.release}"/>
<property name="compiler.target" value="${compiler.source}"/> <property name="compiler.target" value="${compiler.source}"/>
<property name="build.finalName" value="${project.artifactId}-${project.version}"/> <property name="build.finalName" value="${project.artifactId}-${project.version}"/>

View File

@@ -1,3 +1,213 @@
-------------------------------------------------------------------
Sun Aug 17 07:08:31 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 3.11.3
* Removed
+ Remove workaround for long patched CVE in javadoc
* New features and improvements
+ Issue #369 Support --no-fonts option per default for jdk 23+
* Bug Fixes
+ Make the legacyMode consistent (Filter out all of the
module-info.java files in legacy mode, do not use
--source-path in legacy mode)
+ MJAVADOC-826: Don't try to modify project source roots
* Documentation updates
+ Correct javadoc-no-fork description on index-page
+ MNGSITE-529: Rename "Goals" to "Plugin Documentation"
+ (doc) Close links tag in links parameter javadoc example
* Maintenance
+ Be consistent about data encoding when copying files
+ Clean up JavadocUtilTest
+ Use Java 7 relativization instead of hand-rolled code
+ Rephrase source code fix interactive messages for clarity
+ Reduce non-debug logging
+ Delete duplicate @throws clause
+ Use Java 7 relativization instead of our hand-rolled code
+ Clean up comments and argument names
+ Issue #378 Cleanup of code related to old non supported Java
version
+ Cure deprecation warning
+ MJAVADOC-773: deprecate toRelative
+ Issue #373 Fix JDK 23 build
+ Fix aggregate Javadoc typo
+ Enable GH issues
+ MJAVADOC-825: Prefer NullPointerExceptions for null arguments
- Removed patches:
* 0001-Be-consistent-about-data-encoding-when-copying-files.patch
* 0002-Make-the-legacyMode-consistent-and-actually-useful.patch
+ integrated in this version
-------------------------------------------------------------------
Thu Jul 17 05:40:16 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Removed patch:
* 0003-reproducible-from-environment.patch
+ We made the modification more central in maven-archiver
-------------------------------------------------------------------
Tue Jul 15 11:40:44 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Modified patches:
* 0001-Be-consistent-about-data-encoding.patch ->
0001-Be-consistent-about-data-encoding-when-copying-files.patch
+ Take the version of our PR that was integrated upstream
* 0003-reproducible-from-environment.patch
+ Make the situation exactly the same as before if the
SOURCE_DATE_EPOCH is not set
-------------------------------------------------------------------
Sat Jul 12 08:03:13 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* 0002-Make-the-legacyMode-consistent-and-actually-useful.patch
+ fix the legacy mode so that is behaves really as javadoc 8
generation
- Modified patches:
* stale-data-encoding.patch
--> 0001-Be-consistent-about-data-encoding.patch
+ rebase and fix the coding style so that it corresponds to
our PR to the upstream project
* reproducible-from-environment.patch
--> 0003-reproducible-from-environment.patch
+ rebase and make consistent with upstream coding style
-------------------------------------------------------------------
Tue Jun 3 08:26:53 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Add dependency on objectweb-asm to build with sisu 0.9.0.M4
-------------------------------------------------------------------
Sun Dec 8 19:49:03 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 3.11.2
* New Feature
+ MJAVADOC-814: Ability to split grouped packages over multiple
lines
* Improvement
+ MJAVADOC-823: legacyMode keeps using module-info.java
(-sourcedirectory still use as well as java files input)
* Task
+ MJAVADOC-822: parameter skippedModules should scale and easier
to use
-------------------------------------------------------------------
Mon Nov 4 10:11:17 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 3.11.1
- Version 3.11.1
* Bug
+ MJAVADOC-820: [REGRESSION] MJAVADOC-787 was merged
incompletely
* New Feature
+ MJAVADOC-787: Automatic detection of release option for
JDK < 9
* Task
+ MJAVADOC-819: Align archive generation code with Maven Source
Plugin
+ MJAVADOC-821: Align toolchain discovery code with Maven
Compiler Plugin
* Dependency upgrade
+ MJAVADOC-816: Bump org.codehaus.plexus:plexus-java from
1.2.0 to 1.3.0
+ MJAVADOC-817: Upgrade to Doxia 2.0.0 GA Stack
- Modified patches:
* maven-javadoc-plugin-bootstrap-resources.patch
+ Regenerate from non-bootstrap build
-------------------------------------------------------------------
Thu Oct 3 22:19:41 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 3.10.1
- Version 3.10.1
* Bug
+ MJAVADOC-810: [REGRESSION] MJAVADOC-791 causes forked Maven
execution fail if any toolchains or settings file isn't
present
+ MJAVADOC-811: javadoc.bat fails to execute on Windows when
project is not on drive C and AutoRun is configured
+ MJAVADOC-812: [REGRESSION] maven-javadoc-plugin 3.10.0 creates
empty JARs
- Version 3.10.0
* Bug
+ MJAVADOC-560: Clarify outputDirectory, reportOutputDirectory
in javadoc:javadoc documentation
* Task
+ MJAVADOC-776: Plugin depends on plexus-container-default,
which is EOL
+ MJAVADOC-785: Align plugin implementation with
AbstractMavenReport (maven-reporting-impl)
+ MJAVADOC-807: Simplify IT for MJAVADOC-498
+ MJAVADOC-809: Align Mojo class names
- Version 3.8.0
* Bug
+ MJAVADOC-603: javadoc:fix failure on JDK10:
java.lang.ClassNotFoundException: java.sql.Connection
+ MJAVADOC-751: No warnings for localized output
+ MJAVADOC-775: Option 'taglets/taglet/tagletpath' ignored when
pointing to a JAR
+ MJAVADOC-783: Invalid path when using TagletArtifact and
TagletPath
+ MJAVADOC-791: maven-javadoc-plugin not working correctly
together with maven-toolchains-plugin
* Improvement
+ MJAVADOC-796: Do not follow links for Java 12+
+ MJAVADOC-798: Consider passing user settings when using
invoker
+ MJAVADOC-802: Set default value of defaultAuthor parameter
in fix goals to ${user.name}
+ MJAVADOC-803: Add default parameter to force root locale
* Test
+ MJAVADOC-804: Temporary files are left after test execution
* Task
+ MJAVADOC-799: Remove inconsistent
'AbstractFixJavadocMojo#defaultVersion' default value
- Version 3.7.0
* Bug
+ MJAVADOC-793: java.lang.NullPointerException: Cannot invoke
"String.length()" because "text" is null
- Version 3.6.3
* Bug
+ MJAVADOC-682: Reactor builds fail when multiple modules with
same groupId:artifactId, but different versions
+ MJAVADOC-780: Unit tests create null-null.jar in build root
directory
* Improvement
+ MJAVADOC-779: Upgrade maven-plugin parent to 41
* Task
+ MJAVADOC-782: Align read-only parameters naming with other
plugins
- Version 3.6.2
* Bug
+ MJAVADOC-713: Skipping Javadoc reportset leaves empty Javadoc
link in site
+ MJAVADOC-716: The stale file detection does not work
+ MJAVADOC-726: Maven Java Doc Plugin downloads Log4j-1.2.12
dependency transitively
+ MJAVADOC-762: createTestRepo in JavaDocReportTest shares state
+ MJAVADOC-774: 3.6.0 release is not reproducible
* Improvement
+ MJAVADOC-730: Deprecate parameter "old"
- Removed patches:
* no-override.patch
+ not needed with this version
- Modified patches:
* maven-javadoc-plugin-bootstrap-resources.patch
+ Regenerate using maven-plugin-plugin 3.15 from non-bootstrap
build
* reproducible-from-environment.patch
* stale-data-encoding.patch
+ adapt to changed context
- Fetch sources from Github using source service
-------------------------------------------------------------------
Tue Sep 24 15:00:28 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* reproducible-from-environment.patch
+ SOURCE_DATE_EPOCH environmental variable triggers reproducible
use of the maven-javadoc-plugin if it is not requested already
using the project.build.outputTimestamp option.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 10 16:33:19 UTC 2024 - Fridrich Strba <fstrba@suse.com> Mon Jun 10 16:33:19 UTC 2024 - Fridrich Strba <fstrba@suse.com>
@@ -114,7 +324,7 @@ Tue Oct 25 14:16:58 UTC 2022 - Fridrich Strba <fstrba@suse.com>
* maven-javadoc-plugin-ioexception.patch * maven-javadoc-plugin-ioexception.patch
+ allow building with wider range of plexus-utils versions, + allow building with wider range of plexus-utils versions,
including the 3.5.0 that does not declare IOException as including the 3.5.0 that does not declare IOException as
thrown in functions where it is actually not thrown. thrown in functions where it is actually not thrown.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 13 09:41:52 UTC 2022 - Fridrich Strba <fstrba@suse.com> Fri May 13 09:41:52 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package maven-javadoc-plugin # spec file for package maven-javadoc-plugin
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -23,17 +23,16 @@
%bcond_with bootstrap %bcond_with bootstrap
%endif %endif
%global base_name maven-javadoc-plugin %global base_name maven-javadoc-plugin
Version: 3.6.0 Version: 3.11.3
Release: 0 Release: 0
Summary: Maven plugin for creating javadocs Summary: Maven plugin for creating javadocs
License: Apache-2.0 License: Apache-2.0
Group: Development/Libraries/Java Group: Development/Libraries/Java
URL: https://maven.apache.org/plugins/maven-javadoc-plugin URL: https://maven.apache.org/plugins/maven-javadoc-plugin
Source0: https://repo1.maven.org/maven2/org/apache/maven/plugins/%{base_name}/%{version}/%{base_name}-%{version}-source-release.zip Source0: %{base_name}-%{version}.tar.xz
Source1: %{base_name}-build.xml Source1: %{base_name}-build.xml
Patch0: %{base_name}-bootstrap-resources.patch Patch0: %{base_name}-bootstrap-resources.patch
Patch1: stale-data-encoding.patch BuildRequires: apache-commons-io
Patch2: no-override.patch
BuildRequires: apache-commons-lang3 BuildRequires: apache-commons-lang3
BuildRequires: apache-commons-text BuildRequires: apache-commons-text
BuildRequires: atinject BuildRequires: atinject
@@ -43,19 +42,19 @@ BuildRequires: httpcomponents-core
BuildRequires: javapackages-local BuildRequires: javapackages-local
BuildRequires: maven-archiver BuildRequires: maven-archiver
BuildRequires: maven-common-artifact-filters BuildRequires: maven-common-artifact-filters
BuildRequires: maven-doxia-core
BuildRequires: maven-doxia-logging-api
BuildRequires: maven-doxia-module-xhtml
BuildRequires: maven-doxia-sink-api BuildRequires: maven-doxia-sink-api
BuildRequires: maven-doxia-sitetools BuildRequires: maven-doxia-sitetools
BuildRequires: maven-invoker BuildRequires: maven-invoker
BuildRequires: maven-lib BuildRequires: maven-lib
BuildRequires: maven-plugin-annotations BuildRequires: maven-plugin-annotations
BuildRequires: maven-reporting-api >= 3.1.0 BuildRequires: maven-reporting-api
BuildRequires: maven-reporting-impl
BuildRequires: maven-resolver-api BuildRequires: maven-resolver-api
BuildRequires: maven-resolver-impl
BuildRequires: maven-resolver-util BuildRequires: maven-resolver-util
BuildRequires: maven-shared-utils BuildRequires: maven-shared-utils
BuildRequires: maven-wagon-provider-api BuildRequires: maven-wagon-provider-api
BuildRequires: objectweb-asm
BuildRequires: plexus-archiver BuildRequires: plexus-archiver
BuildRequires: plexus-interactivity-api BuildRequires: plexus-interactivity-api
BuildRequires: plexus-io BuildRequires: plexus-io
@@ -65,10 +64,11 @@ BuildRequires: plexus-xml
BuildRequires: qdox BuildRequires: qdox
BuildRequires: sisu-inject BuildRequires: sisu-inject
BuildRequires: sisu-plexus BuildRequires: sisu-plexus
BuildRequires: slf4j
BuildRequires: unzip BuildRequires: unzip
BuildRequires: xmvn-install BuildRequires: xmvn-install
BuildRequires: xmvn-resolve BuildRequires: xmvn-resolve
BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:) BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:) >= 40
BuildArch: noarch BuildArch: noarch
%if %{with bootstrap} %if %{with bootstrap}
Name: %{base_name}-bootstrap Name: %{base_name}-bootstrap
@@ -81,7 +81,6 @@ 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-jar-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-javadoc-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-javadoc-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:) >= 40
BuildRequires: mvn(org.apache.maven.plugins:maven-resources-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-resources-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-surefire-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-surefire-plugin)
BuildRequires: mvn(org.codehaus.modello:modello-maven-plugin) BuildRequires: mvn(org.codehaus.modello:modello-maven-plugin)
@@ -114,12 +113,7 @@ API documentation for %{name}.
cp %{SOURCE1} build.xml cp %{SOURCE1} build.xml
%patch -P 0 -p1 %patch -P 0 -p1
%endif %endif
%patch -P 1 -p1
%patch -P 2 -p1
%pom_add_dep org.codehaus.plexus:plexus-xml:3.0.0
%pom_xpath_remove pom:project/pom:parent/pom:relativePath
%pom_remove_dep :::test: %pom_remove_dep :::test:
%build %build
@@ -134,10 +128,9 @@ build-jar-repository -s lib \
maven-archiver/maven-archiver \ maven-archiver/maven-archiver \
maven-common-artifact-filters/maven-common-artifact-filters \ maven-common-artifact-filters/maven-common-artifact-filters \
maven-doxia/doxia-core \ maven-doxia/doxia-core \
maven-doxia/doxia-logging-api \
maven-doxia/doxia-module-xhtml \
maven-doxia/doxia-module-xhtml5 \ maven-doxia/doxia-module-xhtml5 \
maven-doxia/doxia-sink-api \ maven-doxia/doxia-sink-api \
maven-doxia-sitetools/doxia-integration-tools \
maven-doxia-sitetools/doxia-site-renderer \ maven-doxia-sitetools/doxia-site-renderer \
maven-invoker/maven-invoker \ maven-invoker/maven-invoker \
maven/maven-artifact \ maven/maven-artifact \
@@ -152,6 +145,7 @@ build-jar-repository -s lib \
maven-reporting-api/maven-reporting-api \ maven-reporting-api/maven-reporting-api \
maven-shared-utils/maven-shared-utils \ maven-shared-utils/maven-shared-utils \
maven-wagon/provider-api \ maven-wagon/provider-api \
objectweb-asm/asm \
org.eclipse.sisu.inject \ org.eclipse.sisu.inject \
org.eclipse.sisu.plexus \ org.eclipse.sisu.plexus \
plexus/archiver \ plexus/archiver \
@@ -160,8 +154,9 @@ build-jar-repository -s lib \
plexus-languages/plexus-java \ plexus-languages/plexus-java \
plexus/utils \ plexus/utils \
plexus/xml \ plexus/xml \
qdox qdox \
%{ant} -Dtest.skip=true jar slf4j/api
ant -Dtest.skip=true jar
%else %else
xmvn --batch-mode --offline \ xmvn --batch-mode --offline \
-Dmaven.test.skip=true -DmavenVersion=3.5.0 \ -Dmaven.test.skip=true -DmavenVersion=3.5.0 \
@@ -178,13 +173,9 @@ xmvn --batch-mode --offline \
%fdupes -s %{buildroot}%{_javadocdir} %fdupes -s %{buildroot}%{_javadocdir}
%files -f .mfiles %files -f .mfiles
%license LICENSE
%doc NOTICE
%if %{without bootstrap} %if %{without bootstrap}
%files javadoc -f .mfiles-javadoc %files javadoc -f .mfiles-javadoc
%license LICENSE
%doc NOTICE
%endif %endif
%changelog %changelog

View File

@@ -1,10 +0,0 @@
--- maven-javadoc-plugin-3.5.0/src/main/java/org/apache/maven/plugins/javadoc/JavadocReport.java 2023-09-14 14:27:44.286360008 +0200
+++ maven-javadoc-plugin-3.5.0/src/main/java/org/apache/maven/plugins/javadoc/JavadocReport.java 2023-09-14 14:34:08.848960654 +0200
@@ -118,7 +118,6 @@
}
/** {@inheritDoc} */
- @Override
public void generate(org.codehaus.doxia.sink.Sink sink, Locale locale) throws MavenReportException {
generate(sink, null, locale);
}

View File

@@ -1,52 +0,0 @@
--- maven-javadoc-plugin-3.5.0/src/main/java/org/apache/maven/plugins/javadoc/StaleHelper.java 2023-09-14 14:20:14.049981880 +0200
+++ maven-javadoc-plugin-3.5.0/src/main/java/org/apache/maven/plugins/javadoc/StaleHelper.java 2023-09-14 14:25:18.258705774 +0200
@@ -41,6 +41,19 @@
*/
public class StaleHelper {
+ private static Charset getDataCharset()
+ {
+ if ( JavaVersion.JAVA_SPECIFICATION_VERSION.isAtLeast( "9" )
+ && JavaVersion.JAVA_SPECIFICATION_VERSION.isBefore( "12" ) )
+ {
+ return StandardCharsets.UTF_8;
+ }
+ else
+ {
+ return Charset.defaultCharset();
+ }
+ }
+
/**
* Compute the data used to detect a stale javadoc
*
@@ -56,13 +69,7 @@
String[] args = cmd.getArguments();
Collections.addAll(options, args);
- final Charset cs;
- if (JavaVersion.JAVA_SPECIFICATION_VERSION.isAtLeast("9")
- && JavaVersion.JAVA_SPECIFICATION_VERSION.isBefore("12")) {
- cs = StandardCharsets.UTF_8;
- } else {
- cs = Charset.defaultCharset();
- }
+ final Charset cs = getDataCharset();
for (String arg : args) {
if (arg.startsWith("@")) {
@@ -116,9 +123,11 @@
*/
public static void writeStaleData(Commandline cmd, Path path) throws MavenReportException {
try {
+ final Charset cs = getDataCharset();
+
String curdata = getStaleData(cmd);
Files.createDirectories(path.getParent());
- Files.write(path, Collections.singleton(curdata), Charset.defaultCharset());
+ Files.write(path, Collections.singleton(curdata), cs);
} catch (IOException e) {
throw new MavenReportException("Error checking stale data", e);
}
Only in maven-javadoc-plugin-3.5.0/src/main/java/org/apache/maven/plugins/javadoc: StaleHelper.java.orig
Only in maven-javadoc-plugin-3.5.0/src/main/java/org/apache/maven/plugins/javadoc: StaleHelper.java.rej