diff --git a/.drone.yml b/.drone.yml index ab7ee48..cd8c138 100644 --- a/.drone.yml +++ b/.drone.yml @@ -61,9 +61,10 @@ steps: - echo "$MAVEN_SETTINGS" >> maven-settings.xml - gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key - mvn --settings maven-settings.xml -U -P ossrh,release clean deploy + - mvn --settings maven-settings.xml -U -P release-struchkov-nexus clean deploy --- kind: signature -hmac: d30cbf3dfe171a8912b3171a0b7e5345f0cd80b65c1386d3207bffc06b56c3db +hmac: aaecb82da560b249aa3db9c370d61eedc48517dc2859e3f157bc30c2275d1217 ... diff --git a/pom.xml b/pom.xml index 13aedbd..201e055 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,6 @@ - + 4.0.0 dev.struchkov.godfather @@ -218,8 +219,7 @@ maven-release-plugin ${plugin.maven.release.ver} - clean - install + clean install v.@{project.version} true false @@ -279,6 +279,34 @@ + + release-struchkov-nexus + + + + org.sonatype.plugins + nexus-staging-maven-plugin + + struchkov-nexus-release + https://nexus.struchkov.dev/nexus/ + true + + + + org.apache.maven.plugins + maven-source-plugin + + + org.apache.maven.plugins + maven-gpg-plugin + + + org.apache.maven.plugins + maven-javadoc-plugin + + + + snapshot