Resolve a new addon (for example com.haulmont.addon.dashboard:dashboard-global:3.2.2 )
Run the sdk export addon command with the name and version of the added addon (for example sdk export addon dashboard:3.2.2)
Do not resolve additional components (if asked)
AR: Selected resolved SDK component was not exported and IllegalStateException occurred
Stacktrace
java.lang.IllegalStateException: sdkProperties.getProperty(property) must not be null
at com.haulmont.cuba.cli.plugin.sdk/com.haulmont.cuba.cli.plugin.sdk.services.SdkSettingsHolderImpl.getProperty(SdkSettingsHolderImpl.kt:102)
at com.haulmont.cuba.cli.plugin.sdk/com.haulmont.cuba.cli.plugin.sdk.services.SdkSettingsHolder$DefaultImpls.get(SdkSettingsHolder.kt:43)
at com.haulmont.cuba.cli.plugin.sdk/com.haulmont.cuba.cli.plugin.sdk.services.SdkSettingsHolderImpl.get(SdkSettingsHolderImpl.kt:32)
at com.haulmont.cuba.cli.plugin.sdk/com.haulmont.cuba.cli.plugin.sdk.services.ImportExportServiceImpl.export(ImportExportServiceImpl.kt:59)
at com.haulmont.cuba.cli.plugin.sdk/com.haulmont.cuba.cli.plugin.sdk.commands.artifacts.AbstractExportCommand.run(AbstractExportCommand.kt:38)
at com.haulmont.cuba.cli.plugin.sdk/com.haulmont.cuba.cli.plugin.sdk.commands.artifacts.AbstractComponentExportCommand.run(AbstractComponentExportCommand.kt:68)
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)
Environment
Description of the bug or enhancement
com.haulmont.addon.dashboard:dashboard-global:3.2.2
)sdk export addon
command with the name and version of the added addon (for examplesdk export addon dashboard:3.2.2
)AR: Selected resolved SDK component was not exported and IllegalStateException occurred
Stacktrace