2 <!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 2014-04-29 -->
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, 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 <meta name="viewport" content="width=device-width, initial-scale=1" />
13 <link rel="stylesheet" type="text/css" href="/css/base.css" />
14 <style type="text/css">
15 @import '/css/screen.css' screen;
16 @import '/css/print.css' print;
18 <script src="/js/base.js"></script>
20 <link rel="stylesheet" type="text/css" href="/css/ie8.css" />
21 <script src="/js/ie8.js"></script>
24 <script src="/js/ie7.js"></script>
27 <script src="/js/ie6.js"></script>
29 <meta name="Date-Revision-yyyymmdd" content="20140429" />
30 <meta http-equiv="Content-Language" content="en" />
33 <body id="top" class="menu" onload="prettyPrint()">
34 <div id="page" class="cf">
36 <h1 id="logo"><a href="/" title="Home" class="l">juplo</a></h1>
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="#nav" title="Show navigation menu">Jump to navigation</a>
51 <main class="content cf">
52 <section id="content" class="main">
53 <h1>Hibernate 4 Maven Plugin - Enable Debug-Output</h1>
55 <h2>Enabling Debug-Output<a name="Enabling_Debug-Output"></a></h2>
56 <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>
58 <pre>mvn -X compile hibernate4:export </pre></div>
59 <p>(The <tt>compile</tt> might be necessary, because <tt>hibernate4-maven-plugin</tt> has to scan the compiled classes for annotations!)</p>
60 <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>
61 <p><b>But be warned:</b> <tt>hibernate4-maven-plugin</tt> tends to be very chatty ;)</p></div>
63 <div class="marginal">
66 <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
67 <h2 class="nav menu">Section-Menu</h2>
69 <li class="m blog"><a href="/blog/" class="m">Blog</a></li>
70 <li class="m projects"><a href="/projects.html" class="m selected">Projects</a></li>
72 <h2 class="nav submenu">
73 <span class="s">Submenu for section</span>
74 <a class="s selected" href="/projects.html">Projects</a>
76 <ul id="submenu" class="s">
78 <a class="s selected" href="./index.html">Hibernate 4 Maven Plugin</a>
81 <a href="configuration.html" class="s" title="Configuration Examples">Configuration Examples</a>
84 <a href="export-mojo.html" class="s" title="Parameter Documentation">Parameter Documentation</a>
87 <strong class="s">Enable Debug-Output</strong>
90 <a href="force.html" class="s" title="Force Exceution">Force Exceution</a>
93 <a href="pitfalls.html" class="s" title="Known Pitfalls (FAQ)">Known Pitfalls (FAQ)</a>
96 <a href="project-info.html" class="s" title="Project Information">Project Information</a>
99 <a href="project-reports.html" class="s" title="Project Reports">Project Reports</a>
107 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
108 <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
115 <ul id="footerlinks">
116 <li class="f" id="copyright">© <strong>mo</strong> 2013</li>
117 <li class="f"><a class="f" href="/impressum.html">Impressum</a></li>
118 <li class="f about"><a class="f" href="/about.html">About</a></li>
122 <script type="text/javascript"><!--//--><![CDATA[//><!--
123 var _gaq = _gaq || [];
124 _gaq.push(['_setAccount', 'UA-571104-3']);
125 _gaq.push(['_trackPageview']);
127 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
128 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
129 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);