[
https://issues.apache.org/jira/browse/FELIX-4159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved FELIX-4159.
-------------------------------------
Resolution: Fixed
> 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