Hi,

On 10.11.22 15:58, Raivo Rebane wrote:
Hello

My Maven deploy fails :

mvn install:install-file -Durl=file://repo
-Dfile=/usr/java/jdk1.8.0_261-amd64/lib/javax.xml.bind.jar -DgroupId=lib
-DartifactId=bind -Dpackaging=jar -Dversion=1.0

and gives error :

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

This output looks strange, because the output of the file "guice.jar" is
an indication that you are not using Apache Maven. It looks like you are
using a repackaged variant of Apache Maven... which causes issues.

First I would suggest to show what: "mvn --version" prints out... and
can you please post that here?



Tests                                                [pom]
[WARNING] Error injecting:
org.apache.maven.wagon.providers.http.HttpWagon$__sisu20
java.lang.ExceptionInInitializerError
     at javax.crypto.Cipher.getInstance (Cipher.java:540)
     at sun.security.ssl.JsseJce.getCipher (JsseJce.java:190)
     at sun.security.ssl.SSLCipher.isTransformationAvailable
(SSLCipher.java:509)
     at sun.security.ssl.SSLCipher.<init> (SSLCipher.java:498)
     at sun.security.ssl.SSLCipher.<clinit> (SSLCipher.java:81)
     at sun.security.ssl.CipherSuite.<clinit> (CipherSuite.java:65)
     at
sun.security.ssl.SSLContextImpl.getApplicableSupportedCipherSuites
(SSLContextImpl.java:348)
     at sun.security.ssl.SSLContextImpl$AbstractTLSContext.<clinit>
(SSLContextImpl.java:580)
     at java.lang.Class.forName0 (Native Method)
     at java.lang.Class.forName (Class.java:315)

What I do wrong ? And what is the true way of deply ?


This looks also very strange...

Kind regards
Karl Heinz Marbaise


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to