Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration (M2E) » Add Dependecy?
Add Dependecy? [message #24181] Fri, 27 March 2009 13:23 Go to next message
Eclipse UserFriend
Originally posted by: asddd.asd.com

When I choose my parent folder and select "Add Dependency" nothing pops up
when I eg. type "eas" in the search field. Normally I get about 174 hits
from another machine with Maven installed. Do I need to set something up in
the pom.xml file to access the repositories?
Re: Add Dependecy? [message #24221 is a reply to message #24181] Fri, 27 March 2009 14:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: asddd.asd.com

I have tried adding this to the pom.xml file:

<repositories>
<repository>
<id>maven2-repository.dev.java.net</id>
<name>Java.net Repository for Maven</name>
<url>http://download.java.net/maven/2/</url>
</repository>
</repositories>

But I still cannot add dependencies from the right click menu. I am also
sure that my other machine does not have the above XML snippet in its
pom.xml file.



"mlt" <asddd@asd.com> wrote in message
news:gqik1p$72a$1@build.eclipse.org...
> When I choose my parent folder and select "Add Dependency" nothing pops up
> when I eg. type "eas" in the search field. Normally I get about 174 hits
> from another machine with Maven installed. Do I need to set something up
> in the pom.xml file to access the repositories?
Re: Add Dependecy? [message #24262 is a reply to message #24221] Fri, 27 March 2009 17:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: asddd.asd.com

Just needed to install the repository plugin from the eclipse installer.


"mlt" <asddd@asd.com> wrote in message
news:gqinel$2q3$1@build.eclipse.org...
>I have tried adding this to the pom.xml file:
>
> <repositories>
> <repository>
> <id>maven2-repository.dev.java.net</id>
> <name>Java.net Repository for Maven</name>
> <url>http://download.java.net/maven/2/</url>
> </repository>
> </repositories>
>
> But I still cannot add dependencies from the right click menu. I am also
> sure that my other machine does not have the above XML snippet in its
> pom.xml file.
>
>
>
> "mlt" <asddd@asd.com> wrote in message
> news:gqik1p$72a$1@build.eclipse.org...
>> When I choose my parent folder and select "Add Dependency" nothing pops
>> up when I eg. type "eas" in the search field. Normally I get about 174
>> hits from another machine with Maven installed. Do I need to set
>> something up in the pom.xml file to access the repositories?
>
Re: Add Dependecy? [message #24305 is a reply to message #24262] Fri, 27 March 2009 17:36 Go to previous message
Eclipse UserFriend
Originally posted by: igor.ifedorenko.com

Yeah, you probably want to add yourself to
https://issues.sonatype.org/browse/MNGECLIPSE-725 ...

--
Regards,
Igor

mlt wrote:
> Just needed to install the repository plugin from the eclipse installer.
>
>
> "mlt" <asddd@asd.com> wrote in message
> news:gqinel$2q3$1@build.eclipse.org...
>> I have tried adding this to the pom.xml file:
>>
>> <repositories>
>> <repository>
>> <id>maven2-repository.dev.java.net</id>
>> <name>Java.net Repository for Maven</name>
>> <url>http://download.java.net/maven/2/</url>
>> </repository>
>> </repositories>
>>
>> But I still cannot add dependencies from the right click menu. I am
>> also sure that my other machine does not have the above XML snippet in
>> its pom.xml file.
>>
>>
>>
>> "mlt" <asddd@asd.com> wrote in message
>> news:gqik1p$72a$1@build.eclipse.org...
>>> When I choose my parent folder and select "Add Dependency" nothing
>>> pops up when I eg. type "eas" in the search field. Normally I get
>>> about 174 hits from another machine with Maven installed. Do I need
>>> to set something up in the pom.xml file to access the repositories?
>>
>
Previous Topic:M2Eclipse & Multiple JVMs
Next Topic:How to import a module project?
Goto Forum:
  


Current Time: Mon Dec 22 22:55:38 GMT 2014

Powered by FUDForum. Page generated in 0.01645 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software