Re: Compile classpath in case of dependency conflict

2022-04-12 Thread Alexander Kriegisch
.inject:guice:jar:5.1.0:compile.> > org.reflections:reflections:jar:0.9.8 uses> > com.google.guava:guava:jar:11.0.2:compile> > com.google.inject:guice:jar:5.1.0 uses> > com.google.guava:guava:30.1-jre:compile> >> > During compiling of the module (mvn compile) the compile clas

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

Re: Compile classpath in case of dependency conflict

2022-04-12 Thread Tamás Cservenák
-jre:compile > > During compiling of the module (mvn compile) the compile classpath contains > guava-11.0.2.jar. Why? It seems > that occurrence of version conflict changes the scope of the transitive > dependency com.google.guava:guava:jar:11.0.2 to compile. > Is this an expected

Compile classpath in case of dependency conflict

2022-04-12 Thread Rimvydas Vaidelis
compiling of the module (mvn compile) the compile classpath contains guava-11.0.2.jar. Why? It seems that occurrence of version conflict changes the scope of the transitive dependency com.google.guava:guava:jar:11.0.2 to compile. Is this an expected behavior? Dependency tree: org.example:dependency

Re: Running Groovy scripts with project's compile classpath

2009-02-15 Thread Torben S. Giesselmann
${pom.basedir}/src/build/groovy/ClassExplorer.groovy [snip] As you can see, I already tried adding adding "target/classes" to scriptpath, but it makes no difference. I'm somewhat clueless. Any ideas how to execute my script with the project&#x

Running Groovy scripts with project's compile classpath

2009-02-12 Thread Torben S. Giesselmann
[snip] As you can see, I already tried adding adding "target/classes" to scriptpath, but it makes no difference. I'm somewhat clueless. Any ideas how to execute my script with the project's compile classpath? Many thanks in advance!

Accessing maven compile classpath in plugin

2007-03-29 Thread Rahul Khot
I am writing a plugin for generating JAXB 1.6 sources . The plugin is written in ant. How do I access the compile classpath in the plugin. My plugin code: XSD File Name ${xsdFileName

Re: how to add local jars to maven compile classpath

2006-11-27 Thread Wayne Fay
urces using standard maven compiler plugin. However, the compilation needs some jars that's installed locally on user's machine (not present in maven repository). The compilation fails because the local jars are not on maven's default compile classpath. How to add local jars to maven

how to add local jars to maven compile classpath

2006-11-27 Thread Yan Zheng
tion fails because the local jars are not on maven's default compile classpath. How to add local jars to maven's compile classpath? Any suggestions are appreciated. I'm looking for a solution that adds the lcoal jars programmatically (so we can have this set in our plugin code). B

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Wayne Fay
both have impact on reproducibility of your build though.. > > Milos > > On 5/30/06, Franz Fehringer <[EMAIL PROTECTED]> wrote: >> Perhaps my question was a bit misleading, what i meant is this: >> I do not want to disregard the dependencies or the repository, i

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer
ant to disregard the dependencies or the repository, i only want to add some jars not in the repository to my compile classpath. Greetings Franz Milos Kleint schrieb: "you don't" could be a short answer. maven is based round dependencies and repositori

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Roland Asmann
s this: > >> I do not want to disregard the dependencies or the repository, i only > >> want to add some jars not in the repository to my compile classpath. > >> > >> Greetings > >> > >> Franz > >> > >> Milos Kleint schrieb: > &

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer
AIL PROTECTED]> wrote: Perhaps my question was a bit misleading, what i meant is this: I do not want to disregard the dependencies or the repository, i only want to add some jars not in the repository to my compile classpath. Greetings Franz Milos Kleint schrieb: > "you don'

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer
or the repository, i only want to add some jars not in the repository to my compile classpath. Greetings Franz Milos Kleint schrieb: > "you don't" could be a short answer. > > maven is based round dependencies and repositories, if you don't see a > point in using them

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Piéroni Raphaël
t to disregard the dependencies or the repository, i only > want to add some jars not in the repository to my compile classpath. > > Greetings > > Franz > > Milos Kleint schrieb: > > "you don't" could be a short answer. > > > > maven is based round d

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer
On 5/30/06, Franz Fehringer <[EMAIL PROTECTED]> wrote: Perhaps my question was a bit misleading, what i meant is this: I do not want to disregard the dependencies or the repository, i only want to add some jars not in the repository to my compile classpath. Greetings Franz Milos Kleint s

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread ben short
or the repository, i only want to add some jars not in the repository to my compile classpath. Greetings Franz Milos Kleint schrieb: > "you don't" could be a short answer. > > maven is based round dependencies and repositories, if you don't see a > point in using them

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Milos Kleint
AIL PROTECTED]> wrote: Perhaps my question was a bit misleading, what i meant is this: I do not want to disregard the dependencies or the repository, i only want to add some jars not in the repository to my compile classpath. Greetings Franz Milos Kleint schrieb: > "you don't"

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer
Perhaps my question was a bit misleading, what i meant is this: I do not want to disregard the dependencies or the repository, i only want to add some jars not in the repository to my compile classpath. Greetings Franz Milos Kleint schrieb: "you don't" could be a short an

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Milos Kleint
"you don't" could be a short answer. maven is based round dependencies and repositories, if you don't see a point in using them, you probably don't want to use maven. regards. Milos Kleint On 5/30/06, Franz Fehringer <[EMAIL PROTECTED]> wrote: Hello, How do i set the classpath used during co

M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer
Hello, How do i set the classpath used during compile without using dependencies (which in my understanding involves copying the jars to the local repository, writing poms ...)? As an example lets say my sources use functionality from C:\Programme\Saxon\saxon8.jar. Thanks for help Franz

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

Compile classpath

2006-01-18 Thread Stein Kråbøl
Maven is new to me... Please help! How to set up resorses to point to c:\web\tomcat\common\lib\servlet.jar so the compiler can see it_ This is the output: --- [INFO] Compilation failure C:\project\test-app\src\main\java\com\tellussoft\Test\ShowColor.java:[3,0] packa ge javax.servlet does not ex