I changed the version number of the plug-in now I get a different error. All of my configuring I am getting from the doc. at codehaus. But here is the new error.
mvn cobertura:cobertura [INFO] Searching repository for plugin with prefix: 'cobertura'. Downloading: http://snapshots.maven.codehaus.org/maven2/org/codehaus/mojo/cobertura-maven-plugin/2.0/cobertura-maven-plugin-2.0.pom [WARNING] Unable to get resource from repository snapshots ( http://snapshots.maven.codehaus.org/maven2) Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/cobertura-maven-plugin/2.0/cobertura-maven-plugin-2.0.pom [WARNING] Unable to get resource from repository central ( http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/cobertura-maven-plugin/2.0/cobertura-maven-plugin-2.0.pom [WARNING] Unable to get resource from repository central ( http://repo1.maven.org/maven2) [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD ERROR [INFO] ---------------------------------------------------------------------------- [INFO] Failed to resolve artifact. GroupId: org.codehaus.mojo ArtifactId: cobertura-maven-plugin Version: 2.0 Reason: Unable to download the artifact from any repository org.codehaus.mojo:cobertura-maven-plugin:pom:2.0 from the specified remote repositories: central (http://repo1.maven.org/maven2), snapshots (http://snapshots.maven.codehaus.org/maven2) [INFO] ---------------------------------------------------------------------------- [INFO] For more information, run Maven with the -e switch [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 3 seconds [INFO] Finished at: Fri Apr 21 10:31:49 CDT 2006 [INFO] Final Memory: 2M/126M [INFO] ---------------------------------------------------------------------------- Thanks! On 4/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I still get an error for finding this plug-in: > > [INFO] Searching repository for plugin with prefix: 'cobertura'. > [INFO] Ignoring available plugin update: 2.0-20060331.055400-6 as it > requires Maven version 2.0.3-SNAPSHOT > [INFO] > ---------------------------------------------------------------------------- > > [ERROR] BUILD ERROR > [INFO] > ---------------------------------------------------------------------------- > [INFO] The plugin 'org.codehaus.mojo:cobertura-maven-plugin' does not > exist or no valid version could be found > [INFO] > ---------------------------------------------------------------------------- > [INFO] For more information, run Maven with the -e switch > [INFO] > ---------------------------------------------------------------------------- > > [INFO] Total time: < 1 second > [INFO] Finished at: Fri Apr 21 10:21:51 CDT 2006 > [INFO] Final Memory: 2M/126M > [INFO] > ---------------------------------------------------------------------------- > > > Is there something I am missing here? > > > > On 4/20/06, Mark Hewett <[EMAIL PROTECTED]> wrote: > > > > No problem. I just tried it out and have a very nice report, so many > > thanks to the people working on this plugin! > > > > I should have mentioned that you can add the following to your POM to > > enable the snapshot repository, in case you haven't done this before. > > > > <pluginRepositories> > > <pluginRepository> > > <id>snapshots</id> > > <url>http://snapshots.maven.codehaus.org/maven2</url> > > </pluginRepository> > > </pluginRepositories> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >