diff --git a/.travis.yml b/.travis.yml index d99b15d..1ea0203 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,18 +2,18 @@ language: java env: global: # OSSRH_JIRA_USERNAME - - secure: TPbdHAtQGq73vosBm57yROH+uNIJawNQxPmznne+Djq9NMo+q/iWx2l0Yj9VxJqhVlW4UTzRdqXyzY+kgsECAF1XSICDRvkkzIViBVwoIzz0k9DdwM2Ues5FPNz93cH+Tb1zFM6/+irSa5DzGh9abgVgFC3AW01oJ18CzIWytW+M+lHOfWsuqvlg17ttW0SUX9na2cirk0NPOQTQmkGLxUFwWL56J0tymPSc6+Brg7X3wzGqpvE8wIKm+Wt4deimCfQomWUuyfpi6gnwgPktRgcZE9OWZttPYuKMgfuFOwk5UfkVigorpvWnBQtKCvISJc9wmgiH66xBgH2dzfoFwwk6JTQUhNNqIP5L2AJmjyWEHRY93Pu9L7MKBVSzBjQ5kGhJbF6cDUW2HjSDJkGCQrqFYC4IpWPOhO6HLuFjqqejRuR0rNTp76+KU2L+2ThOF7YQoKazgj1KdQJnQGMKBapYgDq0TOpp3MlFwkJbKhkV7oo9DQmo5hL+V5MvH+u/pEpk9+xCNzxnaOJCBZVIwx7hbhjrK6mnSc2jsq2bnAjDXhgKD01l8JGhzn8LfJ56ay/4EKC5jGp4D20rshm3omscMH/dDyJjRsn7mCtHiVmnz6dC/EByIGcUB5gNjN3exYS5PUDoI7Na/UHuaDX4CFDtCBJatQKuh4g6AbRYzoU= + - secure: hYuO+7tFHjZ6cajBWYu3jzSMqenwKMu6vdVjJZ8SdDw6XEfqs07oCB9AozbFoyNjAbXQGEKvUYe7gOS6aiy7+xpKyLI55U4IDhdKn0JKWNrI2Xm7Ns3zTe6fsGY4dm8hvIl2hZwFpUYQmQz59s5aiiMzal1Qp8IP2KoNedKDnQsZfwVdvVon6VYJwKm7L48zWyYkHwz9hpo929aOanWDIvTqz//pVP5k8lIOaKP1FbQXvZKL6Wpa1WQdMi4XXhCZSgSiPVUP6C9q8up71FoxTNAb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oD2CxE2dewMa+b0HlpPFxyOArTNV4rmn/KRPaDwGA9wUedk7zU6DKnUxljvbNJ5ol2maUnj3c6Cqvs7H/sWuMxQI88yjyQGqCWykBJbr2JaBL60CZ8S7WPYFDra2WXyVjwN3+yhEeA6Pf94c8mkyjBIdGUWz8vV6sXIJ4XqqyboIgFrpl3M07ho3/PZ4NbxY6TbmhjtDQHCS4R35wmqH4p1M/vB6YrWcEUpv29uFd3mwXbaRsn/mj7t/f7iAP9zCIzJatUrUbuV827lM= jdk: openjdk11 install: mvn install -P !build-extras -DskipTests=true -Dmaven.javadoc.skip=true -B -V script: mvn test -P !build-extras -B cache: directories: - - "~/.m2/repository" + - "~/.m2/repository" after_success: ".travis/deploy_to_maven_central.sh" diff --git a/.travis/codesigning.asc.enc b/.travis/codesigning.asc.enc index 5f43932..a6433ce 100644 Binary files a/.travis/codesigning.asc.enc and b/.travis/codesigning.asc.enc differ diff --git a/.travis/deploy_to_maven_central.sh b/.travis/deploy_to_maven_central.sh index 6d460af..ddeb803 100755 --- a/.travis/deploy_to_maven_central.sh +++ b/.travis/deploy_to_maven_central.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ] || [ ! -z "$TRAVIS_TAG" ]; then - openssl aes-256-cbc -K $encrypted_419f3502ba64_key -iv $encrypted_419f3502ba64_iv -in .travis/codesigning.asc.enc -out .travis/codesigning.asc -d + openssl aes-256-cbc -K $encrypted_1bd4eaf46f33_key -iv $encrypted_1bd4eaf46f33_iv -in .travis/codesigning.asc.enc -out .travis/codesigning.asc -d gpg --fast-import .travis/codesigning.asc if [ ! -z "$TRAVIS_TAG" ] diff --git a/pom.xml b/pom.xml index 5b4f5c8..551dcfe 100644 --- a/pom.xml +++ b/pom.xml @@ -47,6 +47,9 @@ 3.0.0 2.22.1 2.5.3 + 1.6 + ${maven-gpg-plugin.version}.8 + 8.22 @@ -178,7 +181,7 @@ com.puppycrawl.tools checkstyle - 8.18 + ${checkstyle.version} @@ -204,9 +207,126 @@ @{project.version} + + org.sonatype.plugins + nexus-staging-maven-plugin + ${nexus-staging-maven-plugin.version} + true + + ossrh + https://oss.sonatype.org/ + true + + + + + build-extras + + true + + + + + org.apache.maven.plugins + maven-source-plugin + ${maven-source-plugin.version} + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven-javadoc-plugin.version} + + ${java.version} + ${encoding} + + + + attach-javadocs + + jar + + + + + + + + + sign + + + + org.apache.maven.plugins + maven-gpg-plugin + ${maven-gpg-plugin.version} + + + sign-artifacts + verify + + sign + + + + + + + + + instrumentation + + + + org.jacoco + jacoco-maven-plugin + + + **/*Config*.class + + + + + default-prepare-agent + + prepare-agent + + + + default-prepare-agent-integration + + prepare-agent-integration + + + + default-report + + report + + + + default-report-integration + + report-integration + + + + + + + + + ossrh