I have a project that is calling a maven plugin (open-api-generator) to make a build based on an api specification. I don't want to share the project but I'd like to create a jar that somewhat simulate a "mvn compile" using an internal maven pom.xml.
Is this possible?