|
Re: obtaining jar files from dependancies defined in maven pom.xml file [message #799120 is a reply to message #798941] |
Wed, 15 February 2012 08:17  |
Eclipse User |
|
|
|
On 2012.02.15 1:52, Dave Young wrote:
> I am new to eclipse. I am also new to maven! And also pretty new to
> spring!! I've installed the egit plugin successfully. I hope that
> somebody out there may be able to answer this query easily;
>
> My maven commands execute nicely.
>
> When I use maven (right click on the pom.xml file and use the "run as m2
> build" command) it compiles my java source code, including resolving
> imports from the spring framework nicely. Very good.
>
> However, within the Eclipse IDE itself, these references are underlined
> in red and show as being unresolved.
>
> Does anybody know whether when maven dependancies are defined, that the
> relevant jar files are downloaded into the project such that eclipse can
> resolve them? Do they get added to the project classpath? Or is that
> purely restricted to "mavenland" and it is neccessary to also manually
> download and install those jar files and modify the project build
> classpath explicitly?
>
> I feel like perhaps I am missing a vital step somewhere.
>
> regards,
>
> Dave Young
If you don't get a clear answer on this here, you might try the Eclipse
M2e forum which is home to Eclipse Maven questions. There is also an
Eclipse forum for EGit questions.
In the meantime, you're not obliged to use Maven with Eclipse if you
don't wish to. You can download and tie JARs to the Eclipse Build Path
without it if that's what you want to do. However, you should not have
to and the other forum will surely help you with this problem if no one
does here. (There are lots of Maven guys in this forum, but obviously in
the eclipse.m2e forum, everyone is a Maven guy.)
|
|
|
Powered by
FUDForum. Page generated in 0.07941 seconds