Description
The JBossAnnotationProvider is now integrated so that JSF can take advantage of the new annotation scanning. However, it doesn't find any annotations. I've verified that it is called, but it seems to have no effect.
For reference, here are the requirements from the JSF spec. I think the first two requirements are taken care of by the JSF impl, but we need to confirm that. I'm attaching WARs to test the second two.
11.5.1 Requirements for scanning of classes for annotations
■ If the <faces-config> element in the WEB-INF/faces-config.xml file
contains metadata-complete attribute whose value is "true", the implementation must not perform annotation
scanning on any classes except for those classes provided by the implementation itself. Otherwise, continue as
follows.
■ If the runtime discovers a conflict between an entry in the Application Configuration Resources and an annotation, the
entry in the Application Configuration Resources takes precedence.
■ All classes in WEB-INF/classes must be scanned.
■ For every jar in the application's WEB-INF/lib directory, if the jar contains a "META-INF/faces-config.xml"
file or a file that matches the regular expression ".*\.faces-config.xml" (even an empty one), all classes in
that jar must be scanned.