Hello,

see http://jira.codehaus.org/browse/MNG-1455 but the patch was reverted.

I think the maven-project-info-reports-plugin in the svn has a fix for it. Maybe a SNAPSHOT version is available.

My technical question

It is allowed to return null for

  artifact.getFile()  ?

If not there should be different implementation or call of artifact.setFile for a system artifact.
If it is allowed the patch should applied.

Best Regards

Bernd Bohmann

Dixit, Sandeep (ProSource Solutions) schrieb:
I am getting the error below while running 'mvn site'. I read in the
mailing archive that it is related to the use of systemPaths in pom.xml,
but didn't see any resolution. Does anyone know how to resolve this?

Thanks,
Sandeep


[INFO] [site:site]
[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] null
[INFO]
------------------------------------------------------------------------
-
---
[INFO] Trace
java.lang.NullPointerException
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:82)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:63)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:387)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromReposito
ry(DefaultMavenProjectBuilder.java:352)
        at
org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRe
nderer.getMavenProjectFromRepository(DependenciesReport.java:362)
        at
org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRe
nderer.renderBody(DependenciesReport.java:242)
        at
org.apache.maven.reporting.AbstractMavenReportRenderer.render(Abstrac
tMavenReportRenderer.java:65)
        at
org.apache.maven.report.projectinfo.DependenciesReport.executeReport(
DependenciesReport.java:157)
        at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven
Report.java:98)
        at
org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.
java:802)
        at
org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:432)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:530)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:485)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:455)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:303)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:270)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:139)
        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:249)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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]
------------------------------------------------------------------------
-
---
[INFO] Total time: 14 seconds
[INFO] Finished at: Wed Jan 04 14:56:43 EST 2006
[INFO] Final Memory: 6M/11M
[INFO]
------------------------------------------------------------------------
-
---

-------------------------------------------------------------------------------------------
***National City made the following annotations
-------------------------------------------------------------------------------------------
This communication is a confidential and proprietary business communication.  
It is intended solely for the use of the designated recipient(s).  If this 
communication is received in error, please contact the sender and delete this 
communication.
===========================================================================================

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



--
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333

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

Reply via email to