.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
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
-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
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
${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
[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!
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
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
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
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
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
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:
> &
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'
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
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
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
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
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"
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
"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
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
: 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
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
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/
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
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.
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
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
28 matches
Mail list logo