Fix check for ear dependency for dependencies of type ejb#1942
Fix check for ear dependency for dependencies of type ejb#1942cherylking merged 5 commits intoOpenLiberty:mainfrom arend-von-reinersdorff:patch-1
Conversation
|
Hi @arend-von-reinersdorff Also take latest update from main to resolve PR check failure issue |
venmanyarun
left a comment
There was a problem hiding this comment.
I see that you have updated the test project , but no changes in
You need to update ConverterAppIT to see whether the ear.xml is containing the ejb in the correct position
Hi @venmanyarun, thanks for looking it over. I adapted ConverterAppIT now and it behaves as expected: Succeeds with the main code change and fails without it. There are other failing tests in the dev-it directory, but they mostly also fail for me when running them on main. |
...s/ear-skinny-modules/src/test/java/it/io/openliberty/guides/multimodules/ConverterAppIT.java
Outdated
Show resolved
Hide resolved
|
@arend-von-reinersdorff Looks good to me.. @cherylking please check |
|
Hi @arend-von-reinersdorff |
Hi @venmanyarun, submitted the CLA via email now |
cherylking
left a comment
There was a problem hiding this comment.
Looks good to me. Thanks for the contribution!
|
Confirmed we received the CLA and it has been approved. Thank you! |
Fixes #1941
This extended check is already used in DeployMojoSupport.addSkinnyArtifactLib()
I tested the fix locally. There is a test project dealing with skinny wars already: https://github.com/OpenLiberty/ci.maven/tree/main/liberty-maven-plugin/src/it/dev-it/resources/multi-module-projects/multipleLibertyModules Maybe it could be extended with an EJB dependency? But I don't know how to run these tests.