diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c4e08dc --- /dev/null +++ b/.drone.yml @@ -0,0 +1,16 @@ + +kind: pipeline +type: docker +name: default +steps: +- name: create-settings-xml + image: robertstettner/drone-mvn-auth:latest + settings: + servers: + from_secret: maven_servers +- name: test and deploy + image: maven:3-jdk-10 + commands: + - mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V + - mvn test -B + - mvn clean deploy -DskipTests -gs settings.xml \ No newline at end of file diff --git a/pom.xml b/pom.xml index a9d7e30..a2badff 100644 --- a/pom.xml +++ b/pom.xml @@ -11,6 +11,12 @@ 1.8 1.8 + + + maven-greinet-snapshot + https://nexus.greinet.com/repository/maven-greinet-snapshot/ + + @@ -39,6 +45,33 @@ + + org.apache.maven.plugins + maven-deploy-plugin + 3.0.0-M2 + + true + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.5.1 + + + default-deploy + deploy + + deploy + + + + + maven-greinet-snapshot + https://nexus.greinet.com + true + +