cuba-platform / cuba-sdk

Software development kit for CUBA Platform
Apache License 2.0
4 stars 3 forks source link

Commercial addon not found and not install after setting valid license key #39

Closed MikhailSilk closed 4 years ago

MikhailSilk commented 4 years ago

Environment

Description of the bug or enhancement

  1. Run CUBA CLI
  2. Set license key
  3. Install commercial addon (for example com.haulmont.addon.maps:maps-global:1.2.0)

AR: Addon was not found. Stacktrace

java.lang.IllegalStateException: Component not found: maps:1.2.0
        at com.haulmont.cuba.cli.plugin.sdk/com.haulmont.cuba.cli.plugin.sdk.services.ComponentManagerImpl.searchForAdditionalComponents(ComponentManagerImpl.kt:191)
        at com.haulmont.cuba.cli.plugin.sdk/com.haulmont.cuba.cli.plugin.sdk.commands.artifacts.BaseComponentCommand.searchAdditionalComponents$cuba_sdk(BaseComponentCommand.kt:144)
        at com.haulmont.cuba.cli.plugin.sdk/com.haulmont.cuba.cli.plugin.sdk.commands.artifacts.BaseComponentCommand.componentWithDependents$cuba_sdk(BaseComponentCommand.kt:169)
        at com.haulmont.cuba.cli.plugin.sdk/com.haulmont.cuba.cli.plugin.sdk.commands.artifacts.BaseInstallCommand.run(BaseInstallCommand.kt:42)
        at com.haulmont.cuba.cli/com.haulmont.cuba.cli.commands.AbstractCommand.execute(AbstractCommand.kt:52)
        at com.haulmont.cuba.cli/com.haulmont.cuba.cli.ShellCli.evalCommand(ShellCli.kt:135)
        at com.haulmont.cuba.cli/com.haulmont.cuba.cli.ShellCli.run(ShellCli.kt:118)
        at com.haulmont.cuba.cli/com.haulmont.cuba.cli.EntryPointKt.main(EntryPoint.kt:114)