Re: Mvn install fails

2022-11-14 Thread Raivo Rebane
on't you follow suggestion from Greg Chabala to depend on jabx-api or jakarta xml-bind-api artifact? Keep It Simple Arnaud Le lun. 14 nov. 2022, 18:07, Raivo Rebane a écrit : Hi It takes me days to put things work with Ubuntu. Now I trie with Windows 10. I have successfully deployied n

Mvn install fails

2022-11-14 Thread Raivo Rebane
Hi It takes me days to put things work with Ubuntu. Now I trie with Windows 10. I have successfully deployied needed jar into local repository. And did addings into pom.xml file           project.local        project        file:${project.basedir}/repo           

Re: Maven Deploy fails

2022-11-13 Thread Raivo Rebane
://manpages.ubuntu.com/manpages/trusty/man8/update-alternatives.8.html Le dim. 13 nov. 2022, 19:08, Raivo Rebane a écrit : Hi I did raivo@Hydra:$ sudo update-alternative --list java [sudo] password for raivo: sudo: update-alternative: command not found And got error

Re: Maven Deploy fails

2022-11-13 Thread Raivo Rebane
r sob., 12 lis 2022 o 15:36 Raivo Rebane napisał(a): Hi Sorry for late answer, but I feel yesterday and today moning yourself sick and thought, that I got COVID. But now I feel better. I set environment variables and deploy starts to work. But compiling doesnot. It gives me : [ERROR] Failed

Re: Maven Deploy fails

2022-11-12 Thread Raivo Rebane
Hi Sorry for late answer, but I feel yesterday and today moning yourself sick and thought, that I got COVID. But now I feel better. I set environment variables and deploy starts to work. But compiling doesnot. It gives me : [ERROR] Failed to execute goal org.apache.maven.plugins:maven-comp

Re: Maven Deploy fails

2022-11-10 Thread Raivo Rebane
"ls -al /opt/apache-maven-3.6.3/lib" and "ls -la /usr/share/maven/lib/"... Also can you check if you have set an environment variable which starts with "M" (something like M2_HOME?? or alike? Kind regards Karl Heinz Marbaise On 10.11.22 20:21, Raivo Rebane wrote:

Re: Maven Deploy fails

2022-11-10 Thread Raivo Rebane
encoding: UTF-8 OS name: "linux", version: "5.15.0-52-generic", arch: "amd64", family: "unix" Am I right ? Regards Raivo On 10.11.22 20:23, Karl Heinz Marbaise wrote: Hi, On 10.11.22 15:58, Raivo Rebane wrote: Hello My Maven deploy fails : mvn insta

RE: Re: Maven Deploy fails

2022-11-10 Thread Raivo Rebane
ory. > There is no url parameter. > > Arnaud > Le jeu. 10 nov. 2022, 15:58, Raivo Rebane 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

Maven Deploy fails

2022-11-10 Thread Raivo Rebane
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 r

Re: exec:java doesn't find classes from jar files

2020-10-31 Thread Raivo Rebane
MethodHandle.checkInitialized (DirectMethodHandle.java:378)     at java.lang.invoke.DirectMethodHandle.ensureInitialized (DirectMethodHandle.java:368)     at java.lang.invoke.DirectMethodHandle.internalMemberNameEnsureInit (DirectMethodHandle.java:318)     at org.codehaus.mojo.exec.ExecJavaMojo$1.run (

exec:java doesn't find classes from jar files

2020-10-31 Thread Raivo Rebane
Hello If I use single httpclient.jar it doesn't find HttpClient.class if I duplicate dependencies wuidth addisional httpclient-beta.jar it finds HttpClient.class Then it didn't find HttpClientConnectionManager.class witch exist in both jars : org/apache/http/conn/OperatedClientConnection.c

exex:java problems with finding class

2020-10-31 Thread Raivo Rebane
Hello again is the order of dependencies plays mattter ? Raivo On 31.10.20 12:07, Raivo Rebane wrote: The screenshot is not delivered I add class list got by command jar tf repo/lib/httpclient/1.0/httpclient-1.0.jar here: org/apache/http/client/version.properties org/apache/http/client

Re: exex:java problems with finding class

2020-10-31 Thread Raivo Rebane
, Raivo Rebane wrote: Hello Hello I run following command: mvn exec:java -Dexec.mainClass="SolrJExample" -X and get following error : java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient I use projct repo and dependencies is:                   lib           httpclient    

exex:java problems with finding class

2020-10-31 Thread Raivo Rebane
Hello Hello I run following command: mvn exec:java -Dexec.mainClass="SolrJExample" -X and get following error : java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient I use projct repo and dependencies is:                   lib           httpclient           1.0               

Fwd: exec:java don't find existing class

2020-10-31 Thread Raivo Rebane
Hello I run following command: mvn exec:java -Dexec.mainClass="SolrJExample" -X and get following error : java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient I use projct repo and dependencies is:                   lib           httpclient           1.0                    

mvn exec:java don't use jars from project repo

2020-10-30 Thread Raivo Rebane
.Hello I run following command : mvn exec:java -Dexec.mainClass="SolrJExample" -Dexec.classpathScope=runtime  -X and classpath conains following line :     end pom conains following lines :                       lib           solrj           1.0             And it compiles perfectly

No transfer protocol found

2020-10-30 Thread Raivo Rebane
Hello I have trouble I tried mvn deploy:deploy-file in different ways: as example mvn deploy:deploy-file -Durl=repo -Dfile=/opt/tomcat/latest/lib/or.jar -DgroupId=com.appserv -DartifactId=devlib -Dpackaging=jar -Dversion=0.1 -Dmaven.wagon.provider.http=wagon-file But in any cases I got err

Fwd: I can cannot execute my SolrJ application

2020-10-23 Thread Raivo Rebane
Forwarded Message Subject:I can cannot execute my SolrJ application Date: Wed, 21 Oct 2020 09:55:01 +0300 From: Raivo Rebane To: users@maven.apache.org Hello I can compile my project properliy; But problems arise when I execute it: Apache Maven 3.6.3

Re: I can cannot execute my SolrJ application

2020-10-21 Thread Raivo Rebane
I would like to add that my application launces in ExecJavaMojo and troghts exeption Regards Raivo Rebane On 21.10.20 09:55, Raivo Rebane wrote: Hello I can compile my project properliy; But problems arise when I execute it: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f

I can cannot execute my SolrJ application

2020-10-21 Thread Raivo Rebane
       org.apache.maven.plugins     maven-surefire-plugin     3.0.0-M5                         test     SolrJExample        arg0            arg1                                    false             maven-compiler-plugin     3.8.1       11          org.codehaus.mojo exec-maven-plugin     1.1               How to fix that problem ? Looking forward Raivo Rebane - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

I can cannot execute my SolrJ application

2020-10-21 Thread Raivo Rebane
I would like to add that my application launces in ExecJavaMojo and troghts exeption Regards Raivo Rebane On 21.10.20 09:55, Raivo Rebane wrote: Hello I can compile my project properliy; But problems arise when I execute it: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f