You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/08/20 08:59:00 UTC

[jira] [Commented] (SLING-10744) Generating Javadoc with parent 44 fails

    [ https://issues.apache.org/jira/browse/SLING-10744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402113#comment-17402113 ] 

Konrad Windszus commented on SLING-10744:
-----------------------------------------

Isn't this a duplicate of SLING-10672? The workaround is easy, just add a real timestamp value to property {{project.build.outputTimestamp}}. The value itself does not matter, as it is automatically updated with {{mvn release:prepare}}.

> Generating Javadoc with parent 44 fails
> ---------------------------------------
>
>                 Key: SLING-10744
>                 URL: https://issues.apache.org/jira/browse/SLING-10744
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model Analyser
>    Affects Versions: Feature Model Analyser 1.3.34
>            Reporter: A. J. David Bosschaert
>            Priority: Major
>             Fix For: Feature Model Analyser 1.3.36
>
>
> When running {{mvn javadoc:jar}} with parent 44 the execution fails as follows:
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:3.0.0-M4:perform (default-cli) on project org.apache.sling.feature.analyser: Maven execution failed, exit code: '1' -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:3.0.0-M4:perform (default-cli) on project org.apache.sling.feature.analyser: Maven execution failed, exit code: '1'
> {code}
> Seems to be some date/time problem with the Javadoc:
> {code}
> [INFO] Caused by: java.time.format.DateTimeParseException: Text '1' could not be parsed at index 0
> [INFO]     at java.time.format.DateTimeFormatter.parseResolved0 (DateTimeFormatter.java:2046)
> [INFO]     at java.time.format.DateTimeFormatter.parse (DateTimeFormatter.java:1874)
> [INFO]     at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.getBottomText (AbstractJavadocMojo.java:3007)
> [INFO]     at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.addStandardDocletOptions (AbstractJavadocMojo.java:5549)
> [INFO]     at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeReport (AbstractJavadocMojo.java:2170)
> [INFO]     at org.apache.maven.plugins.javadoc.JavadocJar.doExecute (JavadocJar.java:199)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)