Apache Cayenne Documentation > Documentation > Cayenne Guide > 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:
- maven2-cgen - Java class generator
- maven2-cdbgen
- Database schema generator - maven2-cdeploy
- Deployment configurator - maven2-cdataport
- Data porting tool.
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>