From f22abaf0e24f5f4dff1d66f4baea73eb8c86766a Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Mon, 28 Jan 2019 14:28:34 +0100 Subject: [PATCH] fix restdoc generation and append restdoc artifact to buildjob --- Jenkinsfile | 3 ++- pom.xml | 2 +- scm-plugins/pom.xml | 2 +- scm-webapp/pom.xml | 5 +++++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 693c7efb00..8bb52d6030 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,7 +26,7 @@ node('docker') { } stage('Build') { - mvn 'clean install -DskipTests' + mvn 'clean install -Pdoc -DskipTests' } stage('Unit Test') { @@ -53,6 +53,7 @@ node('docker') { stage('Archive') { archiveArtifacts 'scm-webapp/target/scm-webapp.war' archiveArtifacts 'scm-server/target/scm-server-app.*' + archiveArtifacts 'scm-webapp/target/scm-webapp-restdocs.zip' } stage('Docker') { diff --git a/pom.xml b/pom.xml index 5b300fb634..17e8ae2cca 100644 --- a/pom.xml +++ b/pom.xml @@ -777,7 +777,7 @@ 2.0.1 3.1.3.Final 1.19.4 - 2.9.1 + 2.11.1 2.8.6 4.0 diff --git a/scm-plugins/pom.xml b/scm-plugins/pom.xml index db0173d1df..25f85fc170 100644 --- a/scm-plugins/pom.xml +++ b/scm-plugins/pom.xml @@ -137,7 +137,7 @@ - doc + plugin-doc diff --git a/scm-webapp/pom.xml b/scm-webapp/pom.xml index 01f45cb54e..59add29fc4 100644 --- a/scm-webapp/pom.xml +++ b/scm-webapp/pom.xml @@ -896,6 +896,11 @@ enunciate-lombok ${enunciate.version} + + org.mapstruct + mapstruct-processor + ${org.mapstruct.version} +