Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2680

Fail build if old SCR Annotations library is used

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: