Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Maven dependencies not working - artifact id cannot be empty
Maven dependencies not working - artifact id cannot be empty [message #1739150] Wed, 27 July 2016 19:31 Go to next message
Vojislav Kovacevic is currently offline Vojislav KovacevicFriend
Messages: 1
Registered: July 2016
Junior Member
I am using eclipse neon, when I go to `pom.xml > dependencies` and click `add` it says `artifact id cannot be empty` in the lower left corner, and the search basically does not work.

I tried solutions from the other answers, I went to `window > preferences > maven` and checked `download repository index updates on startup`, restarted eclipse and it did its thing, then I right clicked `global repositories > central` and clicked `enable full index` and then `rebuild index`, it did its thing, restarted eclipse, and same error message shows up again.

I also have a bunch of folders under `Global Repositories > Central` yet it does not work.
Re: Maven dependencies not working - artifact id cannot be empty [message #1739167 is a reply to message #1739150] Thu, 28 July 2016 04:42 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30653
Registered: July 2009
Senior Member
I think that's provided by the m2e project so best to use their specific
support as described in https://www.eclipse.org/m2e/m2e-community.html


On 27.07.2016 21:32, Vojislav Kovacevic wrote:
> I am using eclipse neon, when I go to `pom.xml > dependencies` and
> click `add` it says `artifact id cannot be empty` in the lower left
> corner, and the search basically does not work.
>
> I tried solutions from the other answers, I went to `window >
> preferences > maven` and checked `download repository index updates on
> startup`, restarted eclipse and it did its thing, then I right clicked
> `global repositories > central` and clicked `enable full index` and
> then `rebuild index`, it did its thing, restarted eclipse, and same
> error message shows up again.
>
> I also have a bunch of folders under `Global Repositories > Central`
> yet it does not work.
Previous Topic:Bug in text editor
Next Topic:Eclipse newbie
Goto Forum:
  


Current Time: Thu Nov 21 15:56:12 GMT 2019

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

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

Back to the top