With org.maven.ide.eclipse_0.0.11.jar installed, I can finally run
maven-site-plugin.
Now I have another problem.
It looks like the Eclipse site goal causes the internal Maven reports to
be run twice.
I have attached the Eclipse console output and the command line log.
They are different and the command line is correct.
In both logs I get the following message which is correct. There is an
index.xml file which should be compiled.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] site:site
[INFO] Skipped "About" report, file "index.html" already exists for the
English version.
However, in Eclipse it appears that the first time through it does not
check and I suspect that the index.html that it finds is already the
wrong one.
The other pages are fine
Any ideas about what to try next.
Ron
Eclipse console output
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building JetSpeed Tutorial for Ant and Eclipse
[INFO] task-segment: [clean, site]
[INFO]
----------------------------------------------------------------------------
[INFO] clean:clean
[INFO] Deleting directory C:\ant-tutorial\workspace\Jetspeed_Tutorial_
for_ Ant_Eclipse\target
[INFO] Deleting directory C:\ant-tutorial\workspace\Jetspeed_Tutorial_
for_ Ant_Eclipse\target\classes
[INFO] Deleting directory C:\ant-tutorial\workspace\Jetspeed_Tutorial_
for_ Ant_Eclipse\target\test-classes
[INFO] statemgmt:start-fork
[INFO] Starting forked execution [fork id: 450508553]
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] project-info-reports:cim
[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] project-info-reports:dependencies
[INFO] project-info-reports:dependency-convergence
[INFO] project-info-reports:issue-tracking
[INFO] project-info-reports:license
[INFO] project-info-reports:mailing-list
[INFO] project-info-reports:index
[INFO] project-info-reports:summary
[INFO] project-info-reports:scm
[INFO] project-info-reports:project-team
[INFO] statemgmt:end-fork
[INFO] Ending forked execution [fork id: 450508553]
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] site:site
[INFO] Skipped "About" report, file "index.html" already exists for the
English version.
[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 "Project Summary" report.
[INFO] Generate "Continuous Integration" report.
[INFO] Generate "Project License" report.
[INFO] Generate "Source Repository" report.
[INFO] Generate "Dependencies" report.
[INFO] Generate "Mailing Lists" report.
[INFO] Generate "Issue Tracking" report.
[INFO] Generate "Project Team" report.
[INFO] statemgmt:clear-fork-context
[INFO] Cleaning up forked execution context [fork id: 450508553]
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 11 second
[INFO] Finished at: Mon Jun 11 08:55:25 EDT 2007
[INFO] Memory 4M/21M
[INFO]
----------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11 seconds
[INFO] Finished at: Mon Jun 11 08:55:25 EDT 2007
[INFO] Final Memory: 11M/21M
[INFO] ----------------------------
Command Line log
C:\ant-tutorial\workspace\Jetspeed_Tutorial_ for_ Ant_Eclipse>mvn clean site
[INFO] Scanning for projects...
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building JetSpeed Tutorial for Ant and Eclipse
[INFO] task-segment: [clean, site]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO] Deleting directory C:\ant-tutorial\workspace\Jetspeed_Tutorial_
for_ Ant_
Eclipse\target
[INFO] Deleting directory C:\ant-tutorial\workspace\Jetspeed_Tutorial_
for_ Ant_
Eclipse\target\classes
[INFO] Deleting directory C:\ant-tutorial\workspace\Jetspeed_Tutorial_
for_ Ant_
Eclipse\target\test-classes
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [site:site]
[INFO] Skipped "About" report, file "index.html" already exists for the
English
version.
[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 "Continuous Integration" report.
[INFO] Generate "Dependencies" report.
[INFO] Generate "Issue Tracking" report.
[INFO] Generate "Project License" report.
[INFO] Generate "Mailing Lists" report.
[INFO] Generate "Project Summary" report.
[INFO] Generate "Source Repository" report.
[INFO] Generate "Project Team" report.
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Mon Jun 11 09:18:45 EDT 2007
[INFO] Final Memory: 11M/21M
[INFO]
------------------------------------------------------------------------
C:\ant-tutorial\workspace\Jetspeed_Tutorial_ for_ Ant_Eclipse>
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email