Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
maven-javadoc-plugin
reproducible-from-environment.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reproducible-from-environment.patch of Package maven-javadoc-plugin
--- maven-javadoc-plugin-3.6.0/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java 2024-09-24 16:49:08.084112591 +0200 +++ maven-javadoc-plugin-3.6.0/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java 2024-09-24 16:52:42.392279532 +0200 @@ -2665,6 +2665,14 @@ 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())
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor