Is there a reason why you use a snapshot version of the maven resource plugin ? So, is there a bug in 2.4.3 that you expect to have fixed in 2.5-snapshot ? This is kind of a trick question, saying that you should pin you plugin versions.
Using no version (in maven 3 you will get warning messages for this!) is expected to be fragile and work/not work/hard to predict. If you really want that version, try cleaning you local maven repo version (.m2/repository/org/apache/maven/plugins/maven-resources-plugin). Also make sure you index of your nexus is up-to date. (do you find the expected plugin version when searching on the nexus ui?) Toni On Thu, Sep 30, 2010 at 3:18 PM, Michael Hess <[email protected]> wrote: >> but when I build it with maven3 : mvn clean install -U I get the error: >> >> [ERROR] Plugin > org.apache.maven.plugins:maven-resources-plugin:2.5-SNAPSHOT >> or one of its dependencies could not be resolved: The following >> artifacts could not be resolved: org.apach >> e.maven.plugins:maven-resources-plugin:jar:2.5-SNAPSHOT: Failure to >> find org.apache.maven.plugins:maven-resources-plugin:jar:2.5-SNAPSHOT >> in http://repository:8081/nexus/content/grou >> ps/public was cached in the local repository. Resolution will not be >> reattempted until the update interval of nexus has elapsed or updates >> are forced. -> [Help 1] >> [ERROR] >> >> This project has worked fine before. Any ideas why its all of the sudden > broken? > > Seems like a maven problem to me. > Did you check, that the mentioned missing artifact is in your local maven > repository? > If it's gone it might have happened, that the component got released and > the SNAPSHOT versions were cleared out. > > bye, Michael > > > The information included in this e-mail and any files transmitted with it is > strictly confidential and may be privileged or otherwise protected from > disclosure. If you are not the intended recipient, please notify the sender > immediately by e-mail and delete this e-mail as well as any attachment from > your system. If you are not the intended recipient you are not authorized to > use and/or copy this message and/or attachment and/or disclose the contents > to any other person. -- Toni Menzel || http://okidokiteam.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

