2 <!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 2013-12-16 -->
3 <!-- Current: debugging.html -->
4 <!-- Active: index.html -->
5 <!-- Path: [index.html, debugging.html] -->
6 <!-- Skiplist: [index.html, configuration.html, export-mojo.html, debugging.html, skip.html, force.html, pitfalls.html] -->
9 <title>juplo - Hibernate 4 Maven Plugin - Enable Debug-Output</title>
10 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
11 <link rel="canonical" href="http://juplo.de/hibernate4-maven-plugin/debugging.html"/>
12 <link rel="stylesheet" type="text/css" href="/css/base.css" />
13 <style type="text/css">
14 @import '/css/screen.css' screen and (min-width: 960px);
15 @import '/css/phone.css' screen and (max-width: 599px);
16 @import '/css/tiny.css' screen and (max-width: 399px);
18 <script src="/js/base.js"></script>
20 <script src="/js/ie8.js"></script>
23 <script src="/js/ie7.js"></script>
26 <script src="/js/ie6.js"></script>
28 <meta name="author" content="Kai Moritz" />
29 <meta name="Date-Revision-yyyymmdd" content="20131216" />
30 <meta http-equiv="Content-Language" content="en" />
33 <body onload="prettyPrint()">
36 <a href="/" title="Home" id="logo">juplo</a>
37 <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
41 <strong class="b title">You are here:</strong>
43 <li class="b"><a class="b" href="/">Home</a></li>
44 <li class="b"><a class="b" href="/projects.html">Projects</a></li>
45 <li class="b"><a class="b" href="./index.html">Hibernate 4 Maven Plugin</a </li>
46 <li class="b"><strong class="b">Enable Debug-Output</strong></li>
48 <a class="hide" href="#navigation">Jump to navigation</a>
51 <div class="fc cols_2">
52 <div class="content cf">
53 <section id="content" class="main">
54 <h1>Hibernate 4 Maven Plugin - Enable Debug-Output</h1>
55 <p>If you are new to <tt>hibernate4-maven-plugin</tt>, in many cases, the <a name="Configuration-Method-Precedence">Configuration-Method-Precedence</a> may be the source of configuration errors. To solve this problem, you should run maven with the debugging output enabled. For example, by executing:</p>
57 <pre>mvn -X compile hibernate4:export </pre></div>
58 <p>(The <tt>compile</tt> might be necessary, because <tt>hibernate4-maven-plugin</tt> has to scan the compiled classes for annotations!)</p>
59 <p>Unlike the majority of the maven-plugins, <tt>hibernate4-maven-plugin</tt> was designed to give a good many hints, when debugging is enabled. Because, if you do not know, what went wrong, you can't fix it!</p>
60 <p><b>But be warned:</b> <tt>hibernate4-maven-plugin</tt> tends to be very chatty ;)</p>
62 <div class="marginal">
65 <a id="navigation"></a>
66 <h2 class="nav menu">Section-Menu</h2>
68 <li class="m blog"><a href="/blog/" class="m">Blog</a></li>
69 <li class="m projects"><a href="/projects.html" class="m selected">Projects</a></li>
71 <h2 class="nav submenu">
72 <span class="s">Submenu for section</span>
73 <a class="s selected" href="/projects.html">Projects</a>
75 <ul id="submenu" class="s">
77 <a class="s selected" href="./index.html">Hibernate 4 Maven Plugin</a>
80 <a href="configuration.html" class="s" title="Configuration Examples">Configuration Examples</a>
83 <a href="export-mojo.html" class="s" title="Parameter Documentation">Parameter Documentation</a>
86 <strong class="s">Enable Debug-Output</strong>
89 <a href="skip.html" class="s" title="Skipping Execution">Skipping Execution</a>
92 <a href="force.html" class="s" title="Force Exceution">Force Exceution</a>
95 <a href="pitfalls.html" class="s" title="Known Pitfalls (FAQ)">Known Pitfalls (FAQ)</a>
98 <a href="project-info.html" class="s" title="Project Information">Project Information</a>
101 <a href="project-reports.html" class="s" title="Project Reports">Project Reports</a>
109 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
110 <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
118 <ul id="footerlinks">
119 <li class="f" id="copyright">© <strong>mo</strong> 2013
124 <script type="text/javascript"><!--//--><![CDATA[//><!--
125 var _gaq = _gaq || [];
126 _gaq.push(['_setAccount', 'UA-571104-3']);
127 _gaq.push(['_trackPageview']);
129 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
130 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
131 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);