You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2013/08/02 09:29:48 UTC

[jira] [Closed] (FELIX-4159) Error when declaring a multivalued property using the OSGi 4.3 Annotation DS standard

     [ https://issues.apache.org/jira/browse/FELIX-4159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed FELIX-4159.
-----------------------------------

    
> Error when declaring a multivalued property using the OSGi 4.3 Annotation DS standard
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-4159
>                 URL: https://issues.apache.org/jira/browse/FELIX-4159
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: scr ds annotations 1.2.2
>            Reporter: Cristiano GaviĆ£o
>            Assignee: Carsten Ziegeler
>             Fix For: scr ds annotations 1.2.4
>
>
> When trying to declare a DS component with a property with multiple values like this:
> @Component(name = "My commands", property={"foo:Integer=1","foo:Integer=2","foo:Integer=3"})
> Class MyCommandsComponent
> I'm getting the following error:
> > Duplicate definition for property foo in class MyCommandsComponent (org.apache.felix:maven-scr-plugin:1.13.0:scr:generate-scr-scrdescriptor:process-classes)
> I'm using this dependency:
>         <dependency>
>             <groupId>org.apache.felix</groupId>
> <artifactId>org.apache.felix.scr.ds-annotations</artifactId>
>         </dependency> 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira