Hi,
I still have problems getting a custom built cobertura plugin being
downloaded from an internal repository : while everything is setup
(properly I think), the build fail with following message :

[ERROR] BUILD FAILURE
[INFO] 
----------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that 
t he goal name is correct: Unable to download the artifact from any repository

  org.codehaus.mojo:cobertura-maven-plugin:maven-plugin:2.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

  org.codehaus.mojo:cobertura-maven-plugin:maven-plugin:2.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

The repository contains the following tree :

org/codehaus/mojo/maven-metadata-central.xml.sha1
org/codehaus/mojo/maven-metadata-central.xml
org/codehaus/mojo/mojo-sandbox
org/codehaus/mojo/mojo-sandbox/2-SNAPSHOT
org/codehaus/mojo/mojo-sandbox/2-SNAPSHOT/mojo-sandbox-2-SNAPSHOT.pom
org/codehaus/mojo/mojo-sandbox/2-SNAPSHOT/maven-metadata-myserver.xml
org/codehaus/mojo/mojo-sandbox/2-SNAPSHOT/maven-metadata-Maven 
Snapshots.xml.sha1
org/codehaus/mojo/mojo-sandbox/2-SNAPSHOT/maven-metadata-Maven Snapshots.xml
org/codehaus/mojo/mojo-sandbox/2-SNAPSHOT/mojo-sandbox-2-20060116.044847-1.pom.sha1
org/codehaus/mojo/mojo-sandbox/2-SNAPSHOT/mojo-sandbox-2-20060116.044847-1.pom
org/codehaus/mojo/mojo-sandbox/2-SNAPSHOT/mojo-sandbox-2-20060213.034901-2.pom.sha1
org/codehaus/mojo/mojo-sandbox/2-SNAPSHOT/mojo-sandbox-2-20060213.034901-2.pom
org/codehaus/mojo/mojo-sandbox/2-SNAPSHOT/maven-metadata-snapshots.xml.sha1
org/codehaus/mojo/mojo-sandbox/2-SNAPSHOT/maven-metadata-snapshots.xml
org/codehaus/mojo/cobertura-maven-plugin
org/codehaus/mojo/cobertura-maven-plugin/2.0-SNAPSHOT
org/codehaus/mojo/cobertura-maven-plugin/2.0-SNAPSHOT/cobertura-maven-plugin-2.0-SNAPSHOT.jar
org/codehaus/mojo/cobertura-maven-plugin/2.0-SNAPSHOT/maven-metadata-local.xml
org/codehaus/mojo/cobertura-maven-plugin/2.0-SNAPSHOT/cobertura-maven-plugin-2.0-SNAPSHOT.pom
org/codehaus/mojo/cobertura-maven-plugin/2.0-SNAPSHOT/maven-metadata-myserver.xml
org/codehaus/mojo/cobertura-maven-plugin/2.0-SNAPSHOT/cobertura-maven-plugin-2.0-SNAPSHOT.pom.sha1

The content of maven-metadata-central.xml is 

<metadata>
  <plugins>
    <plugin>
      <name>Maven 2  Javacc Plugin</name>
      <prefix>javacc</prefix>
      <artifactId>javacc-maven-plugin</artifactId>
    </plugin>
    <plugin>
      <name>Maven 2 SableCC Plugin</name>
      <prefix>sablecc</prefix>
      <artifactId>sablecc-maven-plugin</artifactId>
    </plugin>
  </plugins>
</metadata>

Help would be greatly appreciated. I must precise that things are ok
when the plugin is used locally.

Thanks,
-- 
Arnaud Bailly, Dr. - Ingénieur de Recherche 
NORSYS 
1, rue de la Cense des Raines
ZAC du Moulin
59710 ENNEVELIN
Tel : (33) 3 28 76 56 76
Mob : (33) 6 17 12 19 78
Fax : (33) 3 28 76 57 00
Web : http://www.norsys.fr


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

Reply via email to