Riccardo Moroni created GUACAMOLE-1819: ------------------------------------------
Summary: javadoc issue while installing guacamole-client 1.5.2 Key: GUACAMOLE-1819 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1819 Project: Guacamole Issue Type: Bug Components: guacamole-client Affects Versions: 1.5.2 Environment: OS: Debian 12 Java: openjdk 17.0.6 2023-01-17 Architecture: 64-bit Reporter: Riccardo Moroni I'm installing Guacamole using classic method following the official manual (Section "Installing Guacamole natively" > guacamole-client. When I run "mvn package -e" I have the following error report: _[INFO] guacamole-client ................................... SUCCESS [ 3.520 s]_ _[INFO] guacamole-common ................................... FAILURE [ 3.646 s]_ _[INFO] guacamole-ext ...................................... SKIPPED_ _[INFO] guacamole-common-js ................................ SKIPPED_ _[INFO] guacamole .......................................... SKIPPED_ _[INFO] extensions ......................................... SKIPPED_ _[INFO] guacamole-auth-duo ................................. SKIPPED_ _[INFO] guacamole-auth-header .............................. SKIPPED_ _[INFO] guacamole-auth-jdbc ................................ SKIPPED_ _[INFO] guacamole-auth-jdbc-base ........................... SKIPPED_ _[INFO] guacamole-auth-jdbc-mysql .......................... SKIPPED_ _[INFO] guacamole-auth-jdbc-postgresql ..................... SKIPPED_ _[INFO] guacamole-auth-jdbc-sqlserver ...................... SKIPPED_ _[INFO] guacamole-auth-jdbc-dist ........................... SKIPPED_ _[INFO] guacamole-auth-json ................................ SKIPPED_ _[INFO] guacamole-auth-ldap ................................ SKIPPED_ _[INFO] guacamole-auth-quickconnect ........................ SKIPPED_ _[INFO] guacamole-auth-sso ................................. SKIPPED_ _[INFO] guacamole-auth-sso-base ............................ SKIPPED_ _[INFO] guacamole-auth-sso-cas ............................. SKIPPED_ _[INFO] guacamole-auth-sso-openid .......................... SKIPPED_ _[INFO] guacamole-auth-sso-saml ............................ SKIPPED_ _[INFO] guacamole-auth-sso-dist ............................ SKIPPED_ _[INFO] guacamole-auth-totp ................................ SKIPPED_ _[INFO] guacamole-history-recording-storage ................ SKIPPED_ _[INFO] guacamole-vault .................................... SKIPPED_ _[INFO] guacamole-vault-base ............................... SKIPPED_ _[INFO] guacamole-vault-ksm ................................ SKIPPED_ _[INFO] guacamole-vault-dist ............................... SKIPPED_ _[INFO] guacamole-example .................................. SKIPPED_ _[INFO] guacamole-playback-example ......................... SKIPPED_ _[INFO] ------------------------------------------------------------------------_ _[INFO] BUILD FAILURE_ _[INFO] ------------------------------------------------------------------------_ _[INFO] Total time: 7.349 s_ _[INFO] Finished at: 2023-06-23T08:09:51+02:00_ _[INFO] ------------------------------------------------------------------------_ _[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on project guacamole-common: MavenReportException: Error while generating Javadoc:_ _[ERROR] Exit code: 2 - /usr/lib/jvm/default-java/bin/javadoc: 16: Syntax error: Bad for loop variable_ _[ERROR]_ _[ERROR] Command line was: /usr/lib/jvm/default-java/bin/javadoc @options @packages_ _[ERROR]_ _[ERROR] Refer to the generated Javadoc files in '/home/cedadmin/guacamole-client-1.5.2/guacamole-common/target/apidocs' dir._ _[ERROR]_ _[ERROR] -> [Help 1]_ _org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on project guacamole-common: MavenReportException: Error while generating Javadoc:_ _Exit code: 2 - /usr/lib/jvm/default-java/bin/javadoc: 16: Syntax error: Bad for loop variable_ _Command line was: /usr/lib/jvm/default-java/bin/javadoc @options @packages_ _Refer to the generated Javadoc files in '/home/cedadmin/guacamole-client-1.5.2/guacamole-common/target/apidocs' dir._ _at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)_ _at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)_ _at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)_ _at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)_ _at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)_ _at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)_ _at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)_ _at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)_ _at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)_ _at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)_ _at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)_ _at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)_ _at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)_ _at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)_ _at java.lang.reflect.Method.invoke (Method.java:568)_ _at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)_ _at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)_ _at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)_ _at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)_ _Caused by: org.apache.maven.plugin.MojoExecutionException: MavenReportException: Error while generating Javadoc:_ _Exit code: 2 - /usr/lib/jvm/default-java/bin/javadoc: 16: Syntax error: Bad for loop variable_ _Command line was: /usr/lib/jvm/default-java/bin/javadoc @options @packages_ _Refer to the generated Javadoc files in '/home/cedadmin/guacamole-client-1.5.2/guacamole-common/target/apidocs' dir._ _at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.failOnError (AbstractJavadocMojo.java:6814)_ _at org.apache.maven.plugins.javadoc.JavadocJar.doExecute (JavadocJar.java:203)_ _at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.execute (AbstractJavadocMojo.java:1935)_ _at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)_ _at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)_ _at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)_ _at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)_ _at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)_ _at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)_ _at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)_ _at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)_ _at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)_ _at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)_ _at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)_ _at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)_ _at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)_ _at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)_ _at java.lang.reflect.Method.invoke (Method.java:568)_ _at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)_ _at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)_ _at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)_ _at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)_ _Caused by: org.apache.maven.reporting.MavenReportException:_ _Exit code: 2 - /usr/lib/jvm/default-java/bin/javadoc: 16: Syntax error: Bad for loop variable_ _Command line was: /usr/lib/jvm/default-java/bin/javadoc @options @packages_ _Refer to the generated Javadoc files in '/home/cedadmin/guacamole-client-1.5.2/guacamole-common/target/apidocs' dir._ _at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.doExecuteJavadocCommandLine (AbstractJavadocMojo.java:5861)_ _at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeJavadocCommandLine (AbstractJavadocMojo.java:5737)_ _at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeReport (AbstractJavadocMojo.java:2176)_ _at org.apache.maven.plugins.javadoc.JavadocJar.doExecute (JavadocJar.java:199)_ _at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.execute (AbstractJavadocMojo.java:1935)_ _at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)_ _at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)_ _at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)_ _at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)_ _at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)_ _at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)_ _at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)_ _at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)_ _at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)_ _at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)_ _at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)_ _at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)_ _at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)_ _at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)_ _at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)_ _at java.lang.reflect.Method.invoke (Method.java:568)_ _at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)_ _at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)_ _at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)_ _at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)_ _[ERROR]_ _[ERROR] Re-run Maven using the -X switch to enable full debug logging._ _[ERROR]_ _[ERROR] For more information about the errors and possible solutions, please read the following articles:_ _[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException_ _[ERROR]_ _[ERROR] After correcting the problems, you can resume the build with the command_ _[ERROR] mvn <args> -rf :guacamole-common_ OS: Debian 12 Java: openjdk 17.0.6 2023-01-17 Architecture: 64-bit -- This message was sent by Atlassian Jira (v8.20.10#820010)