diff --git a/.github/settings.yml b/.github/settings.yml
new file mode 100644
index 0000000..9267e7d
--- /dev/null
+++ b/.github/settings.yml
@@ -0,0 +1,2 @@
+# These settings are synced to GitHub by https://probot.github.io/apps/settings/
+_extends: .github
diff --git a/.github/workflows/basic-linters.yml b/.github/workflows/basic-linters.yml
new file mode 100644
index 0000000..6114f14
--- /dev/null
+++ b/.github/workflows/basic-linters.yml
@@ -0,0 +1,10 @@
+name: Vality basic linters
+
+on:
+ pull_request:
+ branches:
+ - "*"
+
+jobs:
+ lint:
+ uses: valitydev/base-workflows/.github/workflows/basic-linters.yml@v1
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c469f7b..70f1a7a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,4 +1,4 @@
-name: Build Artifact
+name: Maven Build Artifact
on:
pull_request:
@@ -7,13 +7,4 @@ on:
jobs:
build:
- runs-on: ubuntu-20.04
- steps:
- - uses: actions/checkout@v2
- - name: Set up Maven Central Repository
- uses: actions/setup-java@v2
- with:
- java-version: '15'
- distribution: 'adopt'
- - name: Build package
- run: mvn --batch-mode clean compile
\ No newline at end of file
+ uses: valitydev/java-workflow/.github/workflows/maven-library-build.yml@v2
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index e815322..5e2da3a 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -1,4 +1,4 @@
-name: Deploy package
+name: Maven Deploy Artifact
on:
push:
@@ -8,15 +8,10 @@ on:
jobs:
deploy:
- runs-on: ubuntu-20.04
- steps:
- - name: Checkout Repo
- uses: actions/checkout@v2
-
- - name: Deploy package
- uses: valitydev/action-deploy-jdk-package@v1.0.18
- with:
- server-username: ${{ secrets.OSSRH_USERNAME }}
- server-password: ${{ secrets.OSSRH_TOKEN }}
- deploy-secret-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
- deploy-secret-key-password: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
\ No newline at end of file
+ uses: valitydev/java-workflow/.github/workflows/maven-library-deploy.yml@v2
+ secrets:
+ server-username: ${{ secrets.OSSRH_USERNAME }}
+ server-password: ${{ secrets.OSSRH_TOKEN }}
+ deploy-secret-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
+ deploy-secret-key-password: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
+ mm-webhook-url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
diff --git a/LICENSE b/LICENSE
index 2bb9ad2..d9a10c0 100644
--- a/LICENSE
+++ b/LICENSE
@@ -173,4 +173,4 @@
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
- END OF TERMS AND CONDITIONS
\ No newline at end of file
+ END OF TERMS AND CONDITIONS
diff --git a/pom.xml b/pom.xml
index 3b97d34..99eca66 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,10 +3,12 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- pom
+
dev.vality
library-parent-pom
- 1.0.3
+ 2.0.0
+ pom
+
Vality parent
Vality library parent pom
https://github.com/valitydev/library-parent-pom
@@ -33,8 +35,8 @@
- 15
- 15
+ 17
+ 17
UTF-8
ossrh
https://s01.oss.sonatype.org/content/repositories/releases
@@ -140,12 +142,12 @@
org.apache.maven.plugins
maven-checkstyle-plugin
- 3.2.0
+ 3.2.1
com.puppycrawl.tools
checkstyle
- 9.3
+ 10.6.0