Hey JB,
My configuration is the following:
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.2.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<_dsannotations>*</_dsannotations>
<_metatypeannotations>*</_metatypeannotations>
</instructions>
</configuration>
</plugin>
Greetings,
Roy
> On 4 Dec 2016, at 13:44, Jean-Baptiste Onofré <[email protected]> wrote:
>
> Hi Roy,
>
> which maven-bundle-plugin version are you using ?
>
> Regards
> JB
>
> On 12/04/2016 01:12 PM, Roy Teeuwen wrote:
>> Hey all,
>>
>> Since switching to OSGi DS I have been using the maven-bundle-plugin,
>> instead of the maven-scr-plugin, by adding the
>> <_dsannotations>*</_dsannotations> and
>> <_metatypeannotations>*</_metatypeannotations>.
>>
>> What I noticed now is that, in contrary to the maven-scr-plugin, this does
>> not generate the OSGI-INF folder in the target/classes folder. Only when
>> looking in the JAR file it actually generates this. This has two downsides:
>>
>> It is harded to see the actual scr component.xml's that are generated,
>> seeing as I have to open the generated JAR file.
>> When running tests in IntelliJ, it does not find the OSGI-INF folder anymore
>> that are needed for some unit tests that I run, seeing as IntelliJ uses the
>> classes in the target folder and does not have m2e like Eclipse has.
>>
>> Is there any way to fix it that it goes back to the old situation and
>> actually put the OSGI-INF folder also in the target/classes folder instead
>> of only inside the produces end JAR ?
>>
>> Thanks!
>> Roy
>>
>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>