FELIX-373 Log the unsatisfied dependencies of a component which prevent activation of the component

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@577680 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/AbstractComponentManager.java b/scr/src/main/java/org/apache/felix/scr/AbstractComponentManager.java
index 507a89d..53e136e 100644
--- a/scr/src/main/java/org/apache/felix/scr/AbstractComponentManager.java
+++ b/scr/src/main/java/org/apache/felix/scr/AbstractComponentManager.java
@@ -330,9 +330,15 @@
             if ( !dm.isSatisfied() )
             {
                 // at least one dependency is not satisfied
-                getActivator().log( LogService.LOG_DEBUG, "Dependency not satisfied: " + dm.getName(),
+                getActivator().log( LogService.LOG_INFO, "Dependency not satisfied: " + dm.getName(),
                     m_componentMetadata, null );
                 setState( STATE_UNSATISFIED );
+            }
+            
+            // if at least one dependency is missing, we cannot continue and
+            // have to return
+            if (getState() == STATE_UNSATISFIED)
+            {
                 return;
             }
         }