Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The buildMule operation allows for building Mule projects, whether they are Maven projects or not. It automatically copies the completed zip file over to the FD_ARTIFACTS_DIR.


Maven ProjectsNon-Maven Projects

 If a pom.xml is found in the projectPath, 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 more control over the lifecycles or arguments is required, the runMaven operation works exactly the same, except that it doesn't save the artifact to the artifact repository automatically. This can be done with the File - saveArtifacts operation.

If the project is not a Maven project, it will be built using javac and other command line tools.

Make sure that the

Java_

JDK HOME specified on the endpoint is a JDK of the required version.

The FDMULE_HOME property is used to find the libraries that are necessary to compile the Mule project.


Environment/Instance Properties

...