Sync from SUSE:SLFO:Main maven-javadoc-plugin revision 97eebac10ce58be11b3076b74514e060
This commit is contained in:
parent
318342dad7
commit
9d202d5efb
15
_service
Normal file
15
_service
Normal 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.2</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>
|
BIN
maven-javadoc-plugin-3.11.2.tar.xz
(Stored with Git LFS)
Normal file
BIN
maven-javadoc-plugin-3.11.2.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
maven-javadoc-plugin-3.6.0-source-release.zip
(Stored with Git LFS)
BIN
maven-javadoc-plugin-3.6.0-source-release.zip
(Stored with Git LFS)
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -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.2"/>
|
||||||
<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}"/>
|
||||||
|
@ -1,3 +1,135 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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 +246,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>
|
||||||
|
@ -23,17 +23,18 @@
|
|||||||
%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.2
|
||||||
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
|
Patch1: stale-data-encoding.patch
|
||||||
Patch2: no-override.patch
|
Patch2: reproducible-from-environment.patch
|
||||||
|
BuildRequires: apache-commons-io
|
||||||
BuildRequires: apache-commons-lang3
|
BuildRequires: apache-commons-lang3
|
||||||
BuildRequires: apache-commons-text
|
BuildRequires: apache-commons-text
|
||||||
BuildRequires: atinject
|
BuildRequires: atinject
|
||||||
@ -43,16 +44,15 @@ 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
|
||||||
@ -65,10 +65,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 +82,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)
|
||||||
@ -117,9 +117,6 @@ cp %{SOURCE1} build.xml
|
|||||||
%patch -P 1 -p1
|
%patch -P 1 -p1
|
||||||
%patch -P 2 -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 +131,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 \
|
||||||
@ -160,8 +156,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 +175,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
|
||||||
|
@ -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);
|
|
||||||
}
|
|
17
reproducible-from-environment.patch
Normal file
17
reproducible-from-environment.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
--- a/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
|
||||||
|
+++ b/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
|
||||||
|
@@ -2692,6 +2692,14 @@ public abstract class AbstractJavadocMojo extends AbstractMojo {
|
||||||
|
private String getBottomText() {
|
||||||
|
final String inceptionYear = project.getInceptionYear();
|
||||||
|
|
||||||
|
+ if ( outputTimestamp == null ||
|
||||||
|
+ outputTimestamp.length() < 1 ||
|
||||||
|
+ ( ( outputTimestamp.length() == 1 )
|
||||||
|
+ && !Character.isDigit( outputTimestamp.charAt(0) ) ) )
|
||||||
|
+ {
|
||||||
|
+ outputTimestamp = System.getenv("SOURCE_DATE_EPOCH");
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
// get Reproducible Builds outputTimestamp date value or the current local date.
|
||||||
|
final LocalDate localDate = MavenArchiver.parseBuildOutputTimestamp(outputTimestamp)
|
||||||
|
.map(instant -> instant.atZone(ZoneOffset.UTC).toLocalDate())
|
@ -1,6 +1,6 @@
|
|||||||
--- maven-javadoc-plugin-3.5.0/src/main/java/org/apache/maven/plugins/javadoc/StaleHelper.java 2023-09-14 14:20:14.049981880 +0200
|
--- a/src/main/java/org/apache/maven/plugins/javadoc/StaleHelper.java
|
||||||
+++ maven-javadoc-plugin-3.5.0/src/main/java/org/apache/maven/plugins/javadoc/StaleHelper.java 2023-09-14 14:25:18.258705774 +0200
|
+++ b/src/main/java/org/apache/maven/plugins/javadoc/StaleHelper.java
|
||||||
@@ -41,6 +41,19 @@
|
@@ -40,6 +40,19 @@ import org.codehaus.plexus.util.cli.Commandline;
|
||||||
*/
|
*/
|
||||||
public class StaleHelper {
|
public class StaleHelper {
|
||||||
|
|
||||||
@ -20,7 +20,7 @@
|
|||||||
/**
|
/**
|
||||||
* Compute the data used to detect a stale javadoc
|
* Compute the data used to detect a stale javadoc
|
||||||
*
|
*
|
||||||
@@ -56,13 +69,7 @@
|
@@ -55,13 +68,7 @@ public class StaleHelper {
|
||||||
String[] args = cmd.getArguments();
|
String[] args = cmd.getArguments();
|
||||||
Collections.addAll(options, args);
|
Collections.addAll(options, args);
|
||||||
|
|
||||||
@ -35,18 +35,16 @@
|
|||||||
|
|
||||||
for (String arg : args) {
|
for (String arg : args) {
|
||||||
if (arg.startsWith("@")) {
|
if (arg.startsWith("@")) {
|
||||||
@@ -116,9 +123,11 @@
|
@@ -115,9 +122,11 @@ public class StaleHelper {
|
||||||
*/
|
*/
|
||||||
public static void writeStaleData(Commandline cmd, Path path) throws MavenReportException {
|
public static void writeStaleData(Commandline cmd, Path path) throws MavenReportException {
|
||||||
try {
|
try {
|
||||||
+ final Charset cs = getDataCharset();
|
+ final Charset cs = getDataCharset();
|
||||||
+
|
+
|
||||||
String curdata = getStaleData(cmd);
|
List<String> curdata = getStaleData(cmd);
|
||||||
Files.createDirectories(path.getParent());
|
Files.createDirectories(path.getParent());
|
||||||
- Files.write(path, Collections.singleton(curdata), Charset.defaultCharset());
|
- Files.write(path, curdata, StandardCharsets.UTF_8);
|
||||||
+ Files.write(path, Collections.singleton(curdata), cs);
|
+ Files.write(path, curdata, cs);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new MavenReportException("Error checking stale data", 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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user