Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
15
_service
15
_service
@ -1,15 +0,0 @@
|
||||
<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>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cfafd165e65ddc70ebe90d74700e50d5125b56f6f71dbb88ba1e172086ddcc6d
|
||||
size 819928
|
BIN
maven-javadoc-plugin-3.6.0-source-release.zip
(Stored with Git LFS)
Normal file
BIN
maven-javadoc-plugin-3.6.0-source-release.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -14,13 +14,12 @@
|
||||
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.artifactId" value="maven-javadoc-plugin"/>
|
||||
<property name="project.version" value="3.11.2"/>
|
||||
<property name="project.version" value="3.6.0"/>
|
||||
<property name="project.organization.name" value="The Apache Software Foundation"/>
|
||||
|
||||
<property name="spec.version" value="3.11"/>
|
||||
<property name="spec.version" value="3.6"/>
|
||||
|
||||
<property name="compiler.release" value="8"/>
|
||||
<property name="compiler.source" value="1.${compiler.release}"/>
|
||||
<property name="compiler.source" value="1.8"/>
|
||||
<property name="compiler.target" value="${compiler.source}"/>
|
||||
|
||||
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
|
||||
|
@ -1,135 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -23,18 +23,17 @@
|
||||
%bcond_with bootstrap
|
||||
%endif
|
||||
%global base_name maven-javadoc-plugin
|
||||
Version: 3.11.2
|
||||
Version: 3.6.0
|
||||
Release: 0
|
||||
Summary: Maven plugin for creating javadocs
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Java
|
||||
URL: https://maven.apache.org/plugins/maven-javadoc-plugin
|
||||
Source0: %{base_name}-%{version}.tar.xz
|
||||
Source0: https://repo1.maven.org/maven2/org/apache/maven/plugins/%{base_name}/%{version}/%{base_name}-%{version}-source-release.zip
|
||||
Source1: %{base_name}-build.xml
|
||||
Patch0: %{base_name}-bootstrap-resources.patch
|
||||
Patch1: stale-data-encoding.patch
|
||||
Patch2: reproducible-from-environment.patch
|
||||
BuildRequires: apache-commons-io
|
||||
Patch2: no-override.patch
|
||||
BuildRequires: apache-commons-lang3
|
||||
BuildRequires: apache-commons-text
|
||||
BuildRequires: atinject
|
||||
@ -44,15 +43,16 @@ BuildRequires: httpcomponents-core
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: maven-archiver
|
||||
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-sitetools
|
||||
BuildRequires: maven-invoker
|
||||
BuildRequires: maven-lib
|
||||
BuildRequires: maven-plugin-annotations
|
||||
BuildRequires: maven-reporting-api
|
||||
BuildRequires: maven-reporting-impl
|
||||
BuildRequires: maven-reporting-api >= 3.1.0
|
||||
BuildRequires: maven-resolver-api
|
||||
BuildRequires: maven-resolver-impl
|
||||
BuildRequires: maven-resolver-util
|
||||
BuildRequires: maven-shared-utils
|
||||
BuildRequires: maven-wagon-provider-api
|
||||
@ -65,11 +65,10 @@ BuildRequires: plexus-xml
|
||||
BuildRequires: qdox
|
||||
BuildRequires: sisu-inject
|
||||
BuildRequires: sisu-plexus
|
||||
BuildRequires: slf4j
|
||||
BuildRequires: unzip
|
||||
BuildRequires: xmvn-install
|
||||
BuildRequires: xmvn-resolve
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:) >= 40
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:)
|
||||
BuildArch: noarch
|
||||
%if %{with bootstrap}
|
||||
Name: %{base_name}-bootstrap
|
||||
@ -82,6 +81,7 @@ 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-javadoc-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-surefire-plugin)
|
||||
BuildRequires: mvn(org.codehaus.modello:modello-maven-plugin)
|
||||
@ -117,6 +117,9 @@ cp %{SOURCE1} build.xml
|
||||
%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:
|
||||
|
||||
%build
|
||||
@ -131,9 +134,10 @@ build-jar-repository -s lib \
|
||||
maven-archiver/maven-archiver \
|
||||
maven-common-artifact-filters/maven-common-artifact-filters \
|
||||
maven-doxia/doxia-core \
|
||||
maven-doxia/doxia-logging-api \
|
||||
maven-doxia/doxia-module-xhtml \
|
||||
maven-doxia/doxia-module-xhtml5 \
|
||||
maven-doxia/doxia-sink-api \
|
||||
maven-doxia-sitetools/doxia-integration-tools \
|
||||
maven-doxia-sitetools/doxia-site-renderer \
|
||||
maven-invoker/maven-invoker \
|
||||
maven/maven-artifact \
|
||||
@ -156,9 +160,8 @@ build-jar-repository -s lib \
|
||||
plexus-languages/plexus-java \
|
||||
plexus/utils \
|
||||
plexus/xml \
|
||||
qdox \
|
||||
slf4j/api
|
||||
ant -Dtest.skip=true jar
|
||||
qdox
|
||||
%{ant} -Dtest.skip=true jar
|
||||
%else
|
||||
xmvn --batch-mode --offline \
|
||||
-Dmaven.test.skip=true -DmavenVersion=3.5.0 \
|
||||
@ -175,9 +178,13 @@ xmvn --batch-mode --offline \
|
||||
%fdupes -s %{buildroot}%{_javadocdir}
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE
|
||||
%doc NOTICE
|
||||
|
||||
%if %{without bootstrap}
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE
|
||||
%doc NOTICE
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
10
no-override.patch
Normal file
10
no-override.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- 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);
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
--- 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 @@
|
||||
--- a/src/main/java/org/apache/maven/plugins/javadoc/StaleHelper.java
|
||||
+++ b/src/main/java/org/apache/maven/plugins/javadoc/StaleHelper.java
|
||||
@@ -40,6 +40,19 @@ import org.codehaus.plexus.util.cli.Commandline;
|
||||
--- 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 {
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
/**
|
||||
* Compute the data used to detect a stale javadoc
|
||||
*
|
||||
@@ -55,13 +68,7 @@ public class StaleHelper {
|
||||
@@ -56,13 +69,7 @@
|
||||
String[] args = cmd.getArguments();
|
||||
Collections.addAll(options, args);
|
||||
|
||||
@ -35,16 +35,18 @@
|
||||
|
||||
for (String arg : args) {
|
||||
if (arg.startsWith("@")) {
|
||||
@@ -115,9 +122,11 @@ public class StaleHelper {
|
||||
@@ -116,9 +123,11 @@
|
||||
*/
|
||||
public static void writeStaleData(Commandline cmd, Path path) throws MavenReportException {
|
||||
try {
|
||||
+ final Charset cs = getDataCharset();
|
||||
+
|
||||
List<String> curdata = getStaleData(cmd);
|
||||
String curdata = getStaleData(cmd);
|
||||
Files.createDirectories(path.getParent());
|
||||
- Files.write(path, curdata, StandardCharsets.UTF_8);
|
||||
+ Files.write(path, curdata, cs);
|
||||
- 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user