[
https://issues.apache.org/jira/browse/MEAR-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17194817#comment-17194817
]
Herve Boutemy edited comment on MEAR-284 at 9/12/20, 5:47 PM:
--------------------------------------------------------------
perhaps cause by this bug on Java 8 on Linux, where last modified date of a
File is rounded to second [https://bugs.openjdk.java.net/browse/JDK-8177809] ...
what is interesting is
{quote}CUSTOMER SUBMITTED WORKAROUND :
Call Files.getLastModifiedTime(f.toPath()).toMillis() instead of
f.lastModified()
{quote}
was (Author: hboutemy):
perhaps cause by this bug on Java 8 on Linux, where last modified date of a
File is rounded to second https://bugs.openjdk.java.net/browse/JDK-8177809 ...
> Tests fail at HEAD on Linux
> ---------------------------
>
> Key: MEAR-284
> URL: https://issues.apache.org/jira/browse/MEAR-284
> Project: Maven Ear Plugin
> Issue Type: Test
> Affects Versions: 3.1.0
> Reporter: Elliotte Rusty Harold
> Priority: Blocker
> Fix For: 3.1.0
>
>
> Possibly on other systems:
> {noformat}[INFO] Building: packaging-includes/pom.xml
> [INFO] run post-build script verify.bsh
> [INFO] The post-build script did not succeed. Missing archive entry:
> META-INF/application.xml
> [INFO] packaging-includes/pom.xml ................ FAILED (1.4 s)
> ...
> [ERROR] The following builds failed:
> [ERROR] * packaging-includes/pom.xml
> [ERROR] * basic/pom.xml{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)