I try the workaround found in the issue
http://jira.codehaus.org/browse/MNG-754 (marked as fix)
With the pom content :

<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>commons-configuration</groupId>
  <artifactId>commons-configuration</artifactId>
  <version>1.1</version>
</project>

But I have the same error.
Help will appreciate,
Thanks a lot,

- Olivier

> -----Message d'origine-----
> De : Olivier Lamy [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 15 novembre 2005 12:22
> À : Maven Users List
> Objet : [m2] trouble with 
> 'commons-configuration:commons-configuration:pom:1.1
> 
> 
> Hi,
> I use a dependencie
> <dependency>
> <groupId>commons-configuration</groupId>
> <artifactId>commons-configuration</artifactId>
> <version>1.1</version>
> </dependency>
> 
> I have the following exceptions and this fails the cli : site:site.
> Is there any workaround by specifying a scope in the dependency
> ......
> 
> 
> [WARNING] POM for: 
> 'commons-configuration:commons-configuration:pom:1.1'
> does not
> appear to be valid. Its will be ignored for artifact resolution.
> 
> Reason: Failed to validate POM
> 
> .......
> 
> [INFO] Generate "Dependencies" report.
> [INFO]
> --------------------------------------------------------------
> ----------
> ---
> -
> [ERROR] FATAL ERROR
> [INFO]
> --------------------------------------------------------------
> ----------
> ---
> -
> [INFO] Can't find a valid Maven project in the repository for the
> artifact [commons-configuration:commons-configuration:1.1].
> [INFO]
> --------------------------------------------------------------
> ----------
> ---
> -
> [INFO] Trace
> java.lang.IllegalArgumentException: Can't find a valid Maven 
> project in
> the repository for the artifact
> [commons-configuration:commons-configuration:1.1].
>         at
> org.apache.maven.report.projectinfo.DependenciesReport$Depende
> nciesRend
> erer.renderBody(DependenciesReport.java:246)
> 
> 
> 
> This e-mail, any attachments and the information contained 
> therein ("this message") are confidential and intended solely 
> for the use of the addressee(s). If you have received this 
> message in error please send it back to the sender and delete 
> it. Unauthorized publication, use, dissemination or 
> disclosure of this message, either in whole or in part is 
> strictly prohibited.
> **************************************************************
> ******** 
> Ce message electronique et tous les fichiers joints ainsi que 
>  les informations contenues dans ce message ( ci apres "le 
> message" ), sont confidentiels et destines exclusivement a 
> l'usage de la  personne a laquelle ils sont adresses. Si vous 
> avez recu ce message par erreur, merci  de le renvoyer a son 
> emetteur et de le detruire. Toutes diffusion, publication, 
> totale ou partielle ou divulgation sous quelque forme que se 
> soit non expressement autorisees de ce message, sont interdites.
> **************************************************************
> ******** 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to