{"id":18866919,"url":"https://github.com/asurateam/asuraframework","last_synced_at":"2025-04-14T14:31:20.018Z","repository":{"id":68843101,"uuid":"80420215","full_name":"AsuraTeam/AsuraFramework","owner":"AsuraTeam","description":"Asura Framework 是我们在实际使用过程中，抽取出来的公共组件","archived":false,"fork":false,"pushed_at":"2019-03-21T03:20:26.000Z","size":640,"stargazers_count":23,"open_issues_count":1,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T03:32:27.586Z","etag":null,"topics":["asura","java"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AsuraTeam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-01-30T12:38:27.000Z","updated_at":"2025-02-24T21:16:57.000Z","dependencies_parsed_at":"2023-10-20T18:04:26.633Z","dependency_job_id":null,"html_url":"https://github.com/AsuraTeam/AsuraFramework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsuraTeam%2FAsuraFramework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsuraTeam%2FAsuraFramework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsuraTeam%2FAsuraFramework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsuraTeam%2FAsuraFramework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AsuraTeam","download_url":"https://codeload.github.com/AsuraTeam/AsuraFramework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248897114,"owners_count":21179541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asura","java"],"created_at":"2024-11-08T05:07:55.304Z","updated_at":"2025-04-14T14:31:19.369Z","avatar_url":"https://github.com/AsuraTeam.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asura\n\n\u003e asura是我们在实际使用过程中，抽取出来的公共组件，主要包括如下：    \n  asura-base      对content增强处理，无法单独提供服务       \n  asura-commons   封装第三方的工具包提供util类      \n  asura-cache     缓存相关的功能封装       \n  asura-dao       数据库访问读写分离相关       \n  asura-log       统一日志处理相关    \n  asura-rabbitmq  rabbitmq相关    \n  asura-quartz    定时任务相关    \n  \n### 1、parent pom.xml文件\n\u003e parant pom.xml 需要设置好    \n  1、部署的仓库地址    \n  2、插件声明    \n  3、仓库配置声明\n\n    \u003c!-- 设置好使用仓库地址 --\u003e\n    \u003cproperties\u003e\n      \u003crepository.id\u003esnapshots\u003c/repository.id\u003e\n      \u003crepository.url\u003ehttp://url/to/snapshots\u003c/repository.url\u003e\n    \u003c/properties\u003e\n    ...\n    \u003c/plugins\u003e\n      ...\n      \u003c!-- install插件 --\u003e\n      \u003cplugin\u003e\n          \u003cgroupId\u003eorg.apache.maven.plugins\u003c/groupId\u003e\n          \u003cartifactId\u003emaven-install-plugin\u003c/artifactId\u003e\n          \u003cversion\u003e2.5.2\u003c/version\u003e\n      \u003c/plugin\u003e\n  \n      \u003c!-- deploy插件 --\u003e\n      \u003cplugin\u003e\n          \u003cgroupId\u003eorg.apache.maven.plugins\u003c/groupId\u003e\n          \u003cartifactId\u003emaven-deploy-plugin\u003c/artifactId\u003e\n          \u003cversion\u003e2.8.2\u003c/version\u003e\n      \u003c/plugin\u003e\n    \u003c/plugins\u003e\n    ...\n    \u003cdistributionManagement\u003e    \n      \u003crepository\u003e\n          \u003cid\u003ereleases\u003c/id\u003e\n          \u003curl\u003ehttp://url/to/releases\u003c/url\u003e\n      \u003c/repository\u003e\n      \u003csnapshotRepository\u003e\n          \u003cid\u003esnapshots\u003c/id\u003e\n          \u003curl\u003ehttp://url/to/snapshots\u003c/url\u003e\n      \u003c/snapshotRepository\u003e\n    \u003cdistributionManagement\u003e    \n\n### 2、child pom.xml\n\n\u003e 子模块pom.xml 注释默认的deploy goal改写deploy goal为deploy-file    \n    \n    \u003cplugins\u003e\n      \u003c!-- deploy插件 --\u003e\n      \u003cplugin\u003e\n          \u003cgroupId\u003eorg.apache.maven.plugins\u003c/groupId\u003e\n          \u003cartifactId\u003emaven-deploy-plugin\u003c/artifactId\u003e\n          \u003cexecutions\u003e\n              \u003cexecution\u003e\n                  \u003cid\u003edefault-deploy\u003c/id\u003e\n                  \u003cphase\u003enone\u003c/phase\u003e\n              \u003c/execution\u003e\n              \u003cexecution\u003e\n                  \u003cid\u003edeploy-sms\u003c/id\u003e\n                  \u003cphase\u003edeploy\u003c/phase\u003e\n                  \u003cgoals\u003e\n                      \u003cgoal\u003edeploy-file\u003c/goal\u003e\n                  \u003c/goals\u003e\n                  \u003cconfiguration\u003e\n                      \u003cfile\u003etarget/com-asura-framework-sms-${version}.jar\u003c/file\u003e\n                      \u003crepositoryId\u003e${repository.id}\u003c/repositoryId\u003e\n                      \u003curl\u003e${repository.url}\u003c/url\u003e\n                      \u003cgroupId\u003ecom.asura\u003c/groupId\u003e\n                      \u003cartifactId\u003ecom-asura-framework-sms\u003c/artifactId\u003e\n                      \u003cversion\u003e${version}\u003c/version\u003e\n                      \u003cpackaging\u003ejar\u003c/packaging\u003e\n                  \u003c/configuration\u003e\n              \u003c/execution\u003e\n          \u003c/executions\u003e\n      \u003c/plugin\u003e\n    \u003c/plugins\u003e\n\n### 3、部署到远程仓库\n\n使用maven命令：\n\n    mvn clean compile package deploy \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasurateam%2Fasuraframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasurateam%2Fasuraframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasurateam%2Fasuraframework/lists"}