diff --git a/Jenkinsfile b/Jenkinsfile
index 575fc8d5f..dfc08017b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -105,7 +105,6 @@ pipeline {
steps {
sh 'mkdir -p /tmp/jenkins-home'
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,artifactory ' +
- '-Drunning-on-ci ' +
'-Dartifactory.server=https://repo.spring.io ' +
"-Dartifactory.username=${ARTIFACTORY_USR} " +
"-Dartifactory.password=${ARTIFACTORY_PSW} " +
@@ -135,7 +134,6 @@ pipeline {
steps {
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,distribute ' +
- '-Drunning-on-ci ' +
'-Dartifactory.server=https://repo.spring.io ' +
"-Dartifactory.username=${ARTIFACTORY_USR} " +
"-Dartifactory.password=${ARTIFACTORY_PSW} " +
diff --git a/pom.xml b/pom.xml
index 4e43134e6..aed30a98b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -522,6 +522,28 @@
org.apache.maven.plugins
maven-assembly-plugin
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+
+
+ validate
+ validate
+
+ check
+
+
+
+
+ ${project.basedir}/etc/checkstyle/config.xml
+ ${project.basedir}/etc/checkstyle/suppressions.xml
+ ${project.basedir}/etc/checkstyle/java-header.txt
+ ${project.build.sourceEncoding}
+ true
+ true
+ true
+
+
org.jacoco
jacoco-maven-plugin
@@ -742,40 +764,4 @@
-
-
- always-but-ci
-
-
- !running-on-ci
-
-
-
-
-
- org.apache.maven.plugins
- maven-checkstyle-plugin
-
-
- validate
- validate
-
- check
-
-
-
-
- ${project.basedir}/etc/checkstyle/config.xml
- ${project.basedir}/etc/checkstyle/suppressions.xml
- ${project.basedir}/etc/checkstyle/java-header.txt
- ${project.build.sourceEncoding}
- true
- true
- true
-
-
-
-
-
-