X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dist%2Fhibernate-maven-plugin-2.1.0%2Fcpd.html;fp=dist%2Fhibernate-maven-plugin-2.1.0%2Fcpd.html;h=4c49a6e7e1c4c6e272cdd572410020efd8c195a8;hb=a53595184bd6e57bdc45292cc92c393c4e2dfe6e;hp=0000000000000000000000000000000000000000;hpb=c48c9ee0e9faa89a4c0a5323b367b9f5a6abe602;p=website diff --git a/dist/hibernate-maven-plugin-2.1.0/cpd.html b/dist/hibernate-maven-plugin-2.1.0/cpd.html new file mode 100644 index 00000000..4c49a6e7 --- /dev/null +++ b/dist/hibernate-maven-plugin-2.1.0/cpd.html @@ -0,0 +1,500 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Hibernate Maven Plugin – CPD Results + + + + +

Path

+

+

    +
  1. Hibernate Maven Plugin
  2. Project Reports
  3. CPD
+

+
+
+
+

CPD Results

+

The following document contains the results of PMD's CPD 5.2.3.

+
+

Duplications

+ + + + + + + + + + +
FileLine
de/juplo/plugins/hibernate/CreateMojo.java41
de/juplo/plugins/hibernate/DropMojo.java41
+
+
public class CreateMojo extends AbstractSchemaMojo
+{
+  /**
+   * Output file.
+   * <p>
+   * If the specified filename is not absolut, the file will be created
+   * relative to the project build directory
+   * (<code>project.build.directory</code>).
+   *
+   * @parameter property="hibernate.schema.create" default-value="create.sql"
+   * @since 1.0
+   */
+  private String outputFile;
+
+
+  @Override
+  public final void execute()
+    throws
+      MojoFailureException,
+      MojoExecutionException
+  {
+    super.execute(outputFile);
+  }
+
+
+  @Override
+  void build(
+      MetadataImplementor metadata,
+      ExecutionOptions options,
+      TargetDescriptor target
+      )
+      throws
+        MojoExecutionException,
+        MojoFailureException
+  {
+    ServiceRegistry service =
+        metadata.getMetadataBuildingOptions().getServiceRegistry();
+    SchemaManagementTool tool = service.getService(SchemaManagementTool.class);
+
+    Map config = options.getConfigurationValues();
+    SourceDescriptor source = new SourceDescriptor()
+    {
+	  @Override
+      public SourceType getSourceType()
+      {
+        return SourceType.METADATA;
+      }
+
+      @Override
+      public ScriptSourceInput getScriptSourceInput()
+      {
+        return null;
+      }
+    };
+
+    tool.getSchemaCreator(config).doCreation(metadata, options, source, target);
+
+
+

Pages

+

+

+

+ +