diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..c469f7b
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,19 @@
+name: Build Artifact
+
+on:
+ pull_request:
+ branches:
+ - '*'
+
+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
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
new file mode 100644
index 0000000..aefaf52
--- /dev/null
+++ b/.github/workflows/deploy.yml
@@ -0,0 +1,35 @@
+name: Build Artifact
+
+on:
+ push:
+ branches:
+ - 'master'
+ - 'main'
+
+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'
+ server-id: ossrh
+ server-username: MAVEN_USERNAME
+ server-password: MAVEN_PASSWORD
+ - name: Install gpg secret key
+ run: |
+ cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
+ gpg --list-secret-keys --keyid-format LONG
+ - name: Publish package
+ env:
+ MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
+ MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
+ run: |
+ mvn \
+ --no-transfer-progress \
+ --batch-mode \
+ -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} \
+ clean deploy -Pdeploy
\ No newline at end of file
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index ca5a761..0000000
--- a/.gitmodules
+++ /dev/null
@@ -1,4 +0,0 @@
-[submodule "build_utils"]
- path = build_utils
- url = git@github.com:rbkmoney/build_utils.git
- branch = master
diff --git a/CODEOWNERS b/CODEOWNERS
deleted file mode 100644
index b12e43d..0000000
--- a/CODEOWNERS
+++ /dev/null
@@ -1 +0,0 @@
-* @rbkmoney/java-leads
\ No newline at end of file
diff --git a/Jenkinsfile b/Jenkinsfile
deleted file mode 100644
index 3be680b..0000000
--- a/Jenkinsfile
+++ /dev/null
@@ -1,12 +0,0 @@
-#!groovy
-build('library-parent-pom', 'docker-host') {
- checkoutRepo()
- loadBuildUtils()
-
- def javaLibPipeline
- runStage('load JavaLib pipeline') {
- javaLibPipeline = load("build_utils/jenkins_lib/pipeJavaLibInsideDocker.groovy")
- }
-
- javaLibPipeline()
-}
diff --git a/build_utils b/build_utils
deleted file mode 160000
index c12c9dd..0000000
--- a/build_utils
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit c12c9dd296912ec3c34ad443b448df98fef2556a
diff --git a/pom.xml b/pom.xml
index 3836292..c16a0ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,12 +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
- com.rbkmoney
+ dev.vality
library-parent-pom
- 1.0.8
- RBKmoney parent
- RBKmoney library parent pom
- https://github.com/rbkmoney/library-parent-pom
+ 1.0.0
+ Vality parent
+ Vality library parent pom
+ https://github.com/valitydev/library-parent-pom
@@ -19,17 +19,16 @@
- Pavel Popov
- p.popov@rbkmoney.com
- RBK.money
- https://rbk.money
+ devs@vality.dev
+ Vality
+ https://vality.dev
- scm:git:git://github.com/rbkmoney/library-parent-pom.git
- scm:git:ssh://github.com/rbkmoney/library-parent-pom.git
- https://github.com/rbkmoney/library-parent-pom/tree/master
+ scm:git:git://github.com/valitydev/library-parent-pom.git
+ scm:git:ssh://github.com/valitydev/library-parent-pom.git
+ https://github.com/valitydev/library-parent-pom/tree/master
@@ -37,79 +36,18 @@
15
UTF-8
ossrh
- https://oss.sonatype.org/content/repositories/releases
+ https://s01.oss.sonatype.org/content/repositories/releases
ossrh
- https://oss.sonatype.org/content/repositories/snapshots
+ https://s01.oss.sonatype.org/content/repositories/snapshots
ossrh
- https://oss.sonatype.org/
- releases
- http://java-nexus.msk1.rbkmoney.net:8081/nexus/content/repositories/releases
- snapshots
- http://java-nexus.msk1.rbkmoney.net:8081/nexus/content/repositories/snapshots
- https://raw.githubusercontent.com/rbkmoney/java-checkstyle-config/master/conf/rbkmoney_google_checkstyle.xml
- https://raw.githubusercontent.com/rbkmoney/java-checkstyle-config/master/conf/checkstyle-suppressions.xml
+ https://s01.oss.sonatype.org/
+ https://raw.githubusercontent.com/valitydev/java-checkstyle-config/master/conf/rbkmoney_google_checkstyle.xml
+ https://raw.githubusercontent.com/valitydev/java-checkstyle-config/master/conf/checkstyle-suppressions.xml
- private
-
-
- env.MVN_PROFILE
- private
-
-
-
-
- ${privSnapRepoId}
- ${privSnapRepo}
-
-
- ${privRepoId}
- ${privRepo}
-
-
-
-
- ${privRepoId}
- ${privRepo}
-
- true
-
-
- false
-
-
-
- ${privSnapRepoId}
- ${privSnapRepo}
-
- false
-
-
- true
-
-
-
- ${pubSnapRepoId}
- ${pubSnapRepo}
-
- false
-
-
- true
-
-
-
-
-
- public
-
-
- env.MVN_PROFILE
- public
-
-
+ deploy
${pubSnapRepoId}
@@ -137,7 +75,7 @@
org.apache.maven.plugins
maven-javadoc-plugin
- 3.2.0
+ 3.3.1
attach-javadocs
@@ -153,7 +91,7 @@
org.sonatype.plugins
nexus-staging-maven-plugin
- 1.6.7
+ 1.6.8
true
${pubStagingRepoId}
@@ -161,22 +99,10 @@
${autoReleaseAfterClose}
-
-
-
-
- sign
-
-
- env.MVN_PROFILE
-
-
-
-
org.apache.maven.plugins
maven-gpg-plugin
- 1.6
+ 3.0.1
sign-artifacts
@@ -185,7 +111,6 @@
sign
- ${gpg.keyname}
--pinentry-mode
loopback