Hi I am developing a web application with eclipse and I generate the project with a maven archetype. When I enable maven dependecy management, eclipse mark some errors in the pom file, this error is:
My pom file is the following:
Any idea? Regards | |||||||||||||
|
In my case the problem was solved by Window -> Preferences -> Maven -> User Settings -> Update Settings. I don't know the problem cause at the first place. | |||
|
I had the same problem but with an other cause. The solution was to deactivate Avira Browser Protection (in german Browser-Schutz). I took the solusion from m2e cannot transfer metadata from nexus, but maven command line can. It can be activated again ones maven has the needed plugin. | |||
|
I also had same problem with Eclipse 3.7.2 (Indigo) and maven 3.0.4. Eclipse wasn't picking up my maven settings, so this is what I did to fix the problem:
Those steps worked for me, but the problem isn't consistent. I've only had with issue on one computer. | ||||
|
I had a similar case for the default groovy compiler plugin The solution was to install ME2 provided by Springsource according to this answer Plugin execution not covered by lifecycle configuration maven error This immediately solved the "Plugin execution not covered by lifecycle configuration" problem in Eclispe Juno. | |||
|
in my case there was a dependency without a version. in eclipse m2e does not force you to enter a version so i left it blank. once i put the version in pom.xml from within eclipse all was fine | |||
|
This error bothered me for two days. I tried all kinds of solutions, nothing worked. Finally I give up and tried a radical approach. and it worked! Here are the steps:
I guess it was "indeterministic" as the following article said. | |||
|
I would add some points that helped me to solve this problem :
Having the local repository OK, on the other hand, turned out to be quite costly, as many archetypes would not get loaded, due apparently to timeouts of m2eclipse and very unstable communication speeds in my case. In many cases only the error file could be found in the folder ex : Also really worthy were :
(from within the project folder) (hint given in another thread, thanks also).
To finish, in any case, a lot of time (!..) could have been et could certainly still be spared with a light tool repairing thoroughly the local repository straightaway. I could not yet find it. Actually it should even be normally a mvn command ("--repair-local-repository"). | ||||
|
It must be a configuration problem. Your pom is fine. Here's what I did. New folder, put your pom inside. Then in eclipse: import -> maven -> existing maven project. Dependencies got included in the project. I did this using eclipse helios. I think the plugin version I am using is 0.12 You should check the maven properties in eclipse. | |||||||||
|
I solved this by running | |||||||||
|
In this particular case, the solution was the right proxy configuration of eclipse (Window -> Preferences -> Network Connection), the company possessed a strict security system. I will leave the question, because there are answers that can help the community. Thank you very much for the answers above. | |||
|
Just go to your user folder, inside it there's a ".m2" folder, open it and delete the folder "repository". Go to eclipse, clean your project, then right click->Maven->Update Project .. and you are ready to go. | |||||||||||||
|
I had same problem with Eclipse 3.7.2 (Indigo) and maven 3.0.4. In my case, the problem was caused by missing Solution: 1.) add dependency to pom.xml
2.) run 3.) refresh the project in eclipse (F5) 4.) run JAR file is downloaded to local repository and there are no errors in WS. | |||||||||||||||||
|