> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# bpmBuild

> Compiles and generates an SCA artifact for the composite that can be deployed to the server. This artifact may be a full composite SAR file, or it may

Compiles and generates an SCA artifact for the composite that can be deployed to the server.  This artifact may be a full composite SAR file, or it may be a sparse patch SAR file (12.2.1+ versions only), if a patch.xml file is detected in the checked-out code. This operation should be run on a SOA server. To accomplish this, Flexagon recommends adding the SOA instance to a build environment rather than checking the "Build Environment" checkbox in a deployment environment. This will reduce the number of environments that show up when you choose to build. 

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>MDS UserID</td><td>`FDMDS_USERID`</td><td>Yes</td><td>Username for MDS access.</td></tr><tr><td>MDS Password</td><td>`FDMDS_PASSWORD`</td><td>Yes</td><td>Password for *MDS UserID*.</td></tr><tr><td>MDS JDBC URL</td><td>`FDMDS_JDBCURL`</td><td>Yes</td><td>Database URL for MDS access.</td></tr><tr><td>Oracle SOA Home</td><td>`FD_ORACLE_SOA_HOME`</td><td>Yes</td><td>Oracle SOA Home indicates where SOA Suite is installed.</td></tr><tr><td>SOA Extend Classpath</td><td>`FDSOA_EXT_CLASSPATH`</td><td>No</td><td>Ability to extend the plugin classpath for external java classes or custom xpath functions</td></tr></tbody></table>

# Project Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>SOA Composite Name</td><td>`FDSOA_COMPOSITE_NAME`</td><td>Yes</td><td>Name of composite that is being deployed.</td></tr></tbody></table>

# Artifacts

This operation produces a SCA composite jar as the artifact that will be stored in the artifacts repository. 

# Endpoint Selection

This operation will select all available endpoints associated to the Target. 

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one. 

# Special Considerations

This operation doesn't perform any property replacement since the environment is unknown at build time. \
Utilize the *SOA Extend Classpath* environment variable to extend the plugin classpath to allow the compile to succeed with custom java classes or xpath functions. 

# Configuration plans

During the build workflow, all configuration plans within the checked-out composite are discovered and saved in a separate folder (./artifacts/configPlans) under the artifacts directory. All artifacts, including the configuration plans, will be saved in the artifact repository.
