Projekt-Dokumentation (Aktueller Stand von juplo.de) hinzugefĆ¼gt
[website] / dist / hibernate-maven-plugin-2.0.0 / cpd.html
diff --git a/dist/hibernate-maven-plugin-2.0.0/cpd.html b/dist/hibernate-maven-plugin-2.0.0/cpd.html
new file mode 100644 (file)
index 0000000..21b94b5
--- /dev/null
@@ -0,0 +1,231 @@
+<!DOCTYPE html>
+<!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 2016-03-09 -->
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <!-- Current: cpd.html -->
+<!-- Active: project-reports.html -->
+<!-- Path: [index.html, project-reports.html, cpd.html] -->
+<!-- Skiplist: [index.html, configuration.html, create-mojo.html, drop-mojo.html, debugging.html, skip.html, force.html, pitfalls.html] -->
+<html>
+  <head>
+    <title>juplo - Hibernate Maven Plugin - CPD</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <link rel="canonical" href="http://juplo.de/hibernate-maven-plugin/cpd.html"/>
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+    <link rel="stylesheet" type="text/css" href="/css/base.css" />
+    <style type="text/css">
+      @import '/css/screen.css' screen;
+    </style>
+    <script src="/js/prettify.js"></script>
+    <!--[if lt IE 9]>
+      <script src="/js/html5shiv.js"></script>
+    <![endif]-->
+    <!--[if IE 8]>
+      <link rel="stylesheet" type="text/css" href="/css/ie8.css" />
+    <![endif]-->
+        
+  </head>
+  <body class="menu" onload="prettyPrint()">
+    <div id="page" class="cf">
+      <header id="header">
+        <h1 id="logo"><a href="/" title="Home" class="l">juplo</a></h1>
+        <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
+        <hr class="h" />
+      </header>
+      <div id="breadcrumb">
+        <strong class="b title">You are here:</strong>
+        <ol class="b">
+          <li class="b"><a class="b" href="/">Home</a></li>
+          <li class="b"><a class="b" href="/projects.html">Projects</a></li>
+                      <li class="b"><a class="b" href="./index.html">Hibernate Maven Plugin</a></li>
+                          <li class="b">      <a href="project-reports.html" class="b" title="Project Reports">Project Reports</a>
+</li>
+                        <li class="b"><strong class="b">CPD</strong></li>
+                  </ol>
+        <a class="hide" href="#navigation">Jump to navigation</a>
+        <hr class="b" />
+      </div>
+      <main class="content cf">
+        <article id="content" class="main">
+          <header><h1>CPD</h1></header>
+          <div class="section">
+<h2><a name="CPD_Results"></a>CPD Results</h2>
+<p>The following document contains the results of PMD's  <a class="externalLink" href="http://pmd.sourceforge.net/cpd.html">CPD</a> 5.2.3.</p></div>
+<div class="section">
+<h2><a name="Duplications"></a>Duplications</h2>
+<table border="0" class="bodyTable">
+<tr class="a">
+<th>File</th>
+<th>Line</th></tr>
+<tr class="b">
+<td>de/juplo/plugins/hibernate/CreateMojo.java</td>
+<td><a href="./xref/de/juplo/plugins/hibernate/CreateMojo.html#L35">35</a></td></tr>
+<tr class="a">
+<td>de/juplo/plugins/hibernate/DropMojo.java</td>
+<td><a href="./xref/de/juplo/plugins/hibernate/DropMojo.html#L35">35</a></td></tr>
+<tr class="b"><td colspan='2'>
+<div>
+<pre>public class CreateMojo extends AbstractSchemaMojo
+{
+  /**
+   * Output file.
+   * &lt;p&gt;
+   * If the specified filename is not absolut, the file will be created
+   * relative to the project build directory
+   * (&lt;code&gt;project.build.directory&lt;/code&gt;).
+   *
+   * @parameter property=&quot;hibernate.schema.export.create&quot; default-value=&quot;create.sql&quot;
+   * @since 1.0
+   */
+  private String outputFile;
+
+
+  @Override
+  public final void execute()
+    throws
+      MojoFailureException,
+      MojoExecutionException
+  {
+    super.execute(outputFile);
+  }
+
+
+  @Override
+  void build(MetadataImplementor metadata)
+      throws
+        MojoExecutionException,
+        MojoFailureException
+  {
+    SchemaExport schemaExport = new SchemaExport(metadata, createNamespaces);
+    schemaExport.setDelimiter(delimiter);
+    schemaExport.setFormat(format);
+
+    File output = new File(outputFile);
+
+    if (!output.isAbsolute())
+    {
+      // Interpret relative file path relative to build directory
+      output = new File(buildDirectory, outputFile);
+      getLog().debug(&quot;Adjusted relative path, resulting path is &quot; + output.getPath());
+    }
+
+    // Ensure that directory path for specified file exists
+    File outFileParentDir = output.getParentFile();
+    if (null != outFileParentDir &amp;&amp; !outFileParentDir.exists())
+    {
+      try
+      {
+        getLog().info(&quot;Creating directory path for output file:&quot; + outFileParentDir.getPath());
+        outFileParentDir.mkdirs();
+      }
+      catch (Exception e)
+      {
+        getLog().error(&quot;Error creating directory path for output file: &quot; + e.getLocalizedMessage());
+      }
+    }
+
+    schemaExport.setOutputFile(output.getPath());
+    schemaExport.execute(false, this.export, false, true);</pre></div></td></tr></table></div>
+        </article>
+        <div class="marginal">
+          <nav id="nav">
+            <hr class="n" />
+            <a id="navigation"></a>
+            <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
+            <h2 class="nav menu">Section-Menu</h2>
+            <ul id="menu">
+              <li class="m blog"><a href="/blog/" class="m">Blog</a></li>
+              <li class="m projects"><a href="/projects.html" class="m selected">Projects</a></li>
+              <li class="m about"><a href="/about.html" class="m">About</a></li>
+            </ul>
+            <h2 class="nav submenu">
+              <span class="s">Submenu for section</span>
+              <a class="s selected" href="/projects.html">Projects</a>
+            </h2>
+            <ul id="submenu" class="s">
+                                                              <li class="s sub">
+                                          <a class="s selected" href="./index.html">Hibernate Maven Plugin</a>
+                                        <ul class="s">
+                                                                                                                                                                                                                                                                        <li class="s off">
+                    <a href="configuration.html" class="s" title="Configuration Examples">Configuration Examples</a>
+                </li>
+                                                                                                                                <li class="s off">
+                    <a href="create-mojo.html" class="s" title="Goal: CREATE">Goal: CREATE</a>
+                </li>
+                                                                                                                                <li class="s off">
+                    <a href="drop-mojo.html" class="s" title="Goal: DROP">Goal: DROP</a>
+                </li>
+                                                                                                                                <li class="s off">
+                    <a href="debugging.html" class="s" title="Enable Debug-Output">Enable Debug-Output</a>
+                </li>
+                                                                                                                                <li class="s off">
+                    <a href="skip.html" class="s" title="Skipping Execution">Skipping Execution</a>
+                </li>
+                                                                                                                                <li class="s off">
+                    <a href="force.html" class="s" title="Force Exceution">Force Exceution</a>
+                </li>
+                                                                                                                                <li class="s off">
+                    <a href="pitfalls.html" class="s" title="Known Pitfalls (FAQ)">Known Pitfalls (FAQ)</a>
+                </li>
+                                                                                                                                                                                                                                                                                                                                                                          <li class="s sub off">
+                    <a href="project-info.html" class="s" title="Project Information">Project Information</a>
+                </li>
+                                                                                                                                                                                                                            <li class="s sub">
+                    <a href="project-reports.html" class="s selected" title="Project Reports">Project Reports</a>
+                    <ul class="s active">
+                                                                                                                                                                                      <li class="s">
+                    <a href="testapidocs/index.html" class="s" title="Test JavaDocs">Test JavaDocs</a>
+                </li>
+                                                                                                                                                                                        <li class="s">
+                    <a href="apidocs/index.html" class="s" title="JavaDocs">JavaDocs</a>
+                </li>
+                                                                                                                                                                                        <li class="s">
+                    <a href="xref/index.html" class="s" title="Source Xref">Source Xref</a>
+                </li>
+                                                                                                                                                                                        <li class="s">
+                    <a href="xref-test/index.html" class="s" title="Test Source Xref">Test Source Xref</a>
+                </li>
+                                                                                                                                                                                              <li class="s">
+              <strong class="s">CPD</strong>
+                </li>
+                                                                                                                                                                                        <li class="s">
+                    <a href="pmd.html" class="s" title="PMD">PMD</a>
+                </li>
+                                                                                                                                                                                        <li class="s">
+                    <a href="plugin-info.html" class="s" title="Plugin Documentation">Plugin Documentation</a>
+                </li>
+                    </ul>
+          </li>
+                                                                                              </ul>
+                  </li>
+                                          </ul>
+            <hr class="n" />
+          </nav>
+          <aside class="m">
+            <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+              <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+            </a>
+          </aside>
+        </div>
+      </main>
+      <footer id="footer">
+        <hr class="f" />
+        <ul id="footerlinks">
+          <li class="f" id="copyright">&#xa9; <strong>mo</strong>             2016
+      </li>
+          <li class="f"><a class="f" href="/impressum.html">Impressum</a></li>
+          <li class="f about"><a class="f" href="/about.html">About</a></li>
+        </ul>
+      </footer>
+    </div>
+        <script type="text/javascript"><!--//--><![CDATA[//><!--
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-571104-3']);
+      _gaq.push(['_trackPageview']);
+      (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+      })();
+    //--><!]]>
+    </script>
+      </body>
+</html>