Cayenne User Documentation
Maven2 Plugins

Maven2 Plugins

Cayenne ships with Maven 2 plugins that provide Maven 2 frontend to a number of useful operations in Cayenne. The following tasks are included:

Importing Cayenne Plugin in pom.xml

You need to add the Cayenne plugin to your project by adding the following:

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

Sections

  1. maven2-cgen
  2. maven2-cdbgen
  3. maven2-cdeploy
  4. maven2-cdataport
.