@@ -65,7 +65,7 @@ public static abstract class Key {
65
65
private static final String GROUP_NAME_FOR_NAMED_ELEMENTS = "group-name-for-named-elements" ;
66
66
private static final String BANNER_HIDE = "banner.hide" ;
67
67
private static final String BANNER_FILE = "banner.file" ;
68
- private static final String BANNER_ADDITIONAL_INFORMATIONS_RETRIEVE_FROM_MANIFEST_FILE_WITH_IMPLEMENTATION_TITLE = "banner.additonal-informations.retrieve-from-manifest-file-with-implementation-title " ;
68
+ private static final String BANNER_ADDITIONAL_INFORMATIONS_RETRIEVE_FROM_MANIFEST_FILE_OF = "banner.additonal-informations.retrieve-from-manifest-file-of " ;
69
69
private static final String BANNER_ADDITIONAL_INFORMATIONS = "banner.additonal-informations" ;
70
70
private static final String BACKGROUND_EXECUTOR_TASK_CREATION_TRACKING_ENABLED = "background-executor.task-creation-tracking.enabled" ;
71
71
private static final String BACKGROUND_EXECUTOR_ALL_TASKS_MONITORING_ENABLED = "background-executor.all-tasks-monitoring.enabled" ;
@@ -152,7 +152,7 @@ public static abstract class Default {
152
152
);
153
153
154
154
defaultValues .put (
155
- Key .BANNER_ADDITIONAL_INFORMATIONS_RETRIEVE_FROM_MANIFEST_FILE_WITH_IMPLEMENTATION_TITLE ,
155
+ Key .BANNER_ADDITIONAL_INFORMATIONS_RETRIEVE_FROM_MANIFEST_FILE_OF ,
156
156
"Burningwave Core"
157
157
);
158
158
@@ -598,12 +598,16 @@ private static void showBanner() throws IOException {
598
598
try {
599
599
String additionalInformationsManifestImplementationTitle = IterableObjectHelper .resolveStringValue (
600
600
org .burningwave .core .iterable .IterableObjectHelper .ResolveConfig .forNamedKey (
601
- Configuration .Key .BANNER_ADDITIONAL_INFORMATIONS_RETRIEVE_FROM_MANIFEST_FILE_WITH_IMPLEMENTATION_TITLE
601
+ Configuration .Key .BANNER_ADDITIONAL_INFORMATIONS_RETRIEVE_FROM_MANIFEST_FILE_OF
602
602
).on (GlobalProperties )
603
603
);
604
604
Collection <Map <String , String >> manifestAsMapByMainAttributes = Resources .getManifestAsMapByMainAttributes (
605
605
attributes -> {
606
- return additionalInformationsManifestImplementationTitle .equals (attributes .getValue ("Bundle-Vendor" ) + " " + attributes .getValue ("Bundle-Name" ));
606
+ return
607
+ additionalInformationsManifestImplementationTitle .equals (attributes .getValue ("Implementation-Title" )) ||
608
+ additionalInformationsManifestImplementationTitle .equals (
609
+ attributes .getValue ("Bundle-Vendor" ) + " " + attributes .getValue ("Bundle-Name" )
610
+ );
607
611
},
608
612
Component .class .getClassLoader (),
609
613
Thread .currentThread ().getContextClassLoader ()
0 commit comments