Hi Konrad,

>> Am 09.10.15 um 18:14 schrieb Konrad Windszus:
>>> I experimented a bit and using something like this in my pom.xml works 
>>> pretty well.
>>>
>>> <plugin>
>>>  <groupId>org.apache.felix</groupId>
>>>  <artifactId>maven-bundle-plugin</artifactId>
>>>  <version>3.0.0</version>
>>>  <extensions>true</extensions>
>>>  <configuration>
>>>    <instructions>
>>>      <!-- enable processing of default OSGI component annotations (since 
>>> OSGi 5) -->
>>>      <_dsannotations>*</_dsannotations>
>>>      <!-- support inheritance on components -->
>>>      <_dsannotations-inherit>true</_dsannotations-inherit>
>>>      <!-- enable processing of default OSGI metatype annotations (since 
>>> OSGi 6) -->
>>>      <_metatypeannotations>*</_metatypeannotations>
>>>      <!-- support parsing of maven-scr-plugin annotations through the 
>>> felix.scr.bnd plugin -->
>>>      
>>> <_plugin>org.apache.felix.scrplugin.bnd.SCRDescriptorBndPlugin;destdir=target/classes</_plugin>
>>>    </instructions>
>>> </configuration>
>>> <dependencies>
>>>   <!-- 
>>> https://github.com/apache/felix/tree/trunk/tools/org.apache.felix.scr.bnd 
>>> -->
>>>   <dependency>
>>>      <groupId>org.apache.felix</groupId>
>>>      <artifactId>org.apache.felix.scr.bnd</artifactId>
>>>      <version>1.4.0</version>
>>>    </dependency>
>>>  </dependencies>
>>> </plugin>
>>>

Out of curiosity, have you checked whether the m2e integration with
Eclipse works? I'm interested in the generation of the manifest but
also in the generation of the SCR descriptors.

Thanks,

Robert

Reply via email to