FELIX-4861 : Metatype generation should fail if there is no configuration property

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1675586 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java b/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java
index f680294..da58ad2 100644
--- a/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java
+++ b/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java
@@ -186,7 +186,7 @@
             // additional check for metatype (FELIX-4035)
             if ( this.container.getMetatypeContainer() != null ) {
                 if ( this.container.getMetatypeContainer().getProperties().size() == 0 ) {
-                    this.logWarn(component, "Component is defined to generate metatype information, however no properties have been " +
+                    this.logError(component, "Component is defined to generate metatype information, however no properties have been " +
                         "defined; in case no properties are wanted, consider to use 'metatype=false'");
                 }
             }