From 2e13bb874bbc939ce3d4a244d76d175a878dbea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E6=A2=A6?= <1101766085@qq.com> Date: Mon, 2 Dec 2024 16:07:26 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=94=AF=E6=8C=81=20maven=20?= =?UTF-8?q?=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + mica-activerecord/pom.xml | 66 ++++++ mica-bom/pom.xml | 37 +++ mica-caffeine/pom.xml | 46 ++++ mica-captcha/pom.xml | 48 ++++ mica-core/pom.xml | 101 ++++++++ mica-holidays/pom.xml | 38 +++ mica-http/pom.xml | 31 +++ mica-ip2region/pom.xml | 38 +++ mica-jetcache/pom.xml | 46 ++++ mica-jobs/pom.xml | 42 ++++ mica-laytpl/pom.xml | 38 +++ mica-lite/pom.xml | 52 ++++ mica-logging/pom.xml | 57 +++++ mica-metrics/pom.xml | 62 +++++ mica-mongo/pom.xml | 36 +++ mica-openapi/pom.xml | 37 +++ mica-prometheus/pom.xml | 42 ++++ mica-qrcode/pom.xml | 27 +++ mica-redis/pom.xml | 55 +++++ mica-spider/pom.xml | 31 +++ mica-xss/pom.xml | 56 +++++ pom.xml | 485 ++++++++++++++++++++++++++++++++++++++ 23 files changed, 1472 insertions(+) create mode 100644 mica-activerecord/pom.xml create mode 100644 mica-bom/pom.xml create mode 100644 mica-caffeine/pom.xml create mode 100644 mica-captcha/pom.xml create mode 100644 mica-core/pom.xml create mode 100644 mica-holidays/pom.xml create mode 100644 mica-http/pom.xml create mode 100644 mica-ip2region/pom.xml create mode 100644 mica-jetcache/pom.xml create mode 100644 mica-jobs/pom.xml create mode 100644 mica-laytpl/pom.xml create mode 100644 mica-lite/pom.xml create mode 100644 mica-logging/pom.xml create mode 100644 mica-metrics/pom.xml create mode 100644 mica-mongo/pom.xml create mode 100644 mica-openapi/pom.xml create mode 100644 mica-prometheus/pom.xml create mode 100644 mica-qrcode/pom.xml create mode 100644 mica-redis/pom.xml create mode 100644 mica-spider/pom.xml create mode 100644 mica-xss/pom.xml create mode 100644 pom.xml diff --git a/.gitignore b/.gitignore index 444d155b8..2cbd0151a 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ nbdist/ .nb-gradle/ ### maven ### +.flattened-pom.xml target/ *.war *.ear diff --git a/mica-activerecord/pom.xml b/mica-activerecord/pom.xml new file mode 100644 index 000000000..abeea1925 --- /dev/null +++ b/mica-activerecord/pom.xml @@ -0,0 +1,66 @@ + + + 4.0.0 + mica-activerecord + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + com.alibaba + druid + + + com.jfinal + activerecord + + + org.springframework.boot + spring-boot-starter-aop + + + com.mysql + mysql-connector-j + test + + + org.springframework.boot + spring-boot-autoconfigure + provided + + + org.springframework.cloud + spring-cloud-context + provided + + + net.dreamlu + mica-auto + provided + + + + + + + src/main/java + + **/*.jf + + + + + + diff --git a/mica-bom/pom.xml b/mica-bom/pom.xml new file mode 100644 index 000000000..724574bf5 --- /dev/null +++ b/mica-bom/pom.xml @@ -0,0 +1,37 @@ + + + 4.0.0 + mica-bom + ${project.artifactId} + https://www.dreamlu.net + pom + + + net.dreamlu + mica + ${revision} + + + + + + org.codehaus.mojo + flatten-maven-plugin + + true + oss + + expand + remove + remove + remove + remove + + + + + + + diff --git a/mica-caffeine/pom.xml b/mica-caffeine/pom.xml new file mode 100644 index 000000000..7ce82bf69 --- /dev/null +++ b/mica-caffeine/pom.xml @@ -0,0 +1,46 @@ + + + 4.0.0 + mica-caffeine + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + com.github.ben-manes.caffeine + caffeine + + + org.springframework.boot + spring-boot-starter-cache + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework.boot + spring-boot-autoconfigure + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-captcha/pom.xml b/mica-captcha/pom.xml new file mode 100644 index 000000000..c1891b2f0 --- /dev/null +++ b/mica-captcha/pom.xml @@ -0,0 +1,48 @@ + + + 4.0.0 + mica-captcha + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework + spring-web + provided + + + org.springframework.boot + spring-boot-autoconfigure + provided + + + org.springframework.cloud + spring-cloud-context + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-core/pom.xml b/mica-core/pom.xml new file mode 100644 index 000000000..d192ec253 --- /dev/null +++ b/mica-core/pom.xml @@ -0,0 +1,101 @@ + + + 4.0.0 + mica-core + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + com.fasterxml.jackson.core + jackson-databind + + + org.springframework + spring-context + provided + + + org.springframework + spring-web + provided + + + jakarta.validation + jakarta.validation-api + provided + + + io.swagger + swagger-annotations + provided + + + io.swagger.core.v3 + swagger-annotations + provided + + + net.dreamlu + mica-auto + provided + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-generated-sources + generate-sources + + add-source + + + + ${project.build.directory}/generated-sources/net/dreamlu/mica/core + + + + + + + org.apache.maven.plugins + maven-resources-plugin + + + copy-version-file + generate-sources + + copy-resources + + + ${project.build.directory}/generated-sources/net/dreamlu/mica/core + + + ${project.basedir}/src/mica/java/net/dreamlu/mica/core + true + + Mica.java + + + + + + + + + + + diff --git a/mica-holidays/pom.xml b/mica-holidays/pom.xml new file mode 100644 index 000000000..10887bb0f --- /dev/null +++ b/mica-holidays/pom.xml @@ -0,0 +1,38 @@ + + + 4.0.0 + mica-holidays + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + org.springframework.boot + spring-boot-autoconfigure + provided + + + org.springframework.cloud + spring-cloud-context + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-http/pom.xml b/mica-http/pom.xml new file mode 100644 index 000000000..c15a435ef --- /dev/null +++ b/mica-http/pom.xml @@ -0,0 +1,31 @@ + + + 4.0.0 + mica-http + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + com.squareup.okhttp3 + okhttp + + + com.squareup.okhttp3 + logging-interceptor + + + + diff --git a/mica-ip2region/pom.xml b/mica-ip2region/pom.xml new file mode 100644 index 000000000..e4b582147 --- /dev/null +++ b/mica-ip2region/pom.xml @@ -0,0 +1,38 @@ + + + 4.0.0 + mica-ip2region + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + org.springframework.boot + spring-boot-autoconfigure + provided + + + org.springframework.cloud + spring-cloud-context + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-jetcache/pom.xml b/mica-jetcache/pom.xml new file mode 100644 index 000000000..7d9515dba --- /dev/null +++ b/mica-jetcache/pom.xml @@ -0,0 +1,46 @@ + + + 4.0.0 + mica-jetcache + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + com.alicp.jetcache + jetcache-autoconfigure + + + io.micrometer + micrometer-core + + + org.springframework.boot + spring-boot-autoconfigure + provided + + + org.springframework.cloud + spring-cloud-context + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-jobs/pom.xml b/mica-jobs/pom.xml new file mode 100644 index 000000000..5ae534f82 --- /dev/null +++ b/mica-jobs/pom.xml @@ -0,0 +1,42 @@ + + + 4.0.0 + mica-jobs + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + com.xuxueli + xxl-job-core + + + org.springframework.cloud + spring-cloud-commons + + + org.springframework.boot + spring-boot-autoconfigure + provided + + + org.springframework.cloud + spring-cloud-context + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-laytpl/pom.xml b/mica-laytpl/pom.xml new file mode 100644 index 000000000..5d2a44210 --- /dev/null +++ b/mica-laytpl/pom.xml @@ -0,0 +1,38 @@ + + + 4.0.0 + mica-laytpl + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + org.springframework.boot + spring-boot-autoconfigure + provided + + + org.springframework.cloud + spring-cloud-context + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-lite/pom.xml b/mica-lite/pom.xml new file mode 100644 index 000000000..245481cc6 --- /dev/null +++ b/mica-lite/pom.xml @@ -0,0 +1,52 @@ + + + 4.0.0 + mica-lite + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + org.springframework.boot + spring-boot-starter-validation + + + org.springframework.boot + spring-boot-starter-web + provided + + + org.springframework.boot + spring-boot-starter-webflux + provided + + + org.springframework.boot + spring-boot-autoconfigure + provided + + + org.springframework.cloud + spring-cloud-context + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-logging/pom.xml b/mica-logging/pom.xml new file mode 100644 index 000000000..b6ab56d0f --- /dev/null +++ b/mica-logging/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + mica-logging + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + org.springframework.boot + spring-boot-starter-logging + + + net.logstash.logback + logstash-logback-encoder + provided + + + com.github.loki4j + loki-logback-appender-jdk8 + provided + + + org.springframework.boot + spring-boot-autoconfigure + provided + + + org.springframework.cloud + spring-cloud-context + provided + + + com.squareup.okhttp3 + okhttp + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-metrics/pom.xml b/mica-metrics/pom.xml new file mode 100644 index 000000000..851aca776 --- /dev/null +++ b/mica-metrics/pom.xml @@ -0,0 +1,62 @@ + + + 4.0.0 + mica-metrics + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + io.micrometer + micrometer-core + + + com.alibaba + druid + + + com.alibaba.csp + sentinel-core + 1.8.6 + provided + + + org.springframework + spring-web + provided + + + org.springframework.boot + spring-boot-actuator-autoconfigure + provided + + + org.springframework.boot + spring-boot-starter-undertow + provided + + + org.springframework.cloud + spring-cloud-context + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-mongo/pom.xml b/mica-mongo/pom.xml new file mode 100644 index 000000000..4c3fd9233 --- /dev/null +++ b/mica-mongo/pom.xml @@ -0,0 +1,36 @@ + + + 4.0.0 + mica-mongo + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + org.springframework.boot + spring-boot-starter-data-mongodb + + + org.springframework.boot + spring-boot-starter-json + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-openapi/pom.xml b/mica-openapi/pom.xml new file mode 100644 index 000000000..c8445ceae --- /dev/null +++ b/mica-openapi/pom.xml @@ -0,0 +1,37 @@ + + + 4.0.0 + mica-openapi + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + org.springdoc + springdoc-openapi-ui + + + com.github.xiaoymin + knife4j-springdoc-ui + + + org.springframework.cloud + spring-cloud-context + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-prometheus/pom.xml b/mica-prometheus/pom.xml new file mode 100644 index 000000000..a34ee86ac --- /dev/null +++ b/mica-prometheus/pom.xml @@ -0,0 +1,42 @@ + + + 4.0.0 + mica-prometheus + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + org.springframework.boot + spring-boot-starter + + + org.springframework.cloud + spring-cloud-commons + + + org.springframework + spring-web + provided + + + org.springframework + spring-webflux + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-qrcode/pom.xml b/mica-qrcode/pom.xml new file mode 100644 index 000000000..b7388daa7 --- /dev/null +++ b/mica-qrcode/pom.xml @@ -0,0 +1,27 @@ + + + 4.0.0 + mica-qrcode + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + com.google.zxing + javase + + + + diff --git a/mica-redis/pom.xml b/mica-redis/pom.xml new file mode 100644 index 000000000..d5f4b3750 --- /dev/null +++ b/mica-redis/pom.xml @@ -0,0 +1,55 @@ + + + 4.0.0 + mica-redis + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + org.apache.commons + commons-pool2 + + + org.springframework.boot + spring-boot-starter-aop + + + org.springframework.boot + spring-boot-starter-data-redis + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework.boot + spring-boot-autoconfigure + provided + + + org.springframework.cloud + spring-cloud-context + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/mica-spider/pom.xml b/mica-spider/pom.xml new file mode 100644 index 000000000..15f9777ae --- /dev/null +++ b/mica-spider/pom.xml @@ -0,0 +1,31 @@ + + + 4.0.0 + mica-spider + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-http + + + org.jsoup + jsoup + + + org.springframework + spring-context + + + + diff --git a/mica-xss/pom.xml b/mica-xss/pom.xml new file mode 100644 index 000000000..9a6beb679 --- /dev/null +++ b/mica-xss/pom.xml @@ -0,0 +1,56 @@ + + + 4.0.0 + mica-xss + ${project.artifactId} + https://www.dreamlu.net + + + net.dreamlu + mica + ${revision} + + + + + net.dreamlu + mica-core + + + org.jsoup + jsoup + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework.boot + spring-boot-autoconfigure + provided + + + org.springframework.cloud + spring-cloud-context + provided + + + javax.validation + validation-api + provided + + + net.dreamlu + mica-auto + provided + + + + diff --git a/pom.xml b/pom.xml new file mode 100644 index 000000000..ad4f28b10 --- /dev/null +++ b/pom.xml @@ -0,0 +1,485 @@ + + + 4.0.0 + net.dreamlu + mica + ${revision} + pom + + ${project.artifactId} + An enhanced toolkit of Spring cloud to simplify development. + https://www.dreamlu.net + + + + ChunmengLu + qq596392912@gmail.com + + + + + scm:git:git@gitee.com/596392912/mica + scm:git:git@gitee.com/596392912/mica.git + git@gitee.com/596392912/mica.git + + + + + Apache License 2.0 + https://www.apache.org/licenses + + + + + + 2.7.18.9 + + 1.8 + UTF-8 + 1.6.0 + 3.10.1 + 3.4.2 + + 5.3.39 + 2.7.18 + 2021.0.9 + 3.0.2 + 1.5.22 + 2.2.19 + 1.18.1 + 3.0.3 + 1.7.0 + 2.4.1 + 1.2.23 + 5.2.2 + 3.5.3 + 2.7.3 + 7.4 + 1.4.2 + 2.3.5 + + + + mica-bom + mica-core + mica-http + mica-spider + mica-laytpl + mica-openapi + mica-captcha + mica-jobs + mica-mongo + mica-redis + mica-ip2region + mica-xss + mica-metrics + mica-caffeine + mica-logging + mica-qrcode + mica-jetcache + mica-lite + mica-activerecord + mica-prometheus + mica-holidays + + + + + org.junit.jupiter + junit-jupiter + test + + + org.slf4j + slf4j-api + provided + + + jakarta.servlet + jakarta.servlet-api + provided + + + com.google.code.findbugs + jsr305 + ${findbugs.version} + provided + + + org.projectlombok + lombok + provided + + + + + + + org.springframework + spring-framework-bom + ${spring.version} + pom + import + + + org.springframework.boot + spring-boot-dependencies + ${spring.boot.version} + pom + import + + + org.springframework.cloud + spring-cloud-dependencies + ${spring.cloud.version} + pom + import + + + io.swagger + swagger-annotations + ${swagger.version} + + + io.swagger.core.v3 + swagger-annotations + ${swagger3x.version} + + + org.springdoc + springdoc-openapi-ui + ${springDoc.version} + + + com.github.xiaoymin + knife4j-springdoc-ui + ${knife4j.version} + + + org.jsoup + jsoup + ${jsoup.version} + + + com.xuxueli + xxl-job-core + ${xxl.job.version} + + + com.alibaba + druid + ${druid.version} + + + com.jfinal + activerecord + ${jfinal.version} + + + com.google.zxing + javase + ${zxing.version} + + + com.alicp.jetcache + jetcache-autoconfigure + ${jetcache.version} + + + net.logstash.logback + logstash-logback-encoder + ${logstash.version} + + + com.github.loki4j + loki-logback-appender-jdk8 + ${loki.logback.appender.version} + + + + net.dreamlu + mica-auto + ${mcia.auto.version} + provided + + + net.dreamlu + mica-core + ${revision} + + + net.dreamlu + mica-http + ${revision} + + + net.dreamlu + mica-spider + ${revision} + + + net.dreamlu + mica-laytpl + ${revision} + + + net.dreamlu + mica-openapi + ${revision} + + + net.dreamlu + mica-captcha + ${revision} + + + net.dreamlu + mica-jobs + ${revision} + + + net.dreamlu + mica-mongo + ${revision} + + + net.dreamlu + mica-redis + ${revision} + + + net.dreamlu + mica-ip2region + ${revision} + + + net.dreamlu + mica-xss + ${revision} + + + net.dreamlu + mica-metrics + ${revision} + + + net.dreamlu + mica-caffeine + ${revision} + + + net.dreamlu + mica-logging + ${revision} + + + net.dreamlu + mica-qrcode + ${revision} + + + net.dreamlu + mica-jetcache + ${revision} + + + net.dreamlu + mica-lite + ${revision} + + + net.dreamlu + mica-activerecord + ${revision} + + + net.dreamlu + mica-prometheus + ${revision} + + + net.dreamlu + mica-holidays + ${revision} + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler.version} + + ${java.version} + ${java.version} + ${project.build.sourceEncoding} + -parameters + + + + + org.apache.maven.plugins + maven-source-plugin + 3.3.1 + + + attach-sources + verify + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-jar-plugin + ${maven-jar-plugin.version} + + + + true + + + true + true + true + + + false + + + + + org.codehaus.mojo + flatten-maven-plugin + + true + oss + + remove + remove + + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + + + + + + + org.codehaus.mojo + flatten-maven-plugin + ${maven-flatten.version} + + + org.apache.maven.plugins + maven-gpg-plugin + 3.2.7 + + + org.codehaus.mojo + build-helper-maven-plugin + 3.6.0 + + + org.apache.maven.plugins + maven-resources-plugin + 3.3.1 + + + + + + + + develop + + true + + + + aliyun + aliyun + https://maven.aliyun.com/repository/public/ + + false + + + true + + + + + + release + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.11.1 + + + package + + jar + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + + + verify + + sign + + + + + + --pinentry-mode + loopback + + + + + + org.sonatype.central + central-publishing-maven-plugin + 0.6.0 + true + + central + true + + + + + + + +