When I hover over a package that is not found within Eclipse and click 'Search repositories', the dependency I'm searching for is not found. The dependency exists on the official maven repository : http://search.maven.org/remotecontent?filepath=javax/portlet/portlet-api/2.0-r12/portlet-api-2.0-r12.pom
Do I need to configure m2e to search the maven repository ?
Try to update your repository index in the Maven Repositories View.
Windows -> Show View -> Others -> Maven -> Maven Repositories View
Rebuild Index
and/or update Index
from the context menu of the Central RepositoryThis (long running) task is normally done on startup (Windows -> Preferences -> Maven ->Download Repository Index updates on startup) but maybe it is disabled to get a better eclipse startup performance.