From 8d3d528ad51976ffae48c21645402d820591ba31 Mon Sep 17 00:00:00 2001 From: vitaxa Date: Mon, 25 Jan 2021 13:28:13 +0300 Subject: [PATCH] Initial lib parent pom (#1) --- .gitignore | 56 +++++++++++ .gitmodules | 4 + Jenkinsfile | 13 +++ build_utils | 1 + pom.xml | 265 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 339 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 Jenkinsfile create mode 160000 build_utils create mode 100644 pom.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..33589c6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,56 @@ +# Created by .ignore support plugin (hsz.mobi) +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm + +*.DS_Store + +*.iml + +## Directory-based project format: +.idea/ +# if you remove the above rule, at least ignore the following: + +# User-specific stuff: +# .idea/workspace.xml +# .idea/tasks.xml +# .idea/dictionaries + +# Sensitive or high-churn files: +# .idea/dataSources.ids +# .idea/dataSources.xml +# .idea/sqlDataSources.xml +# .idea/dynamic.xml +# .idea/uiDesigner.xml + +# Gradle: +# .idea/gradle.xml +# .idea/libraries + +# Mongo Explorer plugin: +# .idea/mongoSettings.xml + +## File-based project format: +*.ipr +*.iws + +## Plugin-specific files: + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties + +# Target folder +target + +# Target ant folder +build diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ca5a761 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "build_utils"] + path = build_utils + url = git@github.com:rbkmoney/build_utils.git + branch = master diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..e60e03e --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,13 @@ +#!groovy +build('java-parent-pom', 'docker-host') { + checkoutRepo() + loadBuildUtils() + + def javaLibPipeline + runStage('load JavaLib pipeline') { + javaLibPipeline = load("build_utils/jenkins_lib/pipeJavaLib.groovy") + } + + def buildImageTag = "442c2c274c1d8e484e5213089906a4271641d95e" + javaLibPipeline(buildImageTag) +} diff --git a/build_utils b/build_utils new file mode 160000 index 0000000..e131872 --- /dev/null +++ b/build_utils @@ -0,0 +1 @@ +Subproject commit e1318727d4d0c3e48f5122bf3197158b6695f50e diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..d6bc919 --- /dev/null +++ b/pom.xml @@ -0,0 +1,265 @@ + + + 4.0.0 + pom + com.rbkmoney + library-parent-pom + 1.0.0 + RBKmoney parent + RBKmoney parent pom + https://github.com/rbkmoney/java-parent-pom + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + Pavel Popov + p.popov@rbkmoney.com + RBK.money + https://rbk.money + + + + + scm:git:git://github.com/rbkmoney/java-parent-pom.git + scm:git:ssh://github.com/rbkmoney/java-parent-pom.git + https://github.com/rbkmoney/java-parent-pom/tree/master + + + + 1.8 + 1.8 + UTF-8 + ossrh + https://oss.sonatype.org/content/repositories/releases + ossrh + https://oss.sonatype.org/content/repositories/snapshots + ossrh + https://oss.sonatype.org/ + rbkmoney_google_checkstyle.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 + + + + + ${pubSnapRepoId} + ${pubSnapRepo} + + + ${pubRepoId} + ${pubRepo} + + + + + ${pubSnapRepoId} + ${pubSnapRepo} + + false + + + true + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.2.0 + + + attach-javadocs + + jar + + + none + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${pubStagingRepoId} + ${pubStagingRepo} + ${autoReleaseAfterClose} + + + + + + + sign + + + env.MVN_PROFILE + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + ${gpg.keyname} + + --pinentry-mode + loopback + + + + + + + + + + common + + true + + env.MVN_PROFILE + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.1.1 + + + com.rbkmoney + java-checkstyle-config + 1.0.0 + + + + + validate + validate + + ${checkstyle.config.path} + UTF-8 + true + true + warning + true + + + check + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + attach-sources + + jar-no-fork + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + 1.8 + 1.8 + UTF-8 + + + + + + + +