Hi You install in local repository, you dont deploy to nexus/artefactory repository. There is no url parameter.
Arnaud Le jeu. 10 nov. 2022, 15:58, Raivo Rebane <ra...@r-systems.ee> a écrit : > 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 > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Build Order: > [INFO] > [INFO] TEAM Engine [pom] > [INFO] TEAM Engine - Tomcat > Realm [jar] > [INFO] TEAM Engine - Shared > Resources [jar] > [INFO] TEAM Engine - Core > Module [jar] > [INFO] TEAM Engine - Service > Providers [jar] > [INFO] TEAM Engine - CTL Test Suite > Providers [jar] > [INFO] TEAM Engine - Web > Application [war] > [INFO] TEAM Engine - Console > Application [pom] > [INFO] TEAM Engine - > Virtualization [pom] > [INFO] TEAM Engine - > 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 ? > > Regards > > Raivo > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >