You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Olivier Lamy <ol...@accor.com> on 2005/11/15 12:22:24 UTC

[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$DependenciesRend
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE : RE : [m2] trouble with 'commons-configuration:commons-configuration:pom:1.1

Posted by Olivier Lamy <ol...@accor.com>.
Hi,
Thanks for the fix.
As emmanuel explained to me, I need to log an Issue in
http://jira.codehaus.org/browse/MEV


It could be a good idea to provide this information in the console
output
[INFO] Can't find a valid Maven project in the repository for the 
artifact [commons-configuration:commons-configuration:1.1].
Adding 
[INFO] Please log an issue in http://jira.codehaus.org/browse/MEV

It could be very friendly.

I'm sorry for noise on the list but It was a blocking situation to
migrate a project from m1 to m2 and I didn't have the information.

Note, I'm very happy to use mvn which provides more speed and features
;-) and many thanks for all job made.
 
- Olivier


> -----Message d'origine-----
> De : carlossg@gmail.com [mailto:carlossg@gmail.com] De la 
> part de Carlos Sanchez
> Envoyé : mardi 15 novembre 2005 22:54
> À : Maven Users List
> Objet : Re: RE : [m2] trouble with 
> 'commons-configuration:commons-configuration:pom:1.1
> 
> 
> This should be fixed in the next few hours
> 
> On 11/15/05, Olivier Lamy <ol...@accor.com> wrote:
> > 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:olivier.lamy@accor.com]
> > > 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: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: RE : [m2] trouble with 'commons-configuration:commons-configuration:pom:1.1

Posted by Carlos Sanchez <ca...@apache.org>.
This should be fixed in the next few hours

On 11/15/05, Olivier Lamy <ol...@accor.com> wrote:
> 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:olivier.lamy@accor.com]
> > 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE : [m2] trouble with 'commons-configuration:commons-configuration:pom:1.1

Posted by Olivier Lamy <ol...@accor.com>.
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:olivier.lamy@accor.com] 
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org