[jira] [Commented] (FELIX-4517) Generate generic capabilities and requirements for services from blueprint and scr descriptors

2014-05-20 Thread Stuart McCulloch (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-4517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14003110#comment-14003110
 ] 

Stuart McCulloch commented on FELIX-4517:
-

FYI, I'll be updating the plugin to use bndlib 2.3.0 this week (we'll still 
need the patched Verifier since that fix is not in 2.3.0)

> Generate generic capabilities and requirements for services from blueprint 
> and scr descriptors
> --
>
> Key: FELIX-4517
> URL: https://issues.apache.org/jira/browse/FELIX-4517
> Project: Felix
>  Issue Type: Bug
>  Components: Maven Bundle Plugin
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
> Fix For: maven-bundle-plugin-2.4.1
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (FELIX-4517) Generate generic capabilities and requirements for services from blueprint and scr descriptors

2014-05-20 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-4517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002979#comment-14002979
 ] 

Guillaume Nodet commented on FELIX-4517:


I agree that having a _disable_plugin instruction would be helpful.
For the error, the problem seems to come from the bnd verifier which is too 
restrictive and does not support declaring capabilities with multiple exposed 
classes such as:
osgi.service;
effective:=active;

objectClass:List="io.fabric8.api.PlaceholderResolver,io.fabric8.service.PortPlaceholderResolver";
scheme=port

See https://github.com/bndtools/bnd/pull/515
Fix committed at https://svn.apache.org/viewvc?view=revision&revision=1596145

> Generate generic capabilities and requirements for services from blueprint 
> and scr descriptors
> --
>
> Key: FELIX-4517
> URL: https://issues.apache.org/jira/browse/FELIX-4517
> Project: Felix
>  Issue Type: Bug
>  Components: Maven Bundle Plugin
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
> Fix For: maven-bundle-plugin-2.4.1
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (FELIX-4517) Generate generic capabilities and requirements for services from blueprint and scr descriptors

2014-05-19 Thread Carsten Ziegeler (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-4517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002848#comment-14002848
 ] 

Carsten Ziegeler commented on FELIX-4517:
-

I just realized that _plugin of course specifies the plugins you want to run, 
however it doesn't allow you to exclude a single one. I think we need an option 
for this as you don't want to specify a dozen of plugins just in order to 
disable a single one

> Generate generic capabilities and requirements for services from blueprint 
> and scr descriptors
> --
>
> Key: FELIX-4517
> URL: https://issues.apache.org/jira/browse/FELIX-4517
> Project: Felix
>  Issue Type: Bug
>  Components: Maven Bundle Plugin
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
> Fix For: maven-bundle-plugin-2.4.1
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (FELIX-4517) Generate generic capabilities and requirements for services from blueprint and scr descriptors

2014-05-19 Thread Carsten Ziegeler (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-4517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002834#comment-14002834
 ] 

Carsten Ziegeler commented on FELIX-4517:
-

I  totally agree that this hsould be fixed :) I can send you the component xml 
which is creating the error, if that helps?
However, this is a new feature/behaviour and for whatever reason people might 
not want the auto generation of those headers, so I think there should be an 
easy way to disable this. I assume I just specify the full classname in the 
_plugin directive? It's not the easiest to disable it, but that would be fine 
with me.

> Generate generic capabilities and requirements for services from blueprint 
> and scr descriptors
> --
>
> Key: FELIX-4517
> URL: https://issues.apache.org/jira/browse/FELIX-4517
> Project: Felix
>  Issue Type: Bug
>  Components: Maven Bundle Plugin
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
> Fix For: maven-bundle-plugin-2.4.1
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (FELIX-4517) Generate generic capabilities and requirements for services from blueprint and scr descriptors

2014-05-19 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-4517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002831#comment-14002831
 ] 

Guillaume Nodet commented on FELIX-4517:


You can set the analyze plugin instruction to remove the failing plugin.
Can you give me a way to reproduce it, it would obviously be better to fix the 
plugin ?

> Generate generic capabilities and requirements for services from blueprint 
> and scr descriptors
> --
>
> Key: FELIX-4517
> URL: https://issues.apache.org/jira/browse/FELIX-4517
> Project: Felix
>  Issue Type: Bug
>  Components: Maven Bundle Plugin
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
> Fix For: maven-bundle-plugin-2.4.1
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (FELIX-4517) Generate generic capabilities and requirements for services from blueprint and scr descriptors

2014-05-19 Thread Carsten Ziegeler (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-4517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002820#comment-14002820
 ] 

Carsten Ziegeler commented on FELIX-4517:
-

With this enabled, I now get errors in projects like
osgi.service osgi.service must have the objectClass attribute set

These projects were working/building fine before.
Is there any switch to enable/disable this feature?

> Generate generic capabilities and requirements for services from blueprint 
> and scr descriptors
> --
>
> Key: FELIX-4517
> URL: https://issues.apache.org/jira/browse/FELIX-4517
> Project: Felix
>  Issue Type: Bug
>  Components: Maven Bundle Plugin
>Reporter: Guillaume Nodet
>Assignee: Guillaume Nodet
> Fix For: maven-bundle-plugin-2.4.1
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)