diff --git a/Jenkinsfile b/Jenkinsfile index 5bff27ecb..ac7516de8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -170,14 +170,21 @@ pipeline { failure { script { emailext( - subject: "[BUILD-FAILURE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'", - body: """ - BUILD-FAILURE: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]': - - Check console output at ${env.BUILD_URL} - """.stripMargin(), to: "dev@struts.apache.org", - recipientProviders: [[$class: 'DevelopersRecipientProvider']] + recipientProviders: [[$class: 'DevelopersRecipientProvider']], + from: "Mr. Jenkins ", + subject: "Jenkins job ${env.JOB_NAME}#${env.BUILD_NUMBER} failed", + body: """ +There is a build failure in ${env.JOB_NAME}. + +Build: ${env.BUILD_URL} +Logs: ${env.BUILD_URL}console +Changes: ${env.BUILD_URL}changes + +-- +Mr. Jenkins +Director of Continuous Integration +""" ) } } @@ -186,14 +193,21 @@ pipeline { unstable { script { emailext( - subject: "[BUILD-UNSTABLE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'", - body: """ - BUILD-UNSTABLE: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]': - - Check console output at ${env.BUILD_URL} - """.stripMargin(), to: "dev@struts.apache.org", - recipientProviders: [[$class: 'DevelopersRecipientProvider']] + recipientProviders: [[$class: 'DevelopersRecipientProvider']], + from: "Mr. Jenkins ", + subject: "Jenkins job ${env.JOB_NAME}#${env.BUILD_NUMBER} unstable", + body: """ +Some tests have failed in ${env.JOB_NAME}. + +Build: ${env.BUILD_URL} +Logs: ${env.BUILD_URL}console +Changes: ${env.BUILD_URL}changes + +-- +Mr. Jenkins +Director of Continuous Integration +""" ) } } @@ -202,14 +216,21 @@ pipeline { fixed { script { emailext( - subject: "[BUILD-STABLE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'", - body: """ - BUILD-STABLE: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]': - - Is back to normal. - """.stripMargin(), to: "dev@struts.apache.org", - recipientProviders: [[$class: 'DevelopersRecipientProvider']] + recipientProviders: [[$class: 'DevelopersRecipientProvider']], + from: 'Mr. Jenkins ', + subject: "Jenkins job ${env.JOB_NAME}#${env.BUILD_NUMBER} back to normal", + body: """ +The build for ${env.JOB_NAME} completed successfully and is back to normal. + +Build: ${env.BUILD_URL} +Logs: ${env.BUILD_URL}console +Changes: ${env.BUILD_URL}changes + +-- +Mr. Jenkins +Director of Continuous Integration +""" ) } } diff --git a/apps/rest-showcase/pom.xml b/apps/rest-showcase/pom.xml index 2bf65a13a..9aff868e1 100644 --- a/apps/rest-showcase/pom.xml +++ b/apps/rest-showcase/pom.xml @@ -80,7 +80,7 @@ net.sourceforge.htmlunit htmlunit - 2.27 + 2.39.0 test diff --git a/apps/showcase/pom.xml b/apps/showcase/pom.xml index 6360c0ae4..78564ac36 100644 --- a/apps/showcase/pom.xml +++ b/apps/showcase/pom.xml @@ -144,7 +144,7 @@ net.sourceforge.htmlunit htmlunit - 2.37.0 + 2.39.0 test @@ -152,7 +152,7 @@ org.hibernate hibernate-validator - 5.4.3.Final + 6.1.2.Final - 7.2 - 2.10.1 - 2.12.1 - 3.2.12 - 1.7.29 - 4.3.25.RELEASE + 7.3.1 + 2.10.3 + 2.13.1 + 3.2.14 + 1.7.30 + 4.3.26.RELEASE 3.0.8 1.0.7 - 1.8 + 1.9 https://builds.apache.org/analysis/ - 2.22.2 + 3.0.0-M4 @@ -223,7 +231,7 @@ org.jacoco jacoco-maven-plugin - 0.8.4 + 0.8.5 prepare-agent @@ -287,17 +295,17 @@ org.apache.maven.plugins maven-war-plugin - 3.2.2 + 3.2.3 org.apache.felix maven-bundle-plugin - 3.5.0 + 4.2.1 org.apache.maven.plugins maven-dependency-plugin - 3.1.1 + 3.1.2 org.apache.maven.plugins @@ -353,7 +361,7 @@ org.owasp dependency-check-maven - 5.2.4 + 5.3.2 src/etc/project-suppression.xml @@ -366,7 +374,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.0.0-M2 + 3.0.0-M3 enforce @@ -425,7 +433,7 @@ org.apache.maven.plugins maven-site-plugin - 3.8.2 + 3.9.0 false @@ -433,12 +441,12 @@ org.apache.maven.doxia doxia-core - 1.9 + 1.9.1 org.apache.maven.doxia doxia-module-markdown - 1.9 + 1.9.1 @@ -678,13 +686,13 @@ org.freemarker freemarker - 2.3.28 + 2.3.30 org.apache.felix org.apache.felix.main - 4.6.1 + 6.0.3 org.apache.felix @@ -713,7 +721,7 @@ org.apache.velocity velocity-engine-core - 2.1 + 2.2 @@ -746,13 +754,13 @@ junit junit - 4.12 + 4.13 org.easymock easymock - 3.5.1 + 4.2 test @@ -766,7 +774,7 @@ org.glassfish javax.el - 3.0.1-b10 + 3.0.1-b11 @@ -779,21 +787,21 @@ javax.servlet jstl - 1.1.2 + 1.2 test org.apache.tomcat tomcat-jasper - 8.5.37 + 8.5.53 provided org.apache.tomcat tomcat-api - 8.5.37 + 8.5.53 provided @@ -870,7 +878,7 @@ org.apache.tomcat tomcat-juli - 8.5.37 + 8.5.53 @@ -903,7 +911,7 @@ org.apache.commons commons-lang3 - 3.9 + 3.10 org.apache.commons @@ -1025,14 +1033,22 @@ org.assertj assertj-core - 2.9.1 + 3.15.0 test org.mockito mockito-core - 2.23.0 + 3.3.3 + + + + org.objenesis + objenesis + + test @@ -1063,7 +1079,7 @@ org.testng testng - 5.14.10 + 7.1.0 compile true @@ -1131,26 +1147,26 @@ org.apache.juneau juneau-marshall - 7.2.2 + 8.1.3 javax.enterprise cdi-api - 1.0-SP4 + 1.2 org.jboss.weld weld-core - 1.0.1-SP4 + 2.2.16.SP1 - org.jboss.weld + org.jboss.weld.se weld-se - 1.0.1-Final + 2.2.16.SP1