diff --git a/lib-ee/emqx_license/.gitignore b/apps/emqx_license/.gitignore similarity index 100% rename from lib-ee/emqx_license/.gitignore rename to apps/emqx_license/.gitignore diff --git a/lib-ee/BSL.txt b/apps/emqx_license/BSL.txt similarity index 100% rename from lib-ee/BSL.txt rename to apps/emqx_license/BSL.txt diff --git a/lib-ee/emqx_license/README.md b/apps/emqx_license/README.md similarity index 100% rename from lib-ee/emqx_license/README.md rename to apps/emqx_license/README.md diff --git a/lib-ee/emqx_license/etc/emqx_license.conf b/apps/emqx_license/etc/emqx_license.conf similarity index 100% rename from lib-ee/emqx_license/etc/emqx_license.conf rename to apps/emqx_license/etc/emqx_license.conf diff --git a/lib-ee/emqx_license/include/emqx_license.hrl b/apps/emqx_license/include/emqx_license.hrl similarity index 100% rename from lib-ee/emqx_license/include/emqx_license.hrl rename to apps/emqx_license/include/emqx_license.hrl diff --git a/lib-ee/emqx_license/rebar.config b/apps/emqx_license/rebar.config similarity index 100% rename from lib-ee/emqx_license/rebar.config rename to apps/emqx_license/rebar.config diff --git a/lib-ee/emqx_license/src/emqx_license.app.src b/apps/emqx_license/src/emqx_license.app.src similarity index 100% rename from lib-ee/emqx_license/src/emqx_license.app.src rename to apps/emqx_license/src/emqx_license.app.src diff --git a/lib-ee/emqx_license/src/emqx_license.erl b/apps/emqx_license/src/emqx_license.erl similarity index 100% rename from lib-ee/emqx_license/src/emqx_license.erl rename to apps/emqx_license/src/emqx_license.erl diff --git a/lib-ee/emqx_license/src/emqx_license_app.erl b/apps/emqx_license/src/emqx_license_app.erl similarity index 100% rename from lib-ee/emqx_license/src/emqx_license_app.erl rename to apps/emqx_license/src/emqx_license_app.erl diff --git a/lib-ee/emqx_license/src/emqx_license_checker.erl b/apps/emqx_license/src/emqx_license_checker.erl similarity index 100% rename from lib-ee/emqx_license/src/emqx_license_checker.erl rename to apps/emqx_license/src/emqx_license_checker.erl diff --git a/lib-ee/emqx_license/src/emqx_license_cli.erl b/apps/emqx_license/src/emqx_license_cli.erl similarity index 100% rename from lib-ee/emqx_license/src/emqx_license_cli.erl rename to apps/emqx_license/src/emqx_license_cli.erl diff --git a/lib-ee/emqx_license/src/emqx_license_http_api.erl b/apps/emqx_license/src/emqx_license_http_api.erl similarity index 100% rename from lib-ee/emqx_license/src/emqx_license_http_api.erl rename to apps/emqx_license/src/emqx_license_http_api.erl diff --git a/lib-ee/emqx_license/src/emqx_license_parser.erl b/apps/emqx_license/src/emqx_license_parser.erl similarity index 100% rename from lib-ee/emqx_license/src/emqx_license_parser.erl rename to apps/emqx_license/src/emqx_license_parser.erl diff --git a/lib-ee/emqx_license/src/emqx_license_parser_v20220101.erl b/apps/emqx_license/src/emqx_license_parser_v20220101.erl similarity index 100% rename from lib-ee/emqx_license/src/emqx_license_parser_v20220101.erl rename to apps/emqx_license/src/emqx_license_parser_v20220101.erl diff --git a/lib-ee/emqx_license/src/emqx_license_resources.erl b/apps/emqx_license/src/emqx_license_resources.erl similarity index 100% rename from lib-ee/emqx_license/src/emqx_license_resources.erl rename to apps/emqx_license/src/emqx_license_resources.erl diff --git a/lib-ee/emqx_license/src/emqx_license_schema.erl b/apps/emqx_license/src/emqx_license_schema.erl similarity index 100% rename from lib-ee/emqx_license/src/emqx_license_schema.erl rename to apps/emqx_license/src/emqx_license_schema.erl diff --git a/lib-ee/emqx_license/src/emqx_license_sup.erl b/apps/emqx_license/src/emqx_license_sup.erl similarity index 100% rename from lib-ee/emqx_license/src/emqx_license_sup.erl rename to apps/emqx_license/src/emqx_license_sup.erl diff --git a/lib-ee/emqx_license/src/proto/emqx_license_proto_v1.erl b/apps/emqx_license/src/proto/emqx_license_proto_v1.erl similarity index 100% rename from lib-ee/emqx_license/src/proto/emqx_license_proto_v1.erl rename to apps/emqx_license/src/proto/emqx_license_proto_v1.erl diff --git a/lib-ee/emqx_license/src/proto/emqx_license_proto_v2.erl b/apps/emqx_license/src/proto/emqx_license_proto_v2.erl similarity index 100% rename from lib-ee/emqx_license/src/proto/emqx_license_proto_v2.erl rename to apps/emqx_license/src/proto/emqx_license_proto_v2.erl diff --git a/lib-ee/emqx_license/test/data/emqx.lic b/apps/emqx_license/test/data/emqx.lic similarity index 100% rename from lib-ee/emqx_license/test/data/emqx.lic rename to apps/emqx_license/test/data/emqx.lic diff --git a/lib-ee/emqx_license/test/data/pub.pem b/apps/emqx_license/test/data/pub.pem similarity index 100% rename from lib-ee/emqx_license/test/data/pub.pem rename to apps/emqx_license/test/data/pub.pem diff --git a/lib-ee/emqx_license/test/data/pvt.key b/apps/emqx_license/test/data/pvt.key similarity index 100% rename from lib-ee/emqx_license/test/data/pvt.key rename to apps/emqx_license/test/data/pvt.key diff --git a/lib-ee/emqx_license/test/emqx_license_SUITE.erl b/apps/emqx_license/test/emqx_license_SUITE.erl similarity index 100% rename from lib-ee/emqx_license/test/emqx_license_SUITE.erl rename to apps/emqx_license/test/emqx_license_SUITE.erl diff --git a/lib-ee/emqx_license/test/emqx_license_checker_SUITE.erl b/apps/emqx_license/test/emqx_license_checker_SUITE.erl similarity index 100% rename from lib-ee/emqx_license/test/emqx_license_checker_SUITE.erl rename to apps/emqx_license/test/emqx_license_checker_SUITE.erl diff --git a/lib-ee/emqx_license/test/emqx_license_cli_SUITE.erl b/apps/emqx_license/test/emqx_license_cli_SUITE.erl similarity index 100% rename from lib-ee/emqx_license/test/emqx_license_cli_SUITE.erl rename to apps/emqx_license/test/emqx_license_cli_SUITE.erl diff --git a/lib-ee/emqx_license/test/emqx_license_http_api_SUITE.erl b/apps/emqx_license/test/emqx_license_http_api_SUITE.erl similarity index 100% rename from lib-ee/emqx_license/test/emqx_license_http_api_SUITE.erl rename to apps/emqx_license/test/emqx_license_http_api_SUITE.erl diff --git a/lib-ee/emqx_license/test/emqx_license_parser_SUITE.erl b/apps/emqx_license/test/emqx_license_parser_SUITE.erl similarity index 100% rename from lib-ee/emqx_license/test/emqx_license_parser_SUITE.erl rename to apps/emqx_license/test/emqx_license_parser_SUITE.erl diff --git a/lib-ee/emqx_license/test/emqx_license_resources_SUITE.erl b/apps/emqx_license/test/emqx_license_resources_SUITE.erl similarity index 100% rename from lib-ee/emqx_license/test/emqx_license_resources_SUITE.erl rename to apps/emqx_license/test/emqx_license_resources_SUITE.erl diff --git a/lib-ee/emqx_license/test/emqx_license_test_lib.erl b/apps/emqx_license/test/emqx_license_test_lib.erl similarity index 100% rename from lib-ee/emqx_license/test/emqx_license_test_lib.erl rename to apps/emqx_license/test/emqx_license_test_lib.erl