| Title: Maven2 Plugins |
| |
| <H2><A name="Maven2Plugins-Maven2Plugins"></A>Maven2 Plugins</H2> |
| |
| <P>Cayenne ships three plugins that provide Maven 2 frontend to a number of useful operations in Cayenne. </P> |
| |
| <H3><A name="Maven2Plugins-mavencayenneplugin"></A>maven-cayenne-plugin</H3> |
| |
| <P>This plugin is imported into pom.xml as follows:</P> |
| |
| <DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent"> |
| <PRE class="code-java"> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.cayenne.plugins</groupId> |
| <artifactId>maven-cayenne-plugin</artifactId> |
| <version>3.0.1</version> |
| </plugin> |
| </plugins> |
| </build> |
| </PRE> |
| </DIV></DIV> |
| |
| <P>It has the following goals:</P> |
| |
| <UL> |
| <LI><B><A href="maven2-cgen.html" title="maven2-cgen">cayenne:cgen</A></B> - Java class generator</LI> |
| <LI><B><A href="maven2-cdbgen.html" title="maven2-cdbgen">cayenne:cdbgen</A></B> - Database schema generator</LI> |
| <LI><B><A href="maven2-cdbimport.html" title="maven2-cdbimport">cayenne:cdbimport</A></B> - Database schema importer</LI> |
| </UL> |
| |
| |
| |
| <H3><A name="Maven2Plugins-mavencayennemodelerplugin"></A>maven-cayenne-modeler-plugin</H3> |
| |
| <P>This plugin is imported into pom.xml as follows:</P> |
| |
| <DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent"> |
| <PRE class="code-java"> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.cayenne.plugins</groupId> |
| <artifactId>maven-cayenne-modeler-plugin</artifactId> |
| <version>3.0.1</version> |
| </plugin> |
| </plugins> |
| </build> |
| </PRE> |
| </DIV></DIV> |
| |
| <P>It has one goal:</P> |
| |
| <UL> |
| <LI><B><A href="maven2-modeler.html" title="maven2-modeler">cayenne-modeler:run</A></B> - Start up the modeler from the command-line</LI> |
| </UL> |
| |
| |
| |
| |
| |
| |
| |
| <H3><A name="Maven2Plugins-Sections"></A>Sections</H3> |
| |
| <OL> |
| <LI><A href="maven2-cgen.html" title="maven2-cgen">maven2-cgen</A></LI> |
| <LI><A href="maven2-cdbgen.html" title="maven2-cdbgen">maven2-cdbgen</A></LI> |
| <LI><A href="maven2-cdbimport.html" title="maven2-cdbimport">maven2-cdbimport</A></LI> |
| <LI><A href="maven2-modeler.html" title="maven2-modeler">maven2-modeler</A></LI> |
| </OL> |
| |
| |