This is an interesting situation and certainly feels like a bug. I'd
say that Maven should *not* write the metadata file unless it actually
downloaded the plugin or successfully used it.

Has this been filed in JIRA, Wendy?

Wayne

On 3/21/07, Wendy Smoak <[EMAIL PROTECTED]> wrote:
I can reproduce this by deleting the metadata for maven-clean-plugin
and then running:
   $ mvn clean -o

This will will write a metadata file containing only
 <?xml version="1.0" encoding="UTF-8" ?>
  <metadata>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-clean-plugin</artifactId>
  </metadata>

Subsequent executions of "mvn clean" will fail with 'no valid version'
until you either delete the metadata file *or* run with -U on the
command line to force an update.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to