Questo contenuto non è disponibile nella lingua selezionata.
10.5. Configuring Dependencies
When you configure KIE, JBoss BRMS, or Jboss BPM Suite in your application, you can follow one of the following approaches to build your OSGi application bundles:
- Bundle required dependencies into your application bundle. In this approach, you declare all required artifacts as runtime dependencies in your
pom.xml
. Hence, you need not import the packages that provide these artifacts that you have already added as dependencies.
- Import the required dependencies into the application bundle. This is a preferred approach for building OSGi bundles as it adheres to the principles of OSGi framework. In this approach, you declare only the API jars (such as org.kie:kie-api) as dependencies in your application bundle. You will need to install the required BRMS and BPM Suite bundles and then import them in your application.