Maven2 Plugins

Cayenne ships three plugins that provide Maven 2 frontend to a number of useful operations in Cayenne.

maven-cayenne-plugin

This plugin is imported into pom.xml as follows:

<build>
  <plugins>
    <plugin>
       <groupId>org.apache.cayenne.plugins</groupId>
       <artifactId>maven-cayenne-plugin</artifactId>
       <version>3.0.1</version>
    </plugin>
  </plugins>
</build>

It has the following goals:

maven-cayenne-modeler-plugin

This plugin is imported into pom.xml as follows:

<build>
  <plugins>
    <plugin>
       <groupId>org.apache.cayenne.plugins</groupId>
       <artifactId>maven-cayenne-modeler-plugin</artifactId>
       <version>3.0.1</version>
    </plugin>
  </plugins>
</build>

It has one goal:

Sections

  1. maven2-cgen
  2. maven2-cdbgen
  3. maven2-cdbimport
  4. maven2-modeler