[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-298) Various test failures in impl-maven-embedded on Windows
Bartosz Majsak (Jira)
issues at jboss.org
Mon Jan 6 08:00:03 EST 2020
[ https://issues.redhat.com/browse/SHRINKRES-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bartosz Majsak updated SHRINKRES-298:
-------------------------------------
Fix Version/s: 3.1.4
> Various test failures in impl-maven-embedded on Windows
> -------------------------------------------------------
>
> Key: SHRINKRES-298
> URL: https://issues.redhat.com/browse/SHRINKRES-298
> Project: ShrinkWrap Resolvers
> Issue Type: Bug
> Components: EmbeddedMaven
> Affects Versions: 3.1.3
> Reporter: Falko Modler
> Assignee: Matous Jobanek
> Priority: Minor
> Fix For: 3.1.4
>
> Attachments: org.jboss.shrinkwrap.resolver.impl.maven.embedded.BuildOutputTestCase.txt, org.jboss.shrinkwrap.resolver.impl.maven.embedded.invoker.equipped.InvokerEquippedEmbeddedMavenForJarSampleTestCase.txt, org.jboss.shrinkwrap.resolver.impl.maven.embedded.pom.equipped.PomEquippedEmbeddedMavenForJarSampleTestCase.txt, org.jboss.shrinkwrap.resolver.impl.maven.embedded.pom.equipped.PomEquippedEmbeddedMavenRunningAsDaemonTestCase.txt
>
>
> Building the project in this environment:
> {noformat}
> $ ./mvnw -version
> Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T09:58:13+02:00)
> Maven home: C:\Users\Falko\.m2\wrapper\dists\apache-maven-3.5.2-bin\28qa8v9e2mq69covern8vmdkj0\apache-maven-3.5.2
> Java version: 1.8.0_202, vendor: Oracle Corporation
> Java home: C:\_dev\Java\jdk1.8.0_202\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
> {noformat}
> yields multiple test failures which can be broken down into two cause categories:
> - log output matching with {{/}} instead of {{File.separatorChar}}
> - failing {{clean}} due to still opened jar files (Windows is very picky about that)
> The second category is mainly caused by Shrinkwrap leaving {{ZipFile}} objects open after they have been parsed into {{Archives}} (which makes sense if you'd want to modify them) in combination with each test operating on the same test project in {{src/it}}.
> The second aspect is not a good idea in terms of test separation, either.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the shrinkwrap-issues
mailing list