Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
2.3
-
None
-
None
Description
MakeArtifactsMojo assumes that Eclipse plug-ins always use 'plugin.properties' for localization. And this is the default Eclipse behavior when an OSGi manifest is not present. When an OSGi manifest is present, however, the correct behavior is to get the location from the Bundle-Localization attribute. For example, a plug-in manifest generated using the Eclipse wizard contains 'Bundle-Localization: plugin'. Eclipse locates the correct file by taking the value (i.e., plugin), appending the locale and appending '.properties'. Note that the Bundle-Localization attribute may be a relative path and its default value if not present in the manifest is 'OSGI-INF/l10n/bundle'.