trouble with invalid pom (failed cli site:site)
-----------------------------------------------

         Key: MNG-1574
         URL: http://jira.codehaus.org/browse/MNG-1574
     Project: Maven 2
        Type: Bug
  Components: maven-project-info-reports-plugin  
    Versions: 2.0    
 Environment: windows and solaris
    Reporter: Olivier Lamy
    Priority: Blocker


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 message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to