Found no way to check, that mapped classes were found
[hibernate4-maven-plugin] / 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!");