We have a legacy Maven application which is being deployed to IBM Websphere 8.5. Is a multi module application, and some of the modules contain Ejbs (Session, message driven, and entity) 2.0
Until now, we are generating the EAR artifact from the local machine. During the build process, the deployment code for EJBs are being generated and included into the ejbs jar modules by the was6-maven-plugin.
Now, we want to setup a GitHub actions pipeline for this application, but don't reach to have the stubs and stuff needed to deploy the EJBs in Websphere, since we cannot use was6-maven-plugin in the pipeline. Why not? Because it requires and installation of websphere to work in the machine <wasHome>${was.path}</wasHome>
.
All the ways I have found generate the deployment code during the build process for these Ejbs need to have a Websphere installation available.
Also I have read that if the deployment code is not generated during the build process, the server generates it during the deployment phase. Y have deleted was6-maven-plugin from the pom, generated the EAR without the stubs, and tried to deploy it. Indeed the server launch the ejbdeploy task and tried to generate the deployment code for EJBs, but unfortunately the process goes hung and never ends.
I want to know if is there any way to generate the EJbs code without a server installation available, and if not, if is there any way to have an installation of the server available in the pipeline in order to this work (pipeline is running over ubuntu-18.04)