Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-1299

Add an openwebbeans.properties property to not scan jars with an extension

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.13
    • None
    • None

    Description

      org.apache.webbeans.scanExtensionJars = true 

      Can be added to openwebbeans.properties to disable the scanning of the jars with an extension. Long story short, this is the official CDI behavior since 1.1 but in 1.0 it was the opposite so we kept it in most of our default implementations to ensure backward compatibility.

       

      org.apache.webbeans.scanExclusionPaths = ....,/my-extension-jar 

      was a workaround until today to get the specification behavior.

       

      Side note: in general you don't need to set this and default will work smoothless until the extension scanning duplicates the beans it register programmatically.

      Attachments

        Issue Links

          Activity

            People

              romain.manni-bucau Romain Manni-Bucau
              romain.manni-bucau Romain Manni-Bucau
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: