From 62ff10f2e7ba2dfe5d87b77a596380bf6defa7c5 Mon Sep 17 00:00:00 2001 From: Damian Sniezek Date: Tue, 13 Nov 2018 07:48:34 +0100 Subject: [PATCH 1/2] Version 2.67.1 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d4a1ba52..efb72dde 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.testdroid testdroid-api - 2.67 + 2.67.1 jar Testdroid API v2 https://github.com/bitbar/testdroid-api From e4abc3c4aff05e80e06f39076cba07c9d91b1b05 Mon Sep 17 00:00:00 2001 From: Damian Sniezek Date: Fri, 9 Nov 2018 14:12:59 +0100 Subject: [PATCH 2/2] Fix maven build --- Jenkinsfile | 25 ++++++++++++++++++++++ pom.xml | 61 ++++++++++++++++++++++++----------------------------- 2 files changed, 52 insertions(+), 34 deletions(-) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..5b458b1e --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,25 @@ +#!/usr/bin/env groovy +node('linux && maven && gpg') { + ansiColor('xterm') { + stage('Checkout') { + checkout([ + $class : 'GitSCM', + branches : [ + [ + name: env.BRANCH + ] + ], + userRemoteConfigs: [ + [ + credentialsId: 'f652697e-beb7-4724-b1b5-4913a2bf45f5', + url : 'git@github.com:bitbar/testdroid-api.git' + ] + ] + ]) + } + + stage('Build') { + sh('mvn clean package source:jar javadoc:jar gpg:sign deploy:deploy -DaltDeploymentRepository=ossrh::default::https://oss.sonatype.org/service/local/staging/deploy/maven2/') + } + } +} diff --git a/pom.xml b/pom.xml index efb72dde..b500d8de 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,4 @@ - - 4.0.0 com.testdroid @@ -14,14 +12,13 @@ UTF-8 2.9.6 - 1.7.25 - 5.3.1 - 2.6 - 3.8.1 - 4.5.6 - 1.26.0 + 1.7.13 + 5.2.0 + 2.5 + 3.3.2 + 4.5.2 + 1.25.0 2.0.0.0 - 2.22.1 scm:git:git://github.com:bitbar/testdroid-api.git @@ -54,13 +51,22 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.0 + 3.2 1.8 1.8 true + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.1 + + + false + + maven-assembly-plugin 3.1.0 @@ -81,29 +87,21 @@ org.apache.maven.plugins - maven-surefire-plugin + maven-gpg-plugin - -Djdk.net.URLClassPath.disableClassPathURLCheck=true + + --pinentry-mode + loopback + org.apache.maven.plugins - maven-gpg-plugin - - - sign-artifacts - verify - - sign - - - - --pinentry-mode - loopback - - - - + maven-javadoc-plugin + 3.0.0 + + -Xdoclint:none + @@ -161,10 +159,5 @@ ${hamcrest.version} test - - org.apache.maven.surefire - surefire-booter - ${surefire.booter.version} -