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

Felix Meschberger commented on FELIX-2680:
------------------------------------------

Intermediate fix in Rev. 1029903: Require minimum version of the SCR Annotation 
library artifact (if declared). For now set this version to 1.3.1-SNAPSHOT. 
This is to be updated once the release candidate for the SCR Annotation library 
1.4.0 has been built.

> Fail build if old SCR Annotations library is used
> -------------------------------------------------
>
>                 Key: FELIX-2680
>                 URL: https://issues.apache.org/jira/browse/FELIX-2680
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven SCR Plugin
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For:  maven-scr-plugin-1.6.0
>
>
> After splitting and refactoring the Maven SCR Plugin (see FELIX-2669) the SCR 
> Annotation library versions prior to the imminent 1.4.0 release, that is 
> 1.3.0 and before, do not cause the DS and Metatype descriptors to be created 
> because the library is missing the AnnotationTagSupport classes moved from 
> the Maven SCR Plugin to the SCR Annotation library.
> Therefore the generated descriptors may be incomplete and thus the resulting 
> bundle unusable.
> So the build should probably fail if we can assume with high probability that 
> the resulting bundle is not complete. We do this by having the Maven SCR 
> Plugin ensure that the SCR Annotation library, if used, is at least of the 
> 1.4.0 version about to be released. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to