diff --git a/.gitignore b/.gitignore index 26a62dc..85f0387 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1,21 @@ -# ---> Actionscript -# Build and Release Folders -bin-debug/ -bin-release/ -[Oo]bj/ -[Bb]in/ +# ---> Maven +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +# https://github.com/takari/maven-wrapper#usage-without-binary-jar +.mvn/wrapper/maven-wrapper.jar -# Other files and folders +# ---> Eclipse .settings/ +.project +.classpath -# Executables -*.swf -*.air -*.ipa -*.apk - -# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties` -# should NOT be excluded as they contain compiler settings and other important -# information for Eclipse / Flash Builder. - +# ---> Idea +.idea/ +*.iml \ No newline at end of file diff --git a/README.md b/README.md index 7691645..6d9d36c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,21 @@ # xtools-parent-boot -低调大师工具箱,boot-pom文件,适配JDK25 \ No newline at end of file +低调大师工具箱,boot-pom文件,适配JDK25 +> 为所有的xtools-boot工具提供包版本统一管理,建议所有的boot项目继承该包构建项目 + +## 更新记录 + +* 2026-01-01 创建项目 + +## Maven 打包命令 + +```sh +# 清理并打包 +mvn clean package -DskipTests=true + +# 清理,打包并安装到本地Maven仓库 +mvn clean package install -DskipTests=true + +# 清理,打包,安装到本地Maven仓库并发布到远程私有Maven仓库 +mvn clean package install deploy -DskipTests=true +``` \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..244c618 --- /dev/null +++ b/pom.xml @@ -0,0 +1,268 @@ + + 4.0.0 + org.xujun + xtools-parent-boot + 5.0.0 + pom + xtools-parent-boot + 低调大师工具箱,boot-pom文件,适配JDK25 + + + + org.springframework.boot + spring-boot-starter-parent + 4.0.5 + + + + + + org.xujun + https://www.xujun.org + + + + + xtools-parent-cloud + + + + + + + UTF-8 + ${project.def.encoding} + ${project.def.encoding} + + + + + 3.4.0 + 2.9.1 + + + 5.0.0 + + + 2.2.48 + 3.0.3 + 4.5.0 + + + + 1.2.28 + 4.0.1 + 3.5.16 + + + + 4.0.3 + + + 3.4.0 + + + 1.18.44 + 1.6.3 + + + + + + + + + org.projectlombok + lombok + + + + org.slf4j + slf4j-api + + + + + org.xujun + xtools-core + + + + + + + + + + org.xujun + xtools-parent + ${xtools.version} + pom + import + + + + + org.xujun + xtools-dependencies + ${xtools.version} + pom + import + + + + + io.swagger.core.v3 + swagger-annotations + ${swagger-annotations.version} + + + + org.springdoc + springdoc-openapi-starter-webmvc-ui + ${springdoc-openapi-starter-webmvc-ui.version} + + + + com.github.xiaoymin + knife4j-openapi3-jakarta-spring-boot-starter + ${knife4j-openapi3-jakarta.version} + + + + + + + com.alibaba + druid-spring-boot-4-starter + ${druid.version} + compile + + + + org.mybatis.spring.boot + mybatis-spring-boot-starter + ${mybatis-spring-boot-starter.version} + + + com.zaxxer + HikariCP + + + + + + + de.codecentric + spring-boot-admin-starter-server + ${spring-boot-admin.version} + + + de.codecentric + spring-boot-admin-starter-client + ${spring-boot-admin.version} + + + + + + com.xuxueli + xxl-job-core + ${xxl-job-core.version} + compile + + + + + com.baomidou + mybatis-plus-jsqlparser + ${mybatis-plus.version} + + + com.baomidou + mybatis-plus-spring-boot4-starter + ${mybatis-plus.version} + + + + + + + + + + + + + org.cyclonedx + cyclonedx-maven-plugin + ${cyclonedx-maven-plugin.version} + + + + prepare-package + + + makeAggregateBom + + + + + + + ${project.build.outputDirectory} + bom + json + + true + true + false + false + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + ${java.version} + ${java.version} + ${java.version} + ${project.build.sourceEncoding} + + + org.projectlombok + lombok + ${lombok.version} + + + + + + + + org.apache.maven.plugins + maven-source-plugin + ${maven-source-plugin.version} + + true + + + + compile + + jar + + + + + + + + \ No newline at end of file diff --git a/xtools-parent-cloud/pom.xml b/xtools-parent-cloud/pom.xml new file mode 100644 index 0000000..ee99357 --- /dev/null +++ b/xtools-parent-cloud/pom.xml @@ -0,0 +1,51 @@ + + + 4.0.0 + + org.xujun + xtools-parent-boot + 5.0.0 + + pom + xtools-parent-cloud + + + + + 2025.1.1 + + 2025.1.0.0 + + + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud-dependencies.version} + pom + import + + + + + com.alibaba.cloud + spring-cloud-alibaba-dependencies + ${alibaba-cloud.version} + pom + import + + + + com.alibaba + druid + ${druid.version} + + + + + \ No newline at end of file