title: OSGi DS: Omit unbind method with Felix SCR @Reference annotation
body: <p>OSGi declarative services are explicitly allowed to have a bind method without a matching unbind method for a reference because "Once the component configuration is deactivated, SCR must discard all references to the component instance and component context associated with the activation."</p>
  
  <p>I'm using the Apache Felix maven-scr-plugin to generate my service component XML from Java5 annotations. If I omit the "unbind" attribute from the @Reference annotation, then I get this failure:</p>
  
  <pre><code>[ERROR] @Reference: Missing method unbind for reference configuration at Java annotations in &lt;classname&gt;:&lt;linenum&gt;
  </code></pre>
  
  <p>Why is the SCR generator being so strict? Is there a way to tell it to tolerate an omitted unbind method? Perhaps I need to file a defect with Felix?</p>
  
  <p>Of course, it would be easy to just add trivial unbind methods to my services but the spec says they are unneeded.</p>