[ 
https://issues.apache.org/jira/browse/GUACAMOLE-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16499498#comment-16499498
 ] 

Alexey commented on GUACAMOLE-568:
----------------------------------

sudo apt purge java-common openjdk-11-jre-headless
sudo apt install openjdk-8-jdk
sudo apt install maven
mvn package

> mvn package failed
> ------------------
>
>                 Key: GUACAMOLE-568
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-568
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-client
>    Affects Versions: 0.9.14
>         Environment: Ubuntu 18.04 LTS
> uname -a: Linux guacamole 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 
> 12:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> java -version:
> openjdk version "10.0.1" 2018-04-17
> OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
> OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)
>            Reporter: Alexey
>            Priority: Critical
>
> sudo apt install maven
> sudo mvn package
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> com.google.inject.internal.cglib.core.$ReflectUtils$1 
> (file:/usr/share/maven/lib/guice.jar) to method 
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of 
> com.google.inject.internal.cglib.core.$ReflectUtils$1
> WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] guacamole-common
> [INFO] guacamole-ext
> [INFO] guacamole-common-js
> [INFO] guacamole
> [INFO] guacamole-auth-cas
> [INFO] guacamole-auth-duo
> [INFO] guacamole-auth-header
> [INFO] guacamole-auth-jdbc
> [INFO] guacamole-auth-jdbc-base
> [INFO] guacamole-auth-jdbc-mysql
> [INFO] guacamole-auth-jdbc-postgresql
> [INFO] guacamole-auth-jdbc-sqlserver
> [INFO] guacamole-auth-jdbc-dist
> [INFO] guacamole-auth-ldap
> [INFO] guacamole-auth-noauth
> [INFO] guacamole-auth-openid
> [INFO] guacamole-example
> [INFO] guacamole-playback-example
> [INFO] guacamole-client
> [INFO] 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building guacamole-common 0.9.14
> [INFO] 
> ------------------------------------------------------------------------
> Downloading from central: 
> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.4/maven-source-plugin-2.4.pom
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] guacamole-common ................................... FAILURE [  0.753 
> s]
> [INFO] guacamole-ext ...................................... SKIPPED
> [INFO] guacamole-common-js ................................ SKIPPED
> [INFO] guacamole .......................................... SKIPPED
> [INFO] guacamole-auth-cas ................................. 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-ldap ................................ SKIPPED
> [INFO] guacamole-auth-noauth .............................. SKIPPED
> [INFO] guacamole-auth-openid .............................. SKIPPED
> [INFO] guacamole-example .................................. SKIPPED
> [INFO] guacamole-playback-example ......................... SKIPPED
> [INFO] guacamole-client ................................... SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 0.901 s
> [INFO] Finished at: 2018-06-03T16:59:18Z
> [INFO] Final Memory: 8M/30M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Plugin org.apache.maven.plugins:maven-source-plugin:2.4 or one of its 
> dependencies could not be resolved: Failed to read artifact descriptor for 
> org.apache.maven.plugins:maven-source-plugin:jar:2.4: Could not transfer 
> artifact org.apache.maven.plugins:maven-source-plugin:pom:2.4 from/to central 
> (https://repo.maven.apache.org/maven2): java.lang.RuntimeException: 
> Unexpected error: java.security.InvalidAlgorithmParameterException: the 
> trustAnchors parameter must be non-empty -> [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/PluginResolutionException



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to