]> juplo.de Git - website/blob
8c4ff499e3ebb0ce88469406e5efe56da380b5c8
[website] /
1 ---
2 title: Plugin Documentation
3 weight: 19
4 url: /projects/hibernate-maven-plugin/2.1.2-SNAPSHOT/plugin-info.html
5 layout: article
6 params:
7   canonical: hibernate-maven-plugin/plugin-info.html
8 ---
9 <div id="sili-body">
10 <section>
11 <h2><a name="Plugin_Documentation"></a>Plugin Documentation</h2><a name="Plugin_Documentation"></a>
12 <p>Goals available for this plugin:</p>
13 <table border="0" class="bodyTable">
14 <tr class="a">
15 <th>Goal</th>
16 <th>Description</th></tr>
17 <tr class="b">
18 <td><a href="create-mojo.html">hibernate:create</a></td>
19 <td>Generate/Execute SQL to create a database-schema that represents
20 the configured mappings.</td></tr>
21 <tr class="a">
22 <td><a href="drop-mojo.html">hibernate:drop</a></td>
23 <td>Generate/Execute SQL to drop all tables of a database-schema that
24 represents the configured mappings.</td></tr>
25 <tr class="b">
26 <td><a href="help-mojo.html">hibernate:help</a></td>
27 <td>Display help information on hibernate-maven-plugin.<br />
28 Call <code>mvn hibernate:help -Ddetail=true
29 -Dgoal=&lt;goal-name&gt;</code> to display parameter details.</td></tr>
30 <tr class="a">
31 <td><a href="update-mojo.html">hibernate:update</a></td>
32 <td>Generate/Execute SQL to update the database-schema according to the
33 configured mappings.</td></tr></table><section>
34 <h3><a name="System_Requirements"></a>System Requirements</h3><a name="System_Requirements"></a>
35 <p>The following specifies the minimum requirements to run this Maven plugin:</p>
36 <table border="0" class="bodyTable">
37 <tr class="a">
38 <td>Maven</td>
39 <td>2.0.6</td></tr>
40 <tr class="b">
41 <td>JDK</td>
42 <td>1.8</td></tr>
43 <tr class="a">
44 <td>Memory</td>
45 <td>No minimum requirement.</td></tr>
46 <tr class="b">
47 <td>Disk Space</td>
48 <td>No minimum requirement.</td></tr></table></section><section>
49 <h3><a name="Usage"></a>Usage</h3><a name="Usage"></a>
50 <p>You should specify the version in your project's plugin configuration:</p>
51 <div class="source">
52 {{< highlight guess >}}
53 <project>
54   ...
55   <build>
56     <!-- To define the plugin version in your parent POM -->
57     <pluginManagement>
58       <plugins>
59         <plugin>
60           <groupId>de.juplo</groupId>
61           <artifactId>hibernate-maven-plugin</artifactId>
62           <version>2.1.2-SNAPSHOT</version>
63         </plugin>
64         ...
65       </plugins>
66     </pluginManagement>
67     <!-- To use the plugin goals in your POM or parent POM -->
68     <plugins>
69       <plugin>
70         <groupId>de.juplo</groupId>
71         <artifactId>hibernate-maven-plugin</artifactId>
72         <version>2.1.2-SNAPSHOT</version>
73       </plugin>
74       ...
75     </plugins>
76   </build>
77   ...
78 </project>
79
80 {{< /highlight >}}</div>
81 <p>For more information, see <a class="externalLink" href="http://maven.apache.org/guides/mini/guide-configuring-plugins.html">&quot;Guide to Configuring Plug-ins&quot;</a></p></section></section>
82 </div>
83 <!-- PREPARING ROOT-ENTRY - name: Hibernate Maven Plugin ref: index.html -->
84 <!-- READING MENU - name: Project Documentation ref: reports -->
85 <!-- VISITING PAGE - href: /project-info.html / name: Project Information -->
86 <!-- VISITING PAGE - href: ci-management.html / name: CI Management -->
87 <!-- VISITING PAGE - href: dependencies.html / name: Dependencies -->
88 <!-- VISITING PAGE - href: dependency-info.html / name: Maven Coordinates -->
89 <!-- VISITING PAGE - href: distribution-management.html / name: Distribution Management -->
90 <!-- VISITING PAGE - href: index.html / name: About -->
91 <!-- RENAMING already seen PAGE: href=index.html, FROM name=Hibernate Maven Plugin TO name=About -->
92 <!-- VISITING PAGE - href: licenses.html / name: Licenses -->
93 <!-- VISITING PAGE - href: plugin-management.html / name: Plugin Management -->
94 <!-- VISITING PAGE - href: plugins.html / name: Plugins -->
95 <!-- VISITING PAGE - href: scm.html / name: Source Code Management -->
96 <!-- VISITING PAGE - href: summary.html / name: Summary -->
97 <!-- VISITING PAGE - href: team.html / name: Team -->
98 <!-- VISITING PAGE - href: /project-reports.html / name: Project Reports -->
99 <!-- VISITING PAGE - href: testapidocs/index.html / name: Test JavaDocs -->
100 <!-- VISITING PAGE - href: apidocs/index.html / name: JavaDocs -->
101 <!-- VISITING PAGE - href: xref/index.html / name: Source Xref -->
102 <!-- VISITING PAGE - href: xref-test/index.html / name: Test Source Xref -->
103 <!-- VISITING PAGE - href: cpd.html / name: CPD -->
104 <!-- VISITING PAGE - href: pmd.html / name: PMD -->
105 <!-- VISITING PAGE - href: plugin-info.html / name: Plugin Documentation -->
106 <!-- READING MENU - name: $menu.name ref: $menu.ref -->
107 <!-- VISITING PAGE - href: index.html / name: About -->
108 <!-- RENAMING already seen PAGE: href=index.html, FROM name=About TO name=About -->
109 <!-- VISITING PAGE - href: configuration.html / name: Configuration Examples -->
110 <!-- VISITING PAGE - href: create-mojo.html / name: Goal — hibernate:create -->
111 <!-- VISITING PAGE - href: update-mojo.html / name: Goal — hibernate:update -->
112 <!-- VISITING PAGE - href: drop-mojo.html / name: Goal — hibernate:drop -->
113 <!-- VISITING PAGE - href: help-mojo.html / name: Goal — hibernate:help -->
114 <!-- VISITING PAGE - href: debugging.html / name: Enable Debugging-Output -->
115 <!-- VISITING PAGE - href: skip.html / name: Skipping Execution -->
116 <!-- VISITING PAGE - href: force.html / name: Force Exceution -->
117 <!-- VISITING PAGE - href: pitfalls.html / name: Known Pitfalls (FAQ) -->
118 <!-- VISITING PAGE - href: project-info.html / name: Project Information -->
119 <!-- RENAMING already seen PAGE: href=project-info.html, FROM name=Project Information TO name=Project Information -->
120 <!-- VISITING PAGE - href: project-reports.html / name: Project Reports -->
121 <!-- RENAMING already seen PAGE: href=project-reports.html, FROM name=Project Reports TO name=Project Reports -->