diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..2003740 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: +- package-ecosystem: maven + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e62a71..01e4071 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,11 +2,13 @@ name: Verify on: push: + branches: + - master pull_request: jobs: build: name: Verify - uses: takari/takari-gh-actions/.github/workflows/ci.yml@v2 + uses: takari/takari-gh-actions/.github/workflows/ci.yml@v3 with: - jdk-matrix: '[ 8 ]' # for POM one JDK is enough + jdk-matrix: '[ 11 ]' # for POM one JDK is enough diff --git a/.gitignore b/.gitignore index 5a78575..3cd5b79 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ target/ -.project .classpath -.settings/ -bin +.project +.settings +*.iml +.idea +out/ +.DS_Store diff --git a/pom.xml b/pom.xml index c337213..4ccfb8e 100644 --- a/pom.xml +++ b/pom.xml @@ -1,7 +1,7 @@ @@ -290,33 +264,38 @@ true true -
${takari.licenseHeader}
false - - **/pom.xml - **/*.xml - **/*.xsd - **/*.xjb - **/*.mdo - **/*.properties - **/*.java - **/*.groovy - **/*.scala - **/*.aj - **/*.js - **/*.css - - - **/target/** - **/conf/** - **/.* - **/pkg/** - **/.idea/** - **/release.properties - **/pom.xml.releaseBackup - release.sh - **/src/test/** - + + +
${takari.licenseHeader}
+ + **/pom.xml + **/*.xml + **/*.xsd + **/*.xjb + **/*.mdo + **/*.properties + **/*.java + **/*.groovy + **/*.scala + **/*.aj + **/*.js + **/*.css + + + .mvn/wrapper/** + **/target/** + **/conf/** + **/.* + **/pkg/** + **/.idea/** + **/release.properties + **/pom.xml.releaseBackup + release.sh + **/src/test/** + +
+
JAVADOC_STYLE XML_STYLE @@ -324,6 +303,38 @@
+ + com.diffplug.spotless + spotless-maven-plugin + 2.43.0 + + + + + + + + + + + false + + true + + + + true + + + + + + ${spotless.action} + + process-sources + + + org.eclipse.m2e @@ -351,9 +362,64 @@ + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-maven + + enforce + + + + + [11,) + + + [3.6.3,) + + + + + + + + io.takari.maven.plugins + takari-lifecycle-plugin + true + + + com.diffplug.spotless + spotless-maven-plugin + + + + format-check + + + !format + + + + check + + + + format + + + format + + + + apply + + takari-release