-
Bug
-
Resolution: Incomplete
-
Minor
-
None
-
Jenkins 2.375.1
Maven Release Plug-in 0.16.3
OS: CentOS 7
VCS: Subversion
When I try to release a new version of my project by using the Maven Release Plugin, the release fails during the javadoc generation process:
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.5.0:jar (attach-javadocs) on project abc-app: MavenReportException: Error while generating Javadoc: [INFO] [ERROR] Exit code: 2 [INFO] [ERROR] javadoc: error - Illegal package name: "production)/target/checkout/target/apidocs" [INFO] [ERROR] Command line was: /var/lib/jenkins/jdks/openJDK-11.0.19+7/bin/javadoc @options @packages
The issue are the spaces in the job name because when I replace them, the error vanishes.