jira-importer commented on issue #142: URL: https://github.com/apache/maven-ear-plugin/issues/142#issuecomment-2955258435
**[Siarhei Dudzin](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=svadu)** commented This only works for me if the pom file of "test-ear" project does not have "\<build>" section (that attached project still does not build with the applied patch). As soon as I put that \<build> section back I have the same error as above. For some reason the module variable is not Ejb3Module but EjbModule which cause getType() returning "ejb" and not "ejb3" which make the exception to be thrown. Unfortunately I could not find how the modules are initialized if the \<build> element is present in the pom file. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
