-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Invalid
-
Affects Version/s: maven-scr-plugin 1.22.0
-
Fix Version/s: None
-
Component/s: SCR Tooling
-
Labels:None
There are inconsistence warnings that are produced when generating the components using the maven-scr-plugin.
Case 1
@Component(label = "Alphabet")
Component x.y.Z has set a label. However metatype is set to false. This label is ignored.
Case 2
@Component(metatype = true, label = "Alphabet")
@Component : Component is defined to generate metatype information, however no properties have been defined; in case no properties are wanted, consider to use 'metatype=false'
As an developer, if I enable strictMode, the build will always fail as either the code in SCRDescriptorGenerator.java or Validator.java will output the above warnings as errors.
- relates to
-
FELIX-5373 Improve failure message when enabling metatype and using no or private properties only
-
- Closed
-