Found no way to check, that mapped classes were found
authorKai Moritz <km@juplo.de>
Wed, 13 May 2015 07:44:18 +0000 (09:44 +0200)
committerKai Moritz <km@juplo.de>
Sat, 16 May 2015 11:29:43 +0000 (13:29 +0200)
src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java

index aebf02e..f1b6a2c 100644 (file)
@@ -844,20 +844,6 @@ public class Hbm2DdlMojo extends AbstractMojo
       }
 
 
-      Iterator<PersistentClass> it = config.getClassMappings();
-      if (!it.hasNext())
-      {
-        throw new MojoFailureException("No mapped classes found!");
-      }
-      else
-      {
-        getLog().info("Mapped classes:");
-        while (it.hasNext())
-        {
-          getLog().debug("  " + it.next().getClassName());
-        }
-      }
-
       if (config.getProperty(DIALECT) == null)
         throw new MojoFailureException("hibernate-dialect must be set!");