I am trying to follow the guide here to learn to run integration tests which is exactly what we need functionality wise. https://github.com/OpenLiberty/guide-jpa-intro/blob/prod/finish/backendServices
In our org the way things are setup is that we produce a jar file instead of a war file at this phase of the project. Then another unrelated devops project which we do not control over builds the war file from this jar file with various env specific properties and deploys it.
https://github.com/OpenLiberty/guide-jpa-intro/blob/prod/finish/backendServices/pom.xml
<groupId>io.openliberty.guides</groupId>
<artifactId>backendServices</artifactId>
**<packaging>jar</packaging>**
<version>1.0-SNAPSHOT</version>
The question is how do we tell openliberty ideally programmatically to turn the jar file into a war file to deploy the binary and then use it for integration testing ? for e.g. run the below test https://github.com/OpenLiberty/guide-jpa-intro/blob/prod/finish/backendServices/src/test/java/it/io/openliberty/guides/event/EventEntityIT.java