{"id":30175388,"url":"https://github.com/brick-team/spring-boot-template-project","last_synced_at":"2025-12-11T20:59:24.819Z","repository":{"id":57714242,"uuid":"343653246","full_name":"brick-team/spring-boot-template-project","owner":"brick-team","description":"Spring Boot web模板工程","archived":false,"fork":false,"pushed_at":"2021-04-09T01:42:23.000Z","size":122,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-12T01:38:10.345Z","etag":null,"topics":["spring","spring-boot","template-project"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brick-team.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-02T05:11:51.000Z","updated_at":"2024-03-15T15:00:48.000Z","dependencies_parsed_at":"2022-09-26T21:31:22.455Z","dependency_job_id":null,"html_url":"https://github.com/brick-team/spring-boot-template-project","commit_stats":null,"previous_names":["huifer/spring-boot-template-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brick-team/spring-boot-template-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brick-team%2Fspring-boot-template-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brick-team%2Fspring-boot-template-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brick-team%2Fspring-boot-template-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brick-team%2Fspring-boot-template-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brick-team","download_url":"https://codeload.github.com/brick-team/spring-boot-template-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brick-team%2Fspring-boot-template-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274026708,"owners_count":25209739,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["spring","spring-boot","template-project"],"created_at":"2025-08-12T01:35:48.454Z","updated_at":"2025-10-29T13:33:13.971Z","avatar_url":"https://github.com/brick-team.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# huifer 模板工程\n## 设计说明\n- [设计说明](/docs/设计说明.md)\n\n## 使用说明\n### mvn 使用说明\n- 执行下面命令可以快速创建一个项目\n```shell\nmvn archetype:generate  \\\n    -DgroupId=com.github.huifer.demo.web \\\n    -DartifactId=demo-web \\\n    -Dversion=1.0.0-SNAPSHOT \\\n    -Dpackage=com.github.huifer \\\n    -DarchetypeArtifactId=template-project-archetype \\\n    -DarchetypeGroupId=com.github.huifer \\\n    -DarchetypeVersion=1.2.1\n```\n\n\n### 源码使用说明\n1. 获取项目\n```shell\ngit clone git@github.com:huifer/spring-boot-template-project.git\n```\n2. 编译项目\n```shell\ncd archetype\nmvn clean install \n```\n3. 使用 archetype 工程\n```shell\nmvn archetype:generate -DarchetypeCatelog=local\n```\n输入上述命令后会输出下面内容\n```shell\nChoose archetype:\n1: internal -\u003e org.apache.maven.archetypes:maven-archetype-archetype (An archetype which contains a sample archetype.)\n2: internal -\u003e org.apache.maven.archetypes:maven-archetype-j2ee-simple (An archetype which contains a simplifed sample J2EE application.)\n3: internal -\u003e org.apache.maven.archetypes:maven-archetype-plugin (An archetype which contains a sample Maven plugin.)\n4: internal -\u003e org.apache.maven.archetypes:maven-archetype-plugin-site (An archetype which contains a sample Maven plugin site.\n      This archetype can be layered upon an existing Maven plugin project.)\n5: internal -\u003e org.apache.maven.archetypes:maven-archetype-portlet (An archetype which contains a sample JSR-268 Portlet.)\n6: internal -\u003e org.apache.maven.archetypes:maven-archetype-profiles ()\n7: internal -\u003e org.apache.maven.archetypes:maven-archetype-quickstart (An archetype which contains a sample Maven project.)\n8: internal -\u003e org.apache.maven.archetypes:maven-archetype-site (An archetype which contains a sample Maven site which demonstrates\n      some of the supported document types like APT, XDoc, and FML and demonstrates how\n      to i18n your site. This archetype can be layered upon an existing Maven project.)\n9: internal -\u003e org.apache.maven.archetypes:maven-archetype-site-simple (An archetype which contains a sample Maven site.)\n10: internal -\u003e org.apache.maven.archetypes:maven-archetype-webapp (An archetype which contains a sample Maven Webapp project.)\n11: local -\u003e com.github.huifer:template-project-archetype (Template engineering of huifer.)\n12: local -\u003e com.github.huifer:web-template-archetype (web-template)\n13: local -\u003e com.shands.template:shands-template-archetype (shands-template)\n```\n在上述的内容中需要选择 com.github.huifer:template-project-archetype ，记住前面的数字，然后输入11,具体操作流程信息如下：\n\n```shell\nChoose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 7: 11\nChoose com.github.huifer:template-project-archetype version:\n1: 0.0.1\n2: 1.1\nChoose a number: 2: 2\nDefine value for property 'groupId': com.github.huifer\nDefine value for property 'artifactId': mod-project\nDefine value for property 'version' 1.0-SNAPSHOT: : 1.0.0-SHAPSHOT\nDefine value for property 'package' com.github.huifer: :\nConfirm properties configuration:\ngroupId: com.github.huifer\nartifactId: mod-project\nversion: 1.0.0-SHAPSHOT\npackage: com.github.huifer\n```\n\n\n\n\n\n## 分包说明\n- 文件说明\n  - cache: 缓存相关工程\n    - cache-api: 缓存操作API\n    - cache-api-impl: 缓存操作API实现类\n    - cache-configuration: 缓存配置\n  - controller: 控制层，主要编写restapi\n    - controller-common: 公共controller\n    - controller-inner: 内部服务使用的controller\n    - controller-puglic-network: 外部服务使用的controller\n      \n  - database-object: 数据库层\n    - db-config: 数据库配置\n    - db-entity: 数据库实体\n    - mapper: 数据库mapper层\n  - domain: 领域层\n    - domain-convert: 领域转换层\n    - domain-model: 领域模型层\n    - domain-validator: 领域验证层\n  - infrastructure: 基础服务\n    - infrastructure-api: 基础服务接口定义\n    - infrastructure-impl: 基础服务接口实现\n  - open-api: 对外API\n    - with-dubbo-client: dubbo client\n    - with-http-client: http client 支持OKhttp和httpClient\n    - with-open-feign: openFeign client\n  - project-configuration: 项目配置\n  - start: 启动类\n    - dubbo-start: dubbo 应用启动类\n    - inner-web-start: 内部应用启动类\n    - public-network-web-start: 外部应用启动类\n    - task-start: 定时任务启动类","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrick-team%2Fspring-boot-template-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrick-team%2Fspring-boot-template-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrick-team%2Fspring-boot-template-project/lists"}