...
1 - If a pom.xml is found in the project, it will be run with Maven, using the package
lifecycle. Any tests will be run during the build process. The output of the tests will be in the plugin execution log.
If it is not desired to run these steps, it maybe more beneficial to run the runMaven
2- If it is not a Maven project, it will be built using javac and other command line tools. Make sure that the Java_HOME specified on the endpoint is a JDK of the required version.
...