Orford, Ian-2 wrote:
>
> I still cant find any real clues about this. I've found some other
> instances
> of this IAE and the error message on standard public dependencies that
> have
> been treated as bugs and fixed.
>
> I'm still suspicious that the dependency in question is in the maven 1
> repository, and hence there isn't a v4 pom file (the pom file is v3).
>
> However I don't understand why the site target should not support maven 1
> repo's when it is supported in the rest of maven.
>
> Confused as ever,
>
> Ian
>
>
>
> -----Original Message-----
> From: Orford, Ian
> Sent: 12 September 2006 11:38
> To: '[email protected]'
> Subject: M2: Fatal error generating site
>
> I'm trying to generate site documentation. We have lots of project, most
> of
> them still use maven 1. This particular project is built with maven 2.
>
> The error below indicates that a project isn't in the repository. I don't
> really know what that means. It is in the repository (the compile and test
> goals would fail otherwise). I've browsed to the appropriate repository
> directory:
> C:\Dev\.m2\repository\drkw-cpds-proxy-common\proxy-common\4.01
> And can see the following files:
> proxy-common-4.01.jar
> proxy-common-4.01.jar.md5
> proxy-common-4.01.pom
> proxy-common-4.01.pom.md5
>
>
> Help appreciated.
>
> Thanks, Ian Orford.
>
>
> [INFO] Generate "Continuous Integration" report.
> [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got
> 0
> [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> [INFO] Generate "Dependencies" report.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Can't find a valid Maven project in the repository for the artifact
> [drkw-cpds-proxy-common:proxy-common:4.01].
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.IllegalArgumentException: Can't find a valid Maven project in
> the
> repository for the artifact [drkw-cpds-proxy-common:pr oxy-common:4.01].
> at
> org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRenderer.
> renderBody(DependenciesReport.java:246)
> at
> org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenR
> eportRenderer.java:65)
> at
> org.apache.maven.report.projectinfo.DependenciesReport.executeReport(Depende
> nciesReport.java:157)
> at
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.
> java:98)
> at
> org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDo
> cumentRenderer.java:67)
> at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(Default
> SiteRenderer.java:239)
> at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRe
> nderer.java:115)
> at
> org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124)
> at
> org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
> r.java:412)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
> cycleExecutor.java:534)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:475)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
> ycleExecutor.java:454)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
> ures(DefaultLifecycleExecutor.java:306)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
> ultLifecycleExecutor.java:273)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
> Executor.java:140)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
>
>
> ----------------------------------------------------------------------------
> ----
> The information contained herein is confidential and is intended solely
> for
> the addressee. Access by any other party is unauthorised without the
> express
> written permission of the sender. If you are not the intended recipient,
> please contact the sender either via the company switchboard on +44 (0)20
> 7623 8000, or via e-mail return. If you have received this e-mail in error
> or wish to read our e-mail disclaimer statement and monitoring policy,
> please refer to http://www.dresdnerkleinwort.com/disc/email/ or contact
> the
> sender.
> ----------------------------------------------------------------------------
> ----
>
>
>
> --------------------------------------------------------------------------------
> The information contained herein is confidential and is intended solely
> for the
> addressee. Access by any other party is unauthorised without the express
> written permission of the sender. If you are not the intended recipient,
> please
> contact the sender either via the company switchboard on +44 (0)20 7623
> 8000, or
> via e-mail return. If you have received this e-mail in error or wish to
> read our
> e-mail disclaimer statement and monitoring policy, please refer to
> http://www.dresdnerkleinwort.com/disc/email/ or contact the sender.
> --------------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
Good day to you, Ian-2,
Try deleting those artifacts from your repo and let maven download them
again :-)
Cheers,
Franz
--
View this message in context:
http://www.nabble.com/M2%3A-Fatal-error-generating-site-tf2258109.html#a6282309
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]