Create a project that uses JPA... like in the reference docs examples for creating a basic EE webapp.<br><br>You wouldn&#39;t want to install JPA into the hibernate-tools-plugin itself, that wouldn&#39;t make sense :)<br><br>
<div class="gmail_quote">On Mon, Apr 11, 2011 at 3:13 PM, brian <span dir="ltr">&lt;<a href="mailto:brianx@vt.edu">brianx@vt.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
list-facets doesn&#39;t show PersistenceFacet.  how to make it available?<br>
<div><div></div><div class="h5"><br>
On Mon, 2011-04-11 at 15:05 -0400, Lincoln Baxter, III wrote:<br>
&gt; Notice that the plugin has a few requirements:<br>
&gt;<br>
&gt;<br>
&gt; @RequiresProject<br>
&gt; @RequiresFacet(PersistenceFacet.class)<br>
&gt;<br>
&gt; All of these must be satisfied before the plugin will be available. In<br>
&gt; english, this means that you need a project, and that project must<br>
&gt; have the PersistenceFacet installed already; then and only then will<br>
&gt; the plugin be available to execute.<br>
&gt;<br>
&gt; ~Lincoln<br>
&gt;<br>
&gt; On Mon, Apr 11, 2011 at 2:59 PM, brian &lt;<a href="mailto:brianx@vt.edu">brianx@vt.edu</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;         builds fine, as before<br>
&gt;<br>
&gt;         [INFO]<br>
&gt;         Replacing /home/brianx/plugin-hibernate-tools/target/hibernate-tools-plugin-1.0.0-SNAPSHOT.jar with /home/brianx/plugin-hibernate-tools/target/hibernate-tools-plugin-1.0.0-SNAPSHOT-shaded.jar<br>
&gt;         [INFO]<br>
&gt;         ------------------------------------------------------------------------<br>
&gt;         [INFO] BUILD SUCCESS<br>
&gt;         [INFO]<br>
&gt;         ------------------------------------------------------------------------<br>
&gt;         [INFO] Total time: 6.175s<br>
&gt;         [INFO] Finished at: Mon Apr 11 13:35:52 EDT 2011<br>
&gt;         [INFO] Final Memory: 50M/299M<br>
&gt;         [INFO]<br>
&gt;         ------------------------------------------------------------------------<br>
&gt;         ***SUCCESS*** Build successful.<br>
&gt;         An existing version of this plugin was found. Replace it?<br>
&gt;         [Y/n]<br>
&gt;         ***INFO*** Installing plugin artifact.<br>
&gt;         Wrote /home/brianx/.forge/plugins/org.jboss.hibernate.forge<br>
&gt;         $hibernate-tools-plugin$3$1.0.0-SNAPSHOT.jar<br>
&gt;         ***SUCCESS*** Installed from [plugin-hibernate-tools]<br>
&gt;         successfully.<br>
&gt;         [hibernate-tools-plugin] plugin $ generate-entities<br>
&gt;         ***ERROR*** No such command: generate-entities<br>
&gt;<br>
&gt;<br>
&gt;         but docs say that &#39;alias&#39; in forge should execute.  doesn&#39;t.<br>
&gt;          missing a<br>
&gt;         step?<br>
&gt;<br>
&gt;         b<br>
&gt;<br>
&gt;<br>
&gt;         On Mon, 2011-04-11 at 14:51 -0400, Lincoln Baxter III (JIRA)<br>
&gt;         wrote:<br>
&gt;         &gt;<br>
&gt;         [ <a href="https://issues.jboss.org/browse/SEAMFORGE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12594850#comment-12594850" target="_blank">https://issues.jboss.org/browse/SEAMFORGE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12594850#comment-12594850</a> ]<br>

&gt;         &gt;<br>
&gt;         &gt; Lincoln Baxter III commented on SEAMFORGE-135:<br>
&gt;         &gt; ----------------------------------------------<br>
&gt;         &gt;<br>
&gt;         &gt; Did you overwrite an existing Forge installation, or start<br>
&gt;         with a fresh folder installation? What happens if you try<br>
&gt;         removing forge and un-zipping a fresh copy?<br>
&gt;         &gt;<br>
&gt;         &gt; &gt; Forge fails to start<br>
&gt;         &gt; &gt; --------------------<br>
&gt;         &gt; &gt;<br>
&gt;         &gt; &gt;                 Key: SEAMFORGE-135<br>
&gt;         &gt; &gt;                 URL:<br>
&gt;         <a href="https://issues.jboss.org/browse/SEAMFORGE-135" target="_blank">https://issues.jboss.org/browse/SEAMFORGE-135</a><br>
&gt;         &gt; &gt;             Project: Seam Forge<br>
&gt;         &gt; &gt;          Issue Type: Bug<br>
&gt;         &gt; &gt;          Components: Forge Build<br>
&gt;         &gt; &gt;    Affects Versions: 1.0.0.Alpha3<br>
&gt;         &gt; &gt;            Reporter: Yarco Hayduk<br>
&gt;         &gt; &gt;<br>
&gt;         &gt; &gt; C:\Windows\system32&gt;forge<br>
&gt;         &gt; &gt; Error: Could not find or load main class %<br>
&gt;         MY_FORGE_HOME_PATH%\forge-1.0.0.Alpha3\lib\aether-api.jar<br>
&gt;         &gt; &gt; I double checked the PATH variables.<br>
&gt;         &gt;<br>
&gt;         &gt; --<br>
&gt;         &gt; This message is automatically generated by JIRA.<br>
&gt;         &gt; For more information on JIRA, see:<br>
&gt;         <a href="http://www.atlassian.com/software/jira" target="_blank">http://www.atlassian.com/software/jira</a><br>
&gt;         &gt; _______________________________________________<br>
&gt;         &gt; forge-dev mailing list<br>
&gt;         &gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt;         &gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
&gt;<br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         forge-dev mailing list<br>
&gt;         <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt;         <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Lincoln Baxter, III<br>
&gt; <a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br>
&gt; <a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>
&gt; &quot;Keep it Simple&quot;<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>&quot;Keep it Simple&quot;<br>