You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2022/03/31 13:01:00 UTC

[jira] [Updated] (SLING-11237) Oak index definitions extension must be optional

     [ https://issues.apache.org/jira/browse/SLING-11237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Munteanu updated SLING-11237:
------------------------------------
    Description: 
The {{oak-index-definitions}} extension is marked as required and therefore breaks launchers that don't know about it.

Since we're using the data only for storage and interpretation by various tools, it can be made optional.

{noformat}[INFO] Apache Sling Application Launcher
[INFO] ---------------------------------
[INFO] Initializing...
[INFO] Artifact Repositories: [file:///opt/aem/launcher/cache]
[INFO] Assembling final feature model...
[INFO] 
[INFO] Assembling launcher...
[ERROR] Error while assembling launcher: Unknown required extension oak-index-definitions
java.lang.Exception: Unknown required extension oak-index-definitions
	at org.apache.sling.feature.launcher.impl.FeatureProcessor.prepareLauncher(FeatureProcessor.java:210)
	at org.apache.sling.feature.launcher.impl.Bootstrap.run(Bootstrap.java:149)
	at org.apache.sling.feature.launcher.impl.Main.main(Main.java:413){noformat}

  was:
The {{oak-index-definitions}} extension is marked as required and therefore breaks launchers that don't know about it.

Since we're using the data only for storage and interpretation by various tools, it can be made optional.

{noformat}[INFO] Apache Sling Application Launcher
[INFO] ---------------------------------
[INFO] Initializing...
[INFO] Artifact Repositories: [file:///opt/aem/launcher/cache]
[INFO] Assembling final feature model...
[INFO] 
[INFO] Assembling launcher...
[ERROR] Error while assembling launcher: Unknown required extension oak-index-definitions
java.lang.Exception: Unknown required extension oak-index-definitions
	at org.apache.sling.feature.launcher.impl.FeatureProcessor.prepareLauncher(FeatureProcessor.java:210)
	at org.apache.sling.feature.launcher.impl.Bootstrap.run(Bootstrap.java:149)
	at org.apache.sling.feature.launcher.impl.Main.main(Main.java:413){npformat}


> Oak index definitions extension must be optional
> ------------------------------------------------
>
>                 Key: SLING-11237
>                 URL: https://issues.apache.org/jira/browse/SLING-11237
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model
>    Affects Versions: Content-Package to Feature Model Converter 1.1.14
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>            Priority: Critical
>             Fix For: Content-Package to Feature Model Converter 1.1.16
>
>
> The {{oak-index-definitions}} extension is marked as required and therefore breaks launchers that don't know about it.
> Since we're using the data only for storage and interpretation by various tools, it can be made optional.
> {noformat}[INFO] Apache Sling Application Launcher
> [INFO] ---------------------------------
> [INFO] Initializing...
> [INFO] Artifact Repositories: [file:///opt/aem/launcher/cache]
> [INFO] Assembling final feature model...
> [INFO] 
> [INFO] Assembling launcher...
> [ERROR] Error while assembling launcher: Unknown required extension oak-index-definitions
> java.lang.Exception: Unknown required extension oak-index-definitions
> 	at org.apache.sling.feature.launcher.impl.FeatureProcessor.prepareLauncher(FeatureProcessor.java:210)
> 	at org.apache.sling.feature.launcher.impl.Bootstrap.run(Bootstrap.java:149)
> 	at org.apache.sling.feature.launcher.impl.Main.main(Main.java:413){noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)