You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2014/04/04 08:04:14 UTC
[jira] [Commented] (FELIX-4450) failet to excurte scr-plugin,
missing org/osgi/service/component/annotations/Component
[ https://issues.apache.org/jira/browse/FELIX-4450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959669#comment-13959669 ]
Reto Bachmann-Gmür commented on FELIX-4450:
-------------------------------------------
[~djencks] as things for for transitive dependency it would be interesting what's different in what BND gets when a dependency is transitive. I don't see a reason why the handling is different.
> failet to excurte scr-plugin, missing org/osgi/service/component/annotations/Component
> --------------------------------------------------------------------------------------
>
> Key: FELIX-4450
> URL: https://issues.apache.org/jira/browse/FELIX-4450
> Project: Felix
> Issue Type: Bug
> Components: SCR Tooling
> Reporter: Reto Bachmann-Gmür
>
> I update a project (projectA) to use the org.osgi.service.component annotations.
> Now dependent projects fail with the messages like the following:
> Failed to execute goal org.apache.felix:maven-scr-plugin:1.15.0:scr (generate-scr-scrdescriptor) on project silklinking-service: Execution generate-scr-scrdescriptor of goal org.apache.felix:maven-scr-plugin:1.15.0:scr failed: A required class was missing while executing org.apache.felix:maven-scr-plugin:1.15.0:scr: org/osgi/service/component/annotations/Component
> if and only if:
> - they depend on projectA and the dependency is explicit in the pom (transitive dependency isn't enough)
> - they use a version of the scr plugin more recent than 1.7.4
> Surprisingly the error occurs even if I add org.apache.felix.scr.ds-annotations:1.2.4 as a dependency to the dependent project.
--
This message was sent by Atlassian JIRA
(v6.2#6252)