wrap remaining Maven invocation
@@ -43,8 +43,10 @@ try {
pom = readMavenPom file: 'pom.xml'
writeFile file: 'target/classes/apidocs.txt', text: 'file created in order to allow aggregated javadoc generation, target/classes is needed for all modules'
writeFile file: 'jspwiki-it-tests/target/classes/apidocs.txt', text: 'file created in order to allow aggregated javadoc generation, target/classes is needed for all modules'
+ withMaven( jdk: buildJdk, maven: buildMvn, publisherStrategy: 'EXPLICIT' ) {
sh 'mvn package javadoc:aggregate-no-fork -DskipTests -pl !jspwiki-portable -Djdk.javadoc.doclet.version=2.0.12'
sh 'java -cp jspwiki-main/target/classes org.apache.wiki.TranslationsCheck site'
+ }
} else {
buildJSPWiki()
}
