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

Regression: SCR spec version detection incorrect for activate method

    XMLWordPrintableJSON

Details

    Description

      In all versions from 1.11.0 till (including 1.20.0) the following method signature does not enforce the right scr version(1.1.0).

      public void activate(@SuppressWarnings("rawtypes") final Map properties, final ComponentContext context) throws Exception
      

      With all previous versions of the maven-scr-plugin the DS version was correctly set to 1.1.
      It does work though even in newer version of the maven-scr-plugin if I annotate that method with @Activate. Please fix the version detection mechanism so that these OSGi components generate a descriptor with version 1.1.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: