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

Felix Meschberger updated FELIX-2680:
-------------------------------------

    Description: 
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. 

  was:
After splitting and refactoring the Maven SCR Plugin 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. 


> 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