The buildMule operation allows for building Mule projects, whether they are Maven projects or not.
The plugin's versatility allows for use in a number of different scenarios.
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.
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.
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
FDMULE_APP_NAME |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Mule Project Path | FDMULE_PROJECT_PATH | No | This is the folder that typically is named for your application and contains your [src] folder. Relative paths are sourced from the FD_TEMP_DIR. |
http.port | FDMULE_HTTP_PORT | No | HTTP port to use when running Maven tests. This should be a different number than the one that is usually used to run the application on the server. This only works if |
Outputs
Output Name | Required | Description |
---|---|---|
Artifacts
This operation produces artifacts that will be stored in the artifacts repository.
Endpoint Selection
This operation will select all available endpoints associated to the environment/instance.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.