m2e is no longer working in my Eclipse Indigo. Nothing is printed to the Maven console, I can't download any sources and some dependencies won't be resolved. I'm using the embedded Maven installation.
D开发者_运维问答o you know how to fix this issue?
Just a wild guess (due to similar problems I had in the past):
- If you use the embedded m2e Maven installation, Maven has no information to your settings.
- If you are in a corporate environment, you have to set your proxy in a Maven related location:
- In your users
settings.xml
file. - In your Maven installation
settings.xml
file
- In your users
m2e can only use the proxy set in your Maven settings file, not the one in your eclipse environment. So as a result, you could see all the old libraries contained in local repositories, but no new ones contained only in remote repositories located somewhere on the internet.
Please add some more information about your configuration in eclipse (does eclipse find your user settings.xml
file?) and the errors you get.
Try -clean workspace option. Or if it doesn't help, create new workspace, test if m2e started working and import your old projects. I just resolved issue very similar to yours using second option.
Here is good explanation of such kind of troubles: http://www.eclipsezone.com/eclipse/forums/t61566.html
精彩评论