Yeah it’s really weird. I have build a couple of 1.2.0 Wars without issue.
git status
On branch staging/1.2.0
Your branch is up to date with 'origin/staging/1.2.0'.

nothing to commit, working tree clean

when running maven clean package it tries to use the also installed JDK14 and 
errors out, is there any way to force it to use JDK8 like with a normal run?

From: Nick Couchman <[email protected]>
Sent: zaterdag 27 juni 2020 16:11
To: [email protected]
Subject: Re: 1.2.0 WAR build issue guacamole-client



On Sat, Jun 27, 2020 at 4:06 AM Daniëls, Tom 
<[email protected]<mailto:[email protected]>> wrote:
Hi Nick,

Thanks for the quick response and advise!
Unfortunately the issue remains unresolved;
user@guac:/home/user/git/guacamole-client# git fetch
user@guac:/home/user/git/guacamole-client# git checkout staging/1.2.0
Branch 'staging/1.2.0' set up to track remote branch 'staging/1.2.0' from 
'origin'.
Switched to a new branch 'staging/1.2.0'
user@guac:/home/user/git/guacamole-client# git reset --hard origin/staging/1.2.0
HEAD is now at 21ec5640a GUACAMOLE-728: Merge changes leveraging PostgreSQL's 
legacy "ssl" parameter only for disabling SSL.
[INFO] Reactor Summary:
[INFO]
[INFO] guacamole-common 1.1.0 ............................. SUCCESS [  9.397 s]
[INFO] guacamole-ext 1.2.0 ................................ SUCCESS [  9.934 s]
[INFO] guacamole-common-js 1.2.0 .......................... SUCCESS [  1.422 s]
[INFO] guacamole 1.2.0 .................................... SUCCESS [ 14.684 s]
[INFO] guacamole-auth-cas 1.2.0 ........................... SUCCESS [  3.193 s]
[INFO] guacamole-auth-duo 1.2.0 ........................... SUCCESS [  2.998 s]
[INFO] guacamole-auth-header 1.2.0 ........................ SUCCESS [  0.359 s]
[INFO] guacamole-auth-jdbc 1.2.0 .......................... SUCCESS [  0.293 s]
[INFO] guacamole-auth-jdbc-base 1.2.0 ..................... SUCCESS [  3.441 s]
[INFO] guacamole-auth-jdbc-mysql 1.2.0 .................... FAILURE [  1.647 s]
[INFO] guacamole-auth-jdbc-postgresql 1.2.0 ............... SKIPPED
[INFO] guacamole-auth-jdbc-sqlserver 1.2.0 ................ SKIPPED
[INFO] guacamole-auth-jdbc-dist 1.2.0 ..................... SKIPPED
[INFO] guacamole-auth-ldap 1.2.0 .......................... SKIPPED
[INFO] guacamole-auth-openid 1.2.0 ........................ SKIPPED
[INFO] guacamole-auth-quickconnect 1.2.0 .................. SKIPPED
[INFO] guacamole-auth-saml 1.2.0 .......................... SKIPPED
[INFO] guacamole-auth-totp 1.2.0 .......................... SKIPPED
[INFO] guacamole-example 1.2.0 ............................ SKIPPED
[INFO] guacamole-playback-example 1.2.0 ................... SKIPPED
[INFO] guacamole-client 1.2.0 ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  47.770 s
[INFO] Finished at: 2020-06-27T07:47:50Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on 
project guacamole-auth-jdbc-mysql: Compilation failure
[ERROR] 
/home/user/git/guacamole-client/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/conf/MySQLEnvironment.java:[390,4]
 error: method does not override or implement a method from a supertype
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :guacamole-auth-jdbc-mysql
Created debug info using command
mvn package -X -rf :guacamole-auth-jdbc-mysql

I got these results;
[WARNING] The POM for org.apache.guacamole:guacamole-auth-jdbc-base:jar:1.2.0 
is missing, no dependency information available
[...]

This is strange - it should have just built this.  Almost certainly the cause 
of the issues you're seeing.  Can you try building with:

mvn clean package

and see if that works?

-NIck

Reply via email to