Documentation

PL/SQL Connector Builder Maven-Plugin Documentation

Installation

Configure pom.xml

XML-File : pom.xml
<build>
  <plugins>
    ...
    <plugin>
      <groupId>de.jrdatabasetools.dbworkbench</groupId>
      <artifactId>connectorbuilder-maven-plugin</artifactId>
      <version>2.5.10-SNAPSHOT</version>
      <configuration>
        <connectorBuilderName>rmi</connectorBuilderName>
        <url>${db.url}</url>
        <user>${db.username}</user>
        <password>${db.password}</password>
        <info>warning</info>
      </configuration>
      <executions>
        <execution>
          <phase>generate-sources</phase>
          <goals>
            <goal>run</goal>
          </goals>
        </execution>
      </executions>
    </plugin>
    ...
  </plugins>
</build>
  • connectorBuilderName : Name of the connector builder (required).
  • url, user, password : Connection parameter overwrites setting of the connector builder (optional).
  • info : Information level of output during connector builder run. Valid values : all, compact, warning (optional).

Run PL/SQL Connector Builder from command line

  • The file 'plsqlworkbench.cfg' saved by the UI-Configurator stores the PL/SQL Connector Builder configuration. It must exists in the same folder.
  • mvn connectorbuilder:run

Info

  • The PL/SQL Connector Builder will run on any build process of maven.
  • The Connector Builder types with separated client and server parts needs configuration of the client and the server project. Both connector builder runs separately.

Documentation