Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Remember that a Service Unit is pretty useless outside a Service Assembly

The maven plugin will generate the ServiceUnit jbi descritor if the component contains a ServiceUnitAnalyzer. In some cases, the ServiceUnitAnalyzer may fail to create the needed informations and generate an exception (if the service unit requires some runtime dependencies, such as JNDI objects for example). When such a problem happen, you can disable the jbi.xml generation by using the following configuration:

Code Block
lakngxml

<plugin>
  <groupId>org.apache.servicemix.tooling</groupId>
  <artifactId>jbi-maven-plugin</artifactId>
  <version>1.0-incubating-SNAPSHOT</version>
  <extensions>true</extensions>
  <configuration>
    <useServiceUnitAnalyzer>false</useServiceUnitAnalyzer>
  </configuration>
</plugin>