diff --git a/Jenkinsfile b/Jenkinsfile
index 533a85d78..818714bf5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,97 +1,97 @@
pipeline {
- agent none
+ agent none
- triggers {
- pollSCM 'H/10 * * * *'
- upstream(upstreamProjects: "spring-data-commons/1.13.x", threshold: hudson.model.Result.SUCCESS)
- }
+ triggers {
+ pollSCM 'H/10 * * * *'
+ upstream(upstreamProjects: "spring-data-commons/1.13.x", threshold: hudson.model.Result.SUCCESS)
+ }
- options {
- disableConcurrentBuilds()
- }
+ options {
+ disableConcurrentBuilds()
+ }
- stages {
- stage("Test") {
- when {
- anyOf {
- branch '2.1.x'
- not { triggeredBy 'UpstreamCause' }
- }
- }
- parallel {
- stage("test: baseline") {
- agent {
- docker {
- image 'adoptopenjdk/openjdk8:latest'
- args '-v $HOME/.m2:/tmp/spring-data-maven-repository'
- }
- }
- options { timeout(time: 30, unit: 'MINUTES') }
- steps {
- sh 'rm -rf ?'
- sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/spring-data-maven-repository" ./mvnw clean dependency:list test -Dsort -B'
- }
- }
- }
- }
- stage('Release to artifactory') {
- when {
- branch 'issue/*'
- not { triggeredBy 'UpstreamCause' }
- }
- agent {
- docker {
- image 'adoptopenjdk/openjdk8:latest'
- args '-v $HOME/.m2:/tmp/spring-data-maven-repository'
- }
- }
- options { timeout(time: 20, unit: 'MINUTES') }
+ stages {
+ stage("Test") {
+ when {
+ anyOf {
+ branch '2.1.x'
+ not { triggeredBy 'UpstreamCause' }
+ }
+ }
+ parallel {
+ stage("test: baseline") {
+ agent {
+ docker {
+ image 'adoptopenjdk/openjdk8:latest'
+ args '-v $HOME/.m2:/tmp/spring-data-maven-repository'
+ }
+ }
+ options { timeout(time: 30, unit: 'MINUTES') }
+ steps {
+ sh 'rm -rf ?'
+ sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/spring-data-maven-repository" ./mvnw clean dependency:list test -Dsort -B'
+ }
+ }
+ }
+ }
+ stage('Release to artifactory') {
+ when {
+ branch 'issue/*'
+ not { triggeredBy 'UpstreamCause' }
+ }
+ agent {
+ docker {
+ image 'adoptopenjdk/openjdk8:latest'
+ args '-v $HOME/.m2:/tmp/spring-data-maven-repository'
+ }
+ }
+ options { timeout(time: 20, unit: 'MINUTES') }
- environment {
- ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
- }
+ environment {
+ ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
+ }
- steps {
- sh 'rm -rf ?'
- sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/spring-data-maven-repository" ./mvnw -Pci,snapshot -Dmaven.test.skip=true clean deploy -B'
- }
- }
- stage('Release to artifactory with docs') {
- when {
- branch '2.1.x'
- }
- agent {
- docker {
- image 'adoptopenjdk/openjdk8:latest'
- args '-v $HOME/.m2:/tmp/spring-data-maven-repository'
- }
- }
- options { timeout(time: 20, unit: 'MINUTES') }
+ steps {
+ sh 'rm -rf ?'
+ sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/spring-data-maven-repository" ./mvnw -Pci,snapshot -Dmaven.test.skip=true clean deploy -B'
+ }
+ }
+ stage('Release to artifactory with docs') {
+ when {
+ branch '2.1.x'
+ }
+ agent {
+ docker {
+ image 'adoptopenjdk/openjdk8:latest'
+ args '-v $HOME/.m2:/tmp/spring-data-maven-repository'
+ }
+ }
+ options { timeout(time: 20, unit: 'MINUTES') }
- environment {
- ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
- }
+ environment {
+ ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
+ }
- steps {
- sh 'rm -rf ?'
- sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/spring-data-maven-repository" ./mvnw -Pci,snapshot -Dmaven.test.skip=true clean deploy -B'
- }
- }
- }
+ steps {
+ sh 'rm -rf ?'
+ sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/spring-data-maven-repository" ./mvnw -Pci,snapshot -Dmaven.test.skip=true clean deploy -B'
+ }
+ }
+ }
- post {
- changed {
- script {
- slackSend(
- color: (currentBuild.currentResult == 'SUCCESS') ? 'good' : 'danger',
- channel: '#spring-data-dev',
- message: "${currentBuild.fullDisplayName} - `${currentBuild.currentResult}`\n${env.BUILD_URL}")
- emailext(
- subject: "[${currentBuild.fullDisplayName}] ${currentBuild.currentResult}",
- mimeType: 'text/html',
- recipientProviders: [[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']],
- body: "${currentBuild.fullDisplayName} is reported as ${currentBuild.currentResult}")
- }
- }
- }
+ post {
+ changed {
+ script {
+ slackSend(
+ color: (currentBuild.currentResult == 'SUCCESS') ? 'good' : 'danger',
+ channel: '#spring-data-dev',
+ message: "${currentBuild.fullDisplayName} - `${currentBuild.currentResult}`\n${env.BUILD_URL}")
+ emailext(
+ subject: "[${currentBuild.fullDisplayName}] ${currentBuild.currentResult}",
+ mimeType: 'text/html',
+ recipientProviders: [[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']],
+ body: "${currentBuild.fullDisplayName} is reported as ${currentBuild.currentResult}")
+ }
+ }
+ }
}
diff --git a/pom.xml b/pom.xml
index e1d719872..d883db855 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,198 +1,198 @@
- 4.0.0
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+ 4.0.0
- org.springframework.data
- spring-data-elasticsearch
- 2.1.23.BUILD-SNAPSHOT
+ org.springframework.data
+ spring-data-elasticsearch
+ 2.1.23.BUILD-SNAPSHOT
-
- org.springframework.data.build
- spring-data-parent
- 1.9.23.BUILD-SNAPSHOT
- ../spring-data-build/parent/pom.xml
-
+
+ org.springframework.data.build
+ spring-data-parent
+ 1.9.23.BUILD-SNAPSHOT
+ ../spring-data-build/parent/pom.xml
+
- Spring Data Elasticsearch
- Spring Data Implementation for Elasticsearch
- https://github.com/spring-projects/spring-data-elasticsearch
+ Spring Data Elasticsearch
+ Spring Data Implementation for Elasticsearch
+ https://github.com/spring-projects/spring-data-elasticsearch
-
+
- DATAES
+ DATAES
- 3.2.1
- 2.6
- 2.4.0
- 1.13.23.BUILD-SNAPSHOT
+ 3.2.1
+ 2.6
+ 2.4.0
+ 1.13.23.BUILD-SNAPSHOT
-
+
-
+
-
-
- org.springframework
- spring-context
-
-
- commons-logging
- commons-logging
-
-
-
+
+
+ org.springframework
+ spring-context
+
+
+ commons-logging
+ commons-logging
+
+
+
-
- org.springframework
- spring-tx
-
+
+ org.springframework
+ spring-tx
+
-
-
- org.springframework.data
- spring-data-commons
- ${springdata.commons}
-
+
+
+ org.springframework.data
+ spring-data-commons
+ ${springdata.commons}
+
-
-
- commons-lang
- commons-lang
- ${commonslang}
-
+
+
+ commons-lang
+ commons-lang
+ ${commonslang}
+
-
-
- joda-time
- joda-time
- ${jodatime}
-
+
+
+ joda-time
+ joda-time
+ ${jodatime}
+
-
-
- org.elasticsearch
- elasticsearch
- ${elasticsearch}
-
+
+
+ org.elasticsearch
+ elasticsearch
+ ${elasticsearch}
+
-
-
- com.fasterxml.jackson.core
- jackson-core
-
-
- com.fasterxml.jackson.core
- jackson-databind
-
+
+
+ com.fasterxml.jackson.core
+ jackson-core
+
+
+ com.fasterxml.jackson.core
+ jackson-databind
+
-
-
- javax.enterprise
- cdi-api
- ${cdi}
- provided
- true
-
+
+
+ javax.enterprise
+ cdi-api
+ ${cdi}
+ provided
+ true
+
-
-
- org.springframework
- spring-test
- test
-
-
- org.apache.openwebbeans.test
- cditest-owb
- ${webbeans}
- test
-
-
- org.apache.geronimo.specs
- geronimo-jcdi_1.0_spec
-
-
- org.apache.geronimo.specs
- geronimo-atinject_1.0_spec
-
-
-
-
- javax.servlet
- servlet-api
- 3.0-alpha-1
- test
-
+
+
+ org.springframework
+ spring-test
+ test
+
+
+ org.apache.openwebbeans.test
+ cditest-owb
+ ${webbeans}
+ test
+
+
+ org.apache.geronimo.specs
+ geronimo-jcdi_1.0_spec
+
+
+ org.apache.geronimo.specs
+ geronimo-atinject_1.0_spec
+
+
+
+
+ javax.servlet
+ servlet-api
+ 3.0-alpha-1
+ test
+
-
- org.projectlombok
- lombok
- ${lombok}
- test
-
+
+ org.projectlombok
+ lombok
+ ${lombok}
+ test
+
-
+
-
-
-
- org.apache.maven.plugins
- maven-assembly-plugin
-
-
- org.codehaus.mojo
- wagon-maven-plugin
-
-
- org.asciidoctor
- asciidoctor-maven-plugin
-
-
-
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+
+
+ org.codehaus.mojo
+ wagon-maven-plugin
+
+
+ org.asciidoctor
+ asciidoctor-maven-plugin
+
+
+
-
-
- snapshot
+
+
+ snapshot
-
-
-
- org.jfrog.buildinfo
- artifactory-maven-plugin
- 2.6.1
- false
-
-
- build-info
-
- publish
-
-
-
- {{BUILD_URL}}
-
-
- spring-data-elasticsearch
- spring-data-elasticsearch
- false
- *:*:*:*@zip
-
-
- https://repo.spring.io
- {{ARTIFACTORY_USR}}
- {{ARTIFACTORY_PSW}}
- libs-snapshot-local
- libs-snapshot-local
-
-
-
-
-
-
-
-
+
+
+
+ org.jfrog.buildinfo
+ artifactory-maven-plugin
+ 2.6.1
+ false
+
+
+ build-info
+
+ publish
+
+
+
+ {{BUILD_URL}}
+
+
+ spring-data-elasticsearch
+ spring-data-elasticsearch
+ false
+ *:*:*:*@zip
+
+
+ https://repo.spring.io
+ {{ARTIFACTORY_USR}}
+ {{ARTIFACTORY_PSW}}
+ libs-snapshot-local
+ libs-snapshot-local
+
+
+
+
+
+
+
+
-
+
ci
@@ -208,11 +208,13 @@
-
+
**/*
- .git/**/*,target/**/*,**/target/**/*,.idea/**/*,**/spring.schemas,**/*.svg,mvnw,mvnw.cmd,**/*.policy
+
+ .git/**/*,target/**/*,**/target/**/*,.idea/**/*,**/spring.schemas,**/*.svg,mvnw,mvnw.cmd,**/*.policy
+
./
@@ -222,56 +224,56 @@
- release
-
-
-
- org.jfrog.buildinfo
- artifactory-maven-plugin
- false
-
-
-
-
-
+ release
+
+
+
+ org.jfrog.buildinfo
+ artifactory-maven-plugin
+ false
+
+
+
+
+
-
-
- biomedcentral
- BioMed Central Development Team
- +0
-
-
+
+
+ biomedcentral
+ BioMed Central Development Team
+ +0
+
+
-
-
- spring-libs-snapshot
- https://repo.spring.io/libs-snapshot
-
-
+
+
+ spring-libs-snapshot
+ https://repo.spring.io/libs-snapshot
+
+
-
-
- spring-plugins-release
- https://repo.spring.io/plugins-release
-
-
+
+
+ spring-plugins-release
+ https://repo.spring.io/plugins-release
+
+
-
- https://github.com/spring-projects/spring-data-elasticsearch
- scm:git:git://github.com/spring-projects/spring-data-elasticsearch.git
- scm:git:ssh://git@github.com/spring-projects/spring-data-elasticsearch.git
-
-
+
+ https://github.com/spring-projects/spring-data-elasticsearch
+ scm:git:git://github.com/spring-projects/spring-data-elasticsearch.git
+ scm:git:ssh://git@github.com/spring-projects/spring-data-elasticsearch.git
+
+
-
- Bamboo
- https://build.springsource.org/browse/SPRINGDATAES
-
+
+ Bamboo
+ https://build.springsource.org/browse/SPRINGDATAES
+
-
- JIRA
- https://jira.springsource.org/browse/DATAES
-
+
+ JIRA
+ https://jira.springsource.org/browse/DATAES
+