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

Herve Boutemy edited comment on MEAR-284 at 9/12/20, 5:36 PM:
--------------------------------------------------------------

trying to understand, and with past experience on maven-war-plugin when such 
file was disappearing after a feature like MEAR-278 was added, I added a log 
when deleting outdated resource in 
[6a5ec7360101ca4e174cbf523b13264ca3da5695|https://github.com/apache/maven-ear-plugin/commit/6a5ec7360101ca4e174cbf523b13264ca3da5695]

then it seems the missing application.xml is *sometimes* deleted by the 
outdated resource process:
{noformat}
[INFO] Copy ear sources to /maven-ear-plugin/target/it/basic/target/test-1.0
[INFO] deleting outdated resource META-INF/application.xml{noformat}

I add the *sometimes* because on my computer, the list of failing ITs varies 
from execution to execution, and there even no issue with JDK 11...


was (Author: hboutemy):
trying to understand, and with past experience on maven-war-plugin when such 
file was disappearing after a feature like MEAR-278 was added, I added a log 
when deleting outdated resource in 
[6a5ec7360101ca4e174cbf523b13264ca3da5695|https://github.com/apache/maven-ear-plugin/commit/6a5ec7360101ca4e174cbf523b13264ca3da5695]

then it seems the missing application.xml is *sometimes* deleted by the 
outdated resource process:
{noformat}
 [INFO] Copy ear sources to 
/maven-ear-plugin/target/it/basic/target/test-1.0[INFO] deleting outdated 
resource META-INF/application.xml{noformat}

I add the *sometimes* because on my computer, the list of failing ITs varies 
from execution to execution, and there even no issue with JDK 11...

> 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
>            Reporter: Elliotte Rusty Harold
>            Priority: Blocker
>
> 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)

Reply via email to