wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.1missing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.1missing" Watch "Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.1missing" New topic
Author

Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.1missing

vamsi naki
Ranch Hand

Joined: May 18, 2011
Posts: 46
Hi,
I had an exisitng maven project which i imported into eclipse .After running Maven Install on the project i am getting the following error


I checked the plugin ,and it is available in my m2 repostiory .I have deleted the maven folder and downloaded it again ,but still getting the same error.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

My guess is that you don't have access to Maven Central. Are you doing this from work, in which case there could be a corporate firewall issue? Or do you need to to configure a proxy (is your browser configured for a proxy)?
What happens when you click this URL: http://central.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.1/


JBoss In Action
vamsi naki
Ranch Hand

Joined: May 18, 2011
Posts: 46
Hi Peter,
I am doing this from work ,the browser is configured to a proxy.But i am able to access the link which you sent http://central.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.1/ ,i am getting a page with an index of maven-resources-plugin jars.
vamsi naki
Ranch Hand

Joined: May 18, 2011
Posts: 46
Thanks Peter for the link,i downloaded the jar for the maven-resources-plugin file in m2 repository and was able to resolve the issue.I had a file called maven-resources.plugin previously and i thought that it was present ,but i had to keep the jar.Wasted a lot of time on this small thing
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Occasionally when things a really going wrong it helps to wipe out the .m2/repository and let Maven start over from scratch. I usually do this about once a year.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.1missing