# Java-Example **Repository Path**: ci-example/java-example ## Basic Information - **Project Name**: Java-Example - **Description**: 一个用于展示CI/CD的Java Spring Boot项目。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-07-24 - **Last Updated**: 2023-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Spring Boot Example A CI/CD example for Java Spring Boot project. 一个用于展示CI/CD的Java Spring Boot项目。 ## Compile & Package Tools For Java projects, the general use of maven or Gradle as a compilation or packaging tools, for other tools such as mvnd, currently do not support, you are welcome to provide relevant documentation to supplement and improve. 对于Java项目中,一般使用maven或者Gradle作为编译或者打包工具,对于其他的工具例如mvnd,目前暂不做支持,也欢迎各位提供相关文档用以补充和完善。 ### Conf For the configuration files in the conf directory, you can choose to use them as needed to solve the problem of dependencies not being downloaded in your project. 对于conf目录下的配置文件,可按需选择使用以解决项目中依赖无法下载的问题。 ## Environmental Proposals ### Java In order to ensure the compatibility of services, the security of dependencies, and the reliability and stability of the environment, the following requirements are made for the version of the JDK (Java Development Kit), JRE (Java Runtime Environment), or JCEF (Java Chromium Embedded Framework): 1. using a development/runtime environment greater than or equal to Java8 2. use the official or large enterprise LTS version, including and not limited to Google, Microsoft, Amazon, Tencent, etc. 为了保证服务的兼容性、依赖的安全性和环境的可靠稳定性,对于JDK(Java Development Kit)、JRE(Java Runtime Environment)或JCEF(Java Chromium Embedded Framework)的版本做出以下要求: 1. 使用大于等于Java8的开发/运行环境 2. 使用官方或大型企业提供的LTS版本,包括且不限于谷歌、微软、亚马逊、腾讯等 ### Dependencies In order to guarantee the security of the service, the hidden vulnerabilities in the dependencies should be checked as much as possible during technology selection and dependency selection, especially for high-risk operations such as user authentication, audit logs, and database connections. 为了保障服务的安全性,在技术选型和依赖选择时,应尽可能的检查依赖中的隐藏漏洞,尤其是对于用户鉴权、审计日志、数据库连接等高危操作。 #### Spring & Spring Boot According to Spring Boot related version update information and security patches, it is recommended to use version 2.6.8 or above. 根据Spring Boot相关版本更新信息和安全补丁,建议使用2.6.8以上版本。 Also using version 3.x requires a JDK upgrade to 17 or above. 同时使用3.x版本需要将JDK升级至17或以上。