diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE new file mode 100644 index 0000000..691ce34 --- /dev/null +++ b/.github/ISSUE_TEMPLATE @@ -0,0 +1,13 @@ +**注意:github 上的少,可能响应不够及时,建议 gitee 上发起** + +Please answer some questions before submitting your issue. Thanks! + +### Which version do you using(使用的哪个版本)? + +### Expected behavior(预期的效果) + +### Actual behavior(实际的效果) + +### Steps to reproduce the behavior(重现步骤) + +### Other information(其他信息) diff --git a/.github/PULL_REQUEST_TEMPLATE b/.github/PULL_REQUEST_TEMPLATE new file mode 100644 index 0000000..6b664de --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE @@ -0,0 +1,16 @@ +**注意:github 上的少,可能响应不够及时,建议 gitee 上发起** + +**What kind of change does this PR introduce?** (check at least one) + +- [ ] Bugfix(bug修复) +- [ ] Feature(新功能) +- [ ] Code style update(代码格式调整) +- [ ] Refactor(重构) +- [ ] Build-related changes(与构建相关的更改) +- [ ] Other, please describe(其他,请说明): + + +**The description of the PR(PR描述):** + + +**Other information(其他信息):** diff --git a/.github/workflows/test-and-build.yml b/.github/workflows/test-and-build.yml new file mode 100644 index 0000000..c2d1312 --- /dev/null +++ b/.github/workflows/test-and-build.yml @@ -0,0 +1,17 @@ +name: Java CI +on: [push, pull_request] + +jobs: + buildOnJava8: + name: build on java8 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 8 + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + cache: 'maven' + java-version: 8 + - name: Build with Maven + run: mvn package diff --git a/.gitignore b/.gitignore index 987273c..efc7569 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,7 @@ Thumbs.db *.war *.ear /target + +# Flattened pom +.flattened-pom.xml +/**/.flattened-pom.xml diff --git a/blade-core-bom/pom.xml b/blade-core-bom/pom.xml new file mode 100644 index 0000000..c7c145e --- /dev/null +++ b/blade-core-bom/pom.xml @@ -0,0 +1,38 @@ + + + + blade-tool + org.springblade + ${revision} + + + 4.0.0 + + blade-core-bom + ${project.artifactId} + pom + + + + + org.codehaus.mojo + flatten-maven-plugin + ${maven-flatten.version} + + true + oss + + expand + remove + remove + remove + remove + + + + + + + diff --git a/blade-core-boot/pom.xml b/blade-core-boot/pom.xml index 8d95cce..3ad7129 100644 --- a/blade-core-boot/pom.xml +++ b/blade-core-boot/pom.xml @@ -5,14 +5,13 @@ org.springblade blade-tool - 3.7.2 + ${revision} 4.0.0 blade-core-boot ${project.artifactId} - ${blade.tool.version} jar @@ -35,38 +34,31 @@ org.springblade blade-core-launch - ${blade.tool.version} org.springblade blade-core-cloud - ${blade.tool.version} org.springblade blade-core-tool - ${blade.tool.version} org.springblade blade-core-secure - ${blade.tool.version} org.springblade blade-core-log - ${blade.tool.version} org.springblade blade-core-swagger - ${blade.tool.version} org.springblade blade-core-mybatis - ${blade.tool.version} com.baomidou diff --git a/blade-core-cloud/pom.xml b/blade-core-cloud/pom.xml index 8cf1950..acda291 100644 --- a/blade-core-cloud/pom.xml +++ b/blade-core-cloud/pom.xml @@ -5,13 +5,12 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-cloud ${project.artifactId} - ${blade.tool.version} jar @@ -20,7 +19,6 @@ org.springblade blade-core-secure - ${blade.tool.version} diff --git a/blade-core-crypto/pom.xml b/blade-core-crypto/pom.xml index 6f77caa..e477669 100644 --- a/blade-core-crypto/pom.xml +++ b/blade-core-crypto/pom.xml @@ -5,20 +5,18 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-crypto ${project.artifactId} - ${blade.tool.version} jar org.springblade blade-core-tool - ${blade.tool.version} org.springframework.cloud diff --git a/blade-core-datascope/pom.xml b/blade-core-datascope/pom.xml index 663df8f..e3257d5 100644 --- a/blade-core-datascope/pom.xml +++ b/blade-core-datascope/pom.xml @@ -5,13 +5,12 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-datascope ${project.artifactId} - ${blade.tool.version} jar @@ -19,7 +18,6 @@ org.springblade blade-core-mybatis - ${blade.tool.version} diff --git a/blade-core-develop/pom.xml b/blade-core-develop/pom.xml index 1940ae9..30bc426 100644 --- a/blade-core-develop/pom.xml +++ b/blade-core-develop/pom.xml @@ -5,13 +5,12 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-develop ${project.artifactId} - ${blade.tool.version} jar @@ -19,7 +18,6 @@ org.springblade blade-core-tool - ${blade.tool.version} diff --git a/blade-core-launch/pom.xml b/blade-core-launch/pom.xml index e76c37f..064023b 100644 --- a/blade-core-launch/pom.xml +++ b/blade-core-launch/pom.xml @@ -5,14 +5,13 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-launch ${project.artifactId} - ${blade.tool.version} jar diff --git a/blade-core-loadbalancer/pom.xml b/blade-core-loadbalancer/pom.xml index e3f26ef..1b343ca 100644 --- a/blade-core-loadbalancer/pom.xml +++ b/blade-core-loadbalancer/pom.xml @@ -5,14 +5,13 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-loadbalancer ${project.artifactId} - ${blade.tool.version} jar diff --git a/blade-core-log/pom.xml b/blade-core-log/pom.xml index 25a4d9c..dd5e2a9 100644 --- a/blade-core-log/pom.xml +++ b/blade-core-log/pom.xml @@ -5,14 +5,13 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-log ${project.artifactId} - ${blade.tool.version} jar @@ -20,17 +19,14 @@ org.springblade blade-core-tool - ${blade.tool.version} org.springblade blade-core-secure - ${blade.tool.version} org.springblade blade-core-cloud - ${blade.tool.version} diff --git a/blade-core-mybatis/pom.xml b/blade-core-mybatis/pom.xml index f84025c..d699180 100644 --- a/blade-core-mybatis/pom.xml +++ b/blade-core-mybatis/pom.xml @@ -5,14 +5,13 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-mybatis ${project.artifactId} - ${blade.tool.version} jar @@ -36,7 +35,6 @@ org.springblade blade-core-secure - ${blade.tool.version} diff --git a/blade-core-oss/pom.xml b/blade-core-oss/pom.xml index 4279fa1..79eb6c1 100644 --- a/blade-core-oss/pom.xml +++ b/blade-core-oss/pom.xml @@ -5,13 +5,12 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-oss ${project.artifactId} - ${blade.tool.version} jar @@ -19,7 +18,6 @@ org.springblade blade-core-tool - ${blade.tool.version} diff --git a/blade-core-report/pom.xml b/blade-core-report/pom.xml index 5063e4a..00e77ba 100644 --- a/blade-core-report/pom.xml +++ b/blade-core-report/pom.xml @@ -5,20 +5,18 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-report ${project.artifactId} - ${blade.tool.version} jar org.springblade blade-core-mybatis - ${blade.tool.version} com.bstek.ureport diff --git a/blade-core-secure/pom.xml b/blade-core-secure/pom.xml index dc27f2f..8b730b3 100644 --- a/blade-core-secure/pom.xml +++ b/blade-core-secure/pom.xml @@ -5,14 +5,13 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-secure ${project.artifactId} - ${blade.tool.version} jar @@ -31,7 +30,6 @@ org.springblade blade-core-tool - ${blade.tool.version} diff --git a/blade-core-social/pom.xml b/blade-core-social/pom.xml index 160d434..21612c3 100644 --- a/blade-core-social/pom.xml +++ b/blade-core-social/pom.xml @@ -5,13 +5,12 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-social ${project.artifactId} - ${blade.tool.version} jar @@ -19,7 +18,6 @@ org.springblade blade-core-tool - ${blade.tool.version} diff --git a/blade-core-swagger/pom.xml b/blade-core-swagger/pom.xml index dadfe41..88d8529 100644 --- a/blade-core-swagger/pom.xml +++ b/blade-core-swagger/pom.xml @@ -5,14 +5,13 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-swagger ${project.artifactId} - ${blade.tool.version} jar @@ -20,7 +19,6 @@ org.springblade blade-core-tool - ${blade.tool.version} diff --git a/blade-core-test/pom.xml b/blade-core-test/pom.xml index a05c988..069f6cf 100644 --- a/blade-core-test/pom.xml +++ b/blade-core-test/pom.xml @@ -5,13 +5,12 @@ org.springblade blade-tool - 3.7.2 + ${revision} 4.0.0 blade-core-test ${project.artifactId} - ${blade.tool.version} jar @@ -19,7 +18,6 @@ org.springblade blade-core-launch - ${blade.tool.version} diff --git a/blade-core-tool/pom.xml b/blade-core-tool/pom.xml index c83be42..5181a52 100644 --- a/blade-core-tool/pom.xml +++ b/blade-core-tool/pom.xml @@ -2,18 +2,16 @@ - org.springblade blade-tool - 3.7.2 + ${revision} 4.0.0 blade-core-tool ${project.artifactId} - ${blade.tool.version} jar @@ -21,7 +19,6 @@ org.springblade blade-core-launch - ${blade.tool.version} com.fasterxml.jackson.datatype diff --git a/blade-core-transaction/pom.xml b/blade-core-transaction/pom.xml index 7ba079f..b608fae 100644 --- a/blade-core-transaction/pom.xml +++ b/blade-core-transaction/pom.xml @@ -5,13 +5,12 @@ blade-tool org.springblade - 3.7.2 + ${revision} 4.0.0 blade-core-transaction ${project.artifactId} - ${blade.tool.version} jar @@ -19,12 +18,10 @@ org.springblade blade-core-mybatis - ${blade.tool.version} org.springblade blade-core-cloud - ${blade.tool.version} diff --git a/pom.xml b/pom.xml index 08e66de..0dd39f4 100644 --- a/pom.xml +++ b/pom.xml @@ -2,10 +2,9 @@ 4.0.0 - org.springblade blade-tool - 3.7.2 + ${revision} pom blade-tool @@ -36,11 +35,12 @@ - 3.7.2 - + + 3.7.1 + 1.8 3.8.1 - + 1.3.0 4.3.0 3.5.13 2.1.1 @@ -64,6 +64,7 @@ + blade-core-bom blade-core-boot blade-core-cloud blade-core-develop @@ -120,6 +121,98 @@ pom import + + net.dreamlu + mica-auto + ${mica.auto.version} + provided + + + + org.springblade + blade-core-launch + ${revision} + + + org.springblade + blade-core-boot + ${revision} + + + org.springblade + blade-core-cloud + ${revision} + + + org.springblade + blade-core-tool + ${revision} + + + org.springblade + blade-core-develop + ${revision} + + + org.springblade + blade-core-secure + ${revision} + + + org.springblade + blade-core-social + ${revision} + + + org.springblade + blade-core-log + ${revision} + + + org.springblade + blade-core-test + ${revision} + + + org.springblade + blade-core-swagger + ${revision} + + + org.springblade + blade-core-mybatis + ${revision} + + + org.springblade + blade-core-oss + ${revision} + + + org.springblade + blade-core-transaction + ${revision} + + + org.springblade + blade-core-loadbalancer + ${revision} + + + org.springblade + blade-core-report + ${revision} + + + org.springblade + blade-core-datascope + ${revision} + + + org.springblade + blade-core-crypto + ${revision} + @@ -159,7 +252,6 @@ net.dreamlu mica-auto - ${mica.auto.version} provided @@ -191,6 +283,31 @@ + + org.codehaus.mojo + flatten-maven-plugin + ${maven-flatten.version} + + true + oss + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + + org.apache.maven.plugins maven-javadoc-plugin