I'm quite sure you must have reconfigured something since last time it
worked. The plugin exists in central, and for some reason your build isn't
looking there.

Run
mvn help:effective-pom
and find the <pluginRepositories> section and paste it in a reply.

Also, you might want to consider locking the version of the plugin being
used. You do that in the pluginManagement section. Currently I think you
don't have a version specified, so Maven will try to get the latest
(2.8-SNAPSHOT). That may cause issues when a new version is available, which
isn't backwardscompatible for some reason. Or possibly you do have the
version set to 2.8-SNAPSHOT? You can see that as well in the effective pom.
http://maven.apache.org/pom.html#Plugin_Management
(In this case you only need to specify groupId, artifactId, and version. The
latest released version is 2.7, which exists in central.)

/Anders

On Mon, Feb 1, 2010 at 22:32, Rick R <[email protected]> wrote:

> running mvn eclipse:eclipse used to work.. now I'm getting...
>
> [INFO] Unable to find resource
> 'org.apache.maven.plugins:maven-eclipse-plugin:maven-plugin:2.8-SNAPSHOT'
> in
> repository codehaus-plugins (http://dist.codehaus.org/)
> [INFO] Cannot find mojo descriptor for: 'eclipse:eclipse' - Treating as
> non-aggregator.
>
> I'm new to maven and stumped by what is going on?
>
> --
> Rick R
>

Reply via email to