diff --git a/.drone.yml b/.drone.yml index 5c96710..b3ea9e7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,3 +29,13 @@ steps: from_secret: sonar_instance_url SONAR_LOGIN_KEY: from_secret: sonar_login_key + + - name: deploy + image: maven:3-eclipse-temurin-21 + commands: + - mvn deploy --no-transfer-progress -B -V + environment: + MAVEN_DEPLOY_USERNAME: + from_secret: maven_deploy_username + MAVEN_DEPLOY_PASSWORD: + from_secret: maven_deploy_password diff --git a/pom.xml b/pom.xml index 09b24d8..4aa346c 100644 --- a/pom.xml +++ b/pom.xml @@ -34,6 +34,19 @@ + + + nexus-releases + Nexus Releases Repository + https://nexus.beatrice.wtf/repository/maven-releases/ + + + nexus-snapshots + Nexus Snapshots Repository + https://nexus.beatrice.wtf/repository/maven-snapshots/ + + + @@ -73,8 +86,8 @@ - sonatype-nexus-snapshots - https://oss.sonatype.org/content/repositories/snapshots + sonatype-nexus-releases + https://oss.sonatype.org/content/repositories/releases