fixed it myself, this is obviously a DumbNewbieMaven user:
mvn -U install
fixes it. The -U obviously picks up new plugins from the
repository. Be nice if Maven suggested that.
On 23/04/2007, at 9:04 AM, Paul Smith wrote:
did an svn update on latest log4j- sandbox projects, tried a mvn
install:
Paul-Smiths-Computer:/workspace/log4j-component paulsmith$ mvn install
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------
------
[INFO] Building Apache Component Companion for log4j 1.2.
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------
------
[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: 3 seconds
[INFO] Finished at: Mon Apr 23 09:03:05 EST 2007
[INFO] Final Memory: 3M/6M
[INFO]
----------------------------------------------------------------------
--
I'm obviously not a maven expert, but I'm using the default
settings, which is actually no settings.xml in the ~/.m2/
directory, which should use the default repo, but it doesn't seem
to want to automatically download this.
The standard repo seems to have it..
http://repo1.maven.org/maven2/org/codehaus/mojo/cobertura-maven-
plugin/2.1/
Any help?
Paul
Paul Smith
Core Engineering Manager
Aconex
The easy way to save time and money on your project
696 Bourke Street, Melbourne,
VIC 3000, Australia
Tel: +61 3 9240 0200 Fax: +61 3 9240 0299
Email: [EMAIL PROTECTED] www.aconex.com
This email and any attachments are intended solely for the addressee.
The contents may be privileged, confidential and/or subject to
copyright or other applicable law. No confidentiality or privilege is
lost by an erroneous transmission. If you have received this e-mail
in error, please let us know by reply e-mail and delete or destroy
this mail and all copies. If you are not the intended recipient of
this message you must not disseminate, copy or take any action in
reliance on it. The sender takes no responsibility for the effect of
this message upon the recipient's computer system.