Re: Compile classpath in case of dependency conflict

2022-04-12 Thread Alexander Kriegisch
I recommend taking control of the situation by yourself, specifying the desired version in your *dependencyManagement* section.-- Alexander Kriegisch Ursprüngliche Nachricht Von: Rimvydas Vaidelis Datum: 12.04.22 21:20 (GMT+07:00) An: Maven Users List Betreff: Re: Compile

Re: Compile classpath in case of dependency conflict

2022-04-12 Thread Rimvydas Vaidelis
Hello Tamas, Thank you for the reply. Reordering of dependencies includes guava-30.1-jre.jar into compile classpath. Dependency tree: org.example:dependency-conflict-example:jar:1.0-SNAPSHOT +- com.google.inject:guice:jar:5.1.0:compile | +- javax.inject:javax.inject:jar:1:compile | +- aopallia

Re: Compile classpath in case of dependency conflict

2022-04-12 Thread Tamás Cservenák
Howdy, seems is "known issue" https://issues.apache.org/jira/browse/MNG-6224 what happens if you reorder your dependencies in pom, first compile and then test scoped ones? HTH T On Tue, Apr 12, 2022 at 1:00 PM Rimvydas Vaidelis < rimvydas.vaide...@gmail.com> wrote: > Hello, > > I have 2 depend

Re: Compile classpath

2006-01-18 Thread Stein Kråbøl
: Allan Ramirez [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 10:49 AM To: Maven Users List Subject: Re: Compile classpath Hi Stein, First, you have to install your servlet jar to your local repository Please see http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars

Re: Compile classpath

2006-01-18 Thread Allan Ramirez
present in the repository. Come on Sun, change those licenses so that things like javamail are in ibiblio ready to use! -Original Message- From: Allan Ramirez [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 10:49 AM To: Maven Users List Subject: Re: Compile classpath Hi Ste

RE: Compile classpath

2006-01-18 Thread Boden, David
ady to use! -Original Message- From: Allan Ramirez [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 10:49 AM To: Maven Users List Subject: Re: Compile classpath Hi Stein, First, you have to install your servlet jar to your local repository Please see http://maven.apache.org/guides/

RE: Compile classpath

2006-01-18 Thread Boden, David
ry 18, 2006 10:45 AM To: Maven Users List Subject: Re: Compile classpath You have to define a dependency to the Servlet-API in your POM. E.g. in the project.xml for Maven 1: servletapi servlet-api 2.4 I don't have an example for Maven 2. BTW: It would be helpful

Re: Compile classpath

2006-01-18 Thread Allan Ramirez
Hi Stein, First, you have to install your servlet jar to your local repository Please see http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html and http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIinstallafileinmylocalrepositoryalongwithagenericPOM for your reference.

Re: Compile classpath

2006-01-18 Thread Gisbert Amm
You have to define a dependency to the Servlet-API in your POM. E.g. in the project.xml for Maven 1: servletapi servlet-api 2.4 I don't have an example for Maven 2. BTW: It would be helpful, if you'd tell the list if you use Maven 1 or 2 (ideally in the subject of your