You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by el wang <el...@yahoo.com> on 2005/11/07 12:55:08 UTC
mvn eclipse:eclipse try to download dependency jar doesn't exist
in my pom.xml, add springframework:spring-mmock:1.2.3
to it's dependency. when try to test my code. using
#mvn eclispe:eclipse also got the same result.
m2 told me that it can't find jsf-api-1.1.jar or jdbc-stdext-2.0.jar
__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn eclipse:eclipse try to download dependency jar doesn't exist
Posted by Igor Bljahhin <ig...@gmail.com>.
OK, I found one solution, but I'm not sure it's best one.
It was need to make list of exclusions for that artifact:
<dependency>
<groupId>p6spy</groupId>
<artifactId>p6spy</artifactId>
<version>1.3</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>oracle</groupId>
<artifactId>classes12</artifactId>
</exclusion>
<exclusion>
<groupId>jboss</groupId>
<artifactId>jboss</artifactId>
</exclusion>
</exclusions>
</dependency>
2005/11/10, Igor Bljahhin <ig...@gmail.com>:
> I installed tools-1.4.jar manually already, so I don't know exacly
> what artifact use this dependency.
>
> But I have the same problem again with another artifact, with "p6spy"
> (http://www.ibiblio.org/maven2/p6spy/p6spy/1.3/p6spy-1.3.pom). It
> needs a several dependencies, one of them is
> "oracle:classes12:9.2.0.5:jar". I am sure, I do not need to use any
> internal dependencies of p6spy.
>
> How can I disable artifact's dependency loading?
>
> Sincerelly,
> Igor
>
> 2005/11/10, Emmanuel Venisse <em...@venisse.net>:
> > run mvn with -X parameter for find which artifact use this dependency or search it in your
> > local repo.
> >
> > Emmanuel
> >
> > Igor Bljahhin a écrit :
> > > Hi!
> > >
> > > I got same problem. My project uses JDK 5.0, so I don't have Java 1.4
> > > on my computer at all. Recently, I added three libraries from Spring
> > > framework (core, context and beans) and now Maven tries to download
> > > tools-1.4.jar from the central repository. I think it is weird.
> > >
> > > Igor
> > >
> > > 2005/11/7, el wang <el...@yahoo.com>:
> > >
> > >>it finally works. i have to install jdk's tools.jar to
> > >>m2 repository. :-(
> > >>
> > >>--- el wang <el...@yahoo.com> wrote:
> > >>
> > >>
> > >>>thanks stephen, jsf is my fault. but m2 still ask me
> > >>>to download
> > >>>
> > >>
> > >>http://repo1.maven.org/maven2/java/tools/1.4/tools-1.4.jar
> > >>
> > >>>what is this?
> > >>>
> > >>>
> > >>>--- Stephen Coy <st...@resolvesw.com> wrote:
> > >>>
> > >>>
> > >><http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html>
> > >>
> > >>>>
> > >>>>On 07/11/2005, at 10:55 PM, el wang wrote:
> > >>>>
> > >>>>
> > >>>>>in my pom.xml, add
> > >>>>
> > >>>>springframework:spring-mmock:1.2.3
> > >>>>
> > >>>>>to it's dependency. when try to test my code.
> > >>>>
> > >>>>using
> > >>>>
> > >>>>>#mvn eclispe:eclipse also got the same result.
> > >>>>>
> > >>>>>m2 told me that it can't find jsf-api-1.1.jar
> > >>>
> > >>>or
> > >>>
> > >>>>jdbc-stdext-2.0.jar
> > >>>>
> > >>>>>
> > >>>>>
> > >>>>>__________________________________
> > >>>>>Start your day with Yahoo! - Make it your home
> > >>>>
> > >>>>page!
> > >>>>
> > >>>>>http://www.yahoo.com/r/hs
> > >>>>>
> > >>>>>
> > >>>>
> > >>---------------------------------------------------------------------
> > >>
> > >>>>>To unsubscribe, e-mail:
> > >>>>
> > >>>>users-unsubscribe@maven.apache.org
> > >>>>
> > >>>>>For additional commands, e-mail:
> > >>>>
> > >>>>users-help@maven.apache.org
> > >>>>
> > >>>>
> > >>>>
> > >>---------------------------------------------------------------------
> > >>
> > >>>>To unsubscribe, e-mail:
> > >>>>users-unsubscribe@maven.apache.org
> > >>>>For additional commands, e-mail:
> > >>>>users-help@maven.apache.org
> > >>>>
> > >>>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>__________________________________
> > >>>Yahoo! FareChase: Search multiple travel sites in
> > >>>one click.
> > >>>http://farechase.yahoo.com
> > >>>
> > >>>
> > >>
> > >>---------------------------------------------------------------------
> > >>
> > >>>To unsubscribe, e-mail:
> > >>>users-unsubscribe@maven.apache.org
> > >>>For additional commands, e-mail:
> > >>>users-help@maven.apache.org
> > >>>
> > >>>
> > >>
> > >>
> > >>
> > >>
> > >>__________________________________
> > >>Yahoo! FareChase: Search multiple travel sites in one click.
> > >>http://farechase.yahoo.com
> > >>
> > >>---------------------------------------------------------------------
> > >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >>For additional commands, e-mail: users-help@maven.apache.org
> > >>
> > >>
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn eclipse:eclipse try to download dependency jar doesn't exist
Posted by Igor Bljahhin <ig...@gmail.com>.
I installed tools-1.4.jar manually already, so I don't know exacly
what artifact use this dependency.
But I have the same problem again with another artifact, with "p6spy"
(http://www.ibiblio.org/maven2/p6spy/p6spy/1.3/p6spy-1.3.pom). It
needs a several dependencies, one of them is
"oracle:classes12:9.2.0.5:jar". I am sure, I do not need to use any
internal dependencies of p6spy.
How can I disable artifact's dependency loading?
Sincerelly,
Igor
2005/11/10, Emmanuel Venisse <em...@venisse.net>:
> run mvn with -X parameter for find which artifact use this dependency or search it in your
> local repo.
>
> Emmanuel
>
> Igor Bljahhin a écrit :
> > Hi!
> >
> > I got same problem. My project uses JDK 5.0, so I don't have Java 1.4
> > on my computer at all. Recently, I added three libraries from Spring
> > framework (core, context and beans) and now Maven tries to download
> > tools-1.4.jar from the central repository. I think it is weird.
> >
> > Igor
> >
> > 2005/11/7, el wang <el...@yahoo.com>:
> >
> >>it finally works. i have to install jdk's tools.jar to
> >>m2 repository. :-(
> >>
> >>--- el wang <el...@yahoo.com> wrote:
> >>
> >>
> >>>thanks stephen, jsf is my fault. but m2 still ask me
> >>>to download
> >>>
> >>
> >>http://repo1.maven.org/maven2/java/tools/1.4/tools-1.4.jar
> >>
> >>>what is this?
> >>>
> >>>
> >>>--- Stephen Coy <st...@resolvesw.com> wrote:
> >>>
> >>>
> >><http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html>
> >>
> >>>>
> >>>>On 07/11/2005, at 10:55 PM, el wang wrote:
> >>>>
> >>>>
> >>>>>in my pom.xml, add
> >>>>
> >>>>springframework:spring-mmock:1.2.3
> >>>>
> >>>>>to it's dependency. when try to test my code.
> >>>>
> >>>>using
> >>>>
> >>>>>#mvn eclispe:eclipse also got the same result.
> >>>>>
> >>>>>m2 told me that it can't find jsf-api-1.1.jar
> >>>
> >>>or
> >>>
> >>>>jdbc-stdext-2.0.jar
> >>>>
> >>>>>
> >>>>>
> >>>>>__________________________________
> >>>>>Start your day with Yahoo! - Make it your home
> >>>>
> >>>>page!
> >>>>
> >>>>>http://www.yahoo.com/r/hs
> >>>>>
> >>>>>
> >>>>
> >>---------------------------------------------------------------------
> >>
> >>>>>To unsubscribe, e-mail:
> >>>>
> >>>>users-unsubscribe@maven.apache.org
> >>>>
> >>>>>For additional commands, e-mail:
> >>>>
> >>>>users-help@maven.apache.org
> >>>>
> >>>>
> >>>>
> >>---------------------------------------------------------------------
> >>
> >>>>To unsubscribe, e-mail:
> >>>>users-unsubscribe@maven.apache.org
> >>>>For additional commands, e-mail:
> >>>>users-help@maven.apache.org
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>>
> >>>__________________________________
> >>>Yahoo! FareChase: Search multiple travel sites in
> >>>one click.
> >>>http://farechase.yahoo.com
> >>>
> >>>
> >>
> >>---------------------------------------------------------------------
> >>
> >>>To unsubscribe, e-mail:
> >>>users-unsubscribe@maven.apache.org
> >>>For additional commands, e-mail:
> >>>users-help@maven.apache.org
> >>>
> >>>
> >>
> >>
> >>
> >>
> >>__________________________________
> >>Yahoo! FareChase: Search multiple travel sites in one click.
> >>http://farechase.yahoo.com
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn eclipse:eclipse try to download dependency jar doesn't exist
Posted by Emmanuel Venisse <em...@venisse.net>.
run mvn with -X parameter for find which artifact use this dependency or search it in your
local repo.
Emmanuel
Igor Bljahhin a écrit :
> Hi!
>
> I got same problem. My project uses JDK 5.0, so I don't have Java 1.4
> on my computer at all. Recently, I added three libraries from Spring
> framework (core, context and beans) and now Maven tries to download
> tools-1.4.jar from the central repository. I think it is weird.
>
> Igor
>
> 2005/11/7, el wang <el...@yahoo.com>:
>
>>it finally works. i have to install jdk's tools.jar to
>>m2 repository. :-(
>>
>>--- el wang <el...@yahoo.com> wrote:
>>
>>
>>>thanks stephen, jsf is my fault. but m2 still ask me
>>>to download
>>>
>>
>>http://repo1.maven.org/maven2/java/tools/1.4/tools-1.4.jar
>>
>>>what is this?
>>>
>>>
>>>--- Stephen Coy <st...@resolvesw.com> wrote:
>>>
>>>
>><http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html>
>>
>>>>
>>>>On 07/11/2005, at 10:55 PM, el wang wrote:
>>>>
>>>>
>>>>>in my pom.xml, add
>>>>
>>>>springframework:spring-mmock:1.2.3
>>>>
>>>>>to it's dependency. when try to test my code.
>>>>
>>>>using
>>>>
>>>>>#mvn eclispe:eclipse also got the same result.
>>>>>
>>>>>m2 told me that it can't find jsf-api-1.1.jar
>>>
>>>or
>>>
>>>>jdbc-stdext-2.0.jar
>>>>
>>>>>
>>>>>
>>>>>__________________________________
>>>>>Start your day with Yahoo! - Make it your home
>>>>
>>>>page!
>>>>
>>>>>http://www.yahoo.com/r/hs
>>>>>
>>>>>
>>>>
>>---------------------------------------------------------------------
>>
>>>>>To unsubscribe, e-mail:
>>>>
>>>>users-unsubscribe@maven.apache.org
>>>>
>>>>>For additional commands, e-mail:
>>>>
>>>>users-help@maven.apache.org
>>>>
>>>>
>>>>
>>---------------------------------------------------------------------
>>
>>>>To unsubscribe, e-mail:
>>>>users-unsubscribe@maven.apache.org
>>>>For additional commands, e-mail:
>>>>users-help@maven.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>__________________________________
>>>Yahoo! FareChase: Search multiple travel sites in
>>>one click.
>>>http://farechase.yahoo.com
>>>
>>>
>>
>>---------------------------------------------------------------------
>>
>>>To unsubscribe, e-mail:
>>>users-unsubscribe@maven.apache.org
>>>For additional commands, e-mail:
>>>users-help@maven.apache.org
>>>
>>>
>>
>>
>>
>>
>>__________________________________
>>Yahoo! FareChase: Search multiple travel sites in one click.
>>http://farechase.yahoo.com
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn eclipse:eclipse try to download dependency jar doesn't exist
Posted by Igor Bljahhin <ig...@gmail.com>.
Hi!
I got same problem. My project uses JDK 5.0, so I don't have Java 1.4
on my computer at all. Recently, I added three libraries from Spring
framework (core, context and beans) and now Maven tries to download
tools-1.4.jar from the central repository. I think it is weird.
Igor
2005/11/7, el wang <el...@yahoo.com>:
> it finally works. i have to install jdk's tools.jar to
> m2 repository. :-(
>
> --- el wang <el...@yahoo.com> wrote:
>
> > thanks stephen, jsf is my fault. but m2 still ask me
> > to download
> >
> http://repo1.maven.org/maven2/java/tools/1.4/tools-1.4.jar
> >
> > what is this?
> >
> >
> > --- Stephen Coy <st...@resolvesw.com> wrote:
> >
> > >
> >
> <http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html>
> > >
> > >
> > > On 07/11/2005, at 10:55 PM, el wang wrote:
> > >
> > > > in my pom.xml, add
> > > springframework:spring-mmock:1.2.3
> > > > to it's dependency. when try to test my code.
> > > using
> > > > #mvn eclispe:eclipse also got the same result.
> > > >
> > > > m2 told me that it can't find jsf-api-1.1.jar
> > or
> > > jdbc-stdext-2.0.jar
> > > >
> > > >
> > > >
> > > > __________________________________
> > > > Start your day with Yahoo! - Make it your home
> > > page!
> > > > http://www.yahoo.com/r/hs
> > > >
> > > >
> > >
> >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail:
> > > users-help@maven.apache.org
> > > >
> > >
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail:
> > > users-help@maven.apache.org
> > >
> > >
> >
> >
> >
> >
> > __________________________________
> > Yahoo! FareChase: Search multiple travel sites in
> > one click.
> > http://farechase.yahoo.com
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe@maven.apache.org
> > For additional commands, e-mail:
> > users-help@maven.apache.org
> >
> >
>
>
>
>
> __________________________________
> Yahoo! FareChase: Search multiple travel sites in one click.
> http://farechase.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn eclipse:eclipse try to download dependency jar doesn't exist
Posted by el wang <el...@yahoo.com>.
it finally works. i have to install jdk's tools.jar to
m2 repository. :-(
--- el wang <el...@yahoo.com> wrote:
> thanks stephen, jsf is my fault. but m2 still ask me
> to download
>
http://repo1.maven.org/maven2/java/tools/1.4/tools-1.4.jar
>
> what is this?
>
>
> --- Stephen Coy <st...@resolvesw.com> wrote:
>
> >
>
<http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html>
> >
> >
> > On 07/11/2005, at 10:55 PM, el wang wrote:
> >
> > > in my pom.xml, add
> > springframework:spring-mmock:1.2.3
> > > to it's dependency. when try to test my code.
> > using
> > > #mvn eclispe:eclipse also got the same result.
> > >
> > > m2 told me that it can't find jsf-api-1.1.jar
> or
> > jdbc-stdext-2.0.jar
> > >
> > >
> > >
> > > __________________________________
> > > Start your day with Yahoo! - Make it your home
> > page!
> > > http://www.yahoo.com/r/hs
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail:
> > users-help@maven.apache.org
> > >
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe@maven.apache.org
> > For additional commands, e-mail:
> > users-help@maven.apache.org
> >
> >
>
>
>
>
> __________________________________
> Yahoo! FareChase: Search multiple travel sites in
> one click.
> http://farechase.yahoo.com
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
>
>
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn eclipse:eclipse try to download dependency jar doesn't exist
Posted by el wang <el...@yahoo.com>.
thanks stephen, jsf is my fault. but m2 still ask me
to download
http://repo1.maven.org/maven2/java/tools/1.4/tools-1.4.jar
what is this?
--- Stephen Coy <st...@resolvesw.com> wrote:
>
<http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html>
>
>
> On 07/11/2005, at 10:55 PM, el wang wrote:
>
> > in my pom.xml, add
> springframework:spring-mmock:1.2.3
> > to it's dependency. when try to test my code.
> using
> > #mvn eclispe:eclipse also got the same result.
> >
> > m2 told me that it can't find jsf-api-1.1.jar or
> jdbc-stdext-2.0.jar
> >
> >
> >
> > __________________________________
> > Start your day with Yahoo! - Make it your home
> page!
> > http://www.yahoo.com/r/hs
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> > For additional commands, e-mail:
> users-help@maven.apache.org
> >
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
>
>
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn eclipse:eclipse try to download dependency jar doesn't exist
Posted by Stephen Coy <st...@resolvesw.com>.
<http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html>
On 07/11/2005, at 10:55 PM, el wang wrote:
> in my pom.xml, add springframework:spring-mmock:1.2.3
> to it's dependency. when try to test my code. using
> #mvn eclispe:eclipse also got the same result.
>
> m2 told me that it can't find jsf-api-1.1.jar or jdbc-stdext-2.0.jar
>
>
>
> __________________________________
> Start your day with Yahoo! - Make it your home page!
> http://www.yahoo.com/r/hs
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org