You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Rafal Krzewski <Ra...@caltha.pl> on 2003/12/18 11:56:10 UTC

problem with dashboard plugin (+ xdoc/site/core ?) in HEAD

Hi,

I've run into a weird problem in site generation recently.

When dashboard report is enabled in a my project, xdoc:jelly-transform
writes the html files into
$MAVEN_HOME/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target instead
of the projects target/docs directory.

>From what I've been able to determine, at some point of execution the
xdoc plugin the ${pom} variable switches to the dashboard plugin descriptor.

I've attached outuput of a minimal test project run of 'maven site'
note the following passage:

dashboard:xdoc:
    [echo] end of dashboard:xdoc Test project



    [echo] site before xdoc Test project
xdoc:init:
    [echo] xdoc:init Maven Dashboard Plugin


I've attached the diff for adding the low-tech Jelly debug that
generates the messages visible above, and the test project.

-----------------------------------------------------------------------

|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-SNAPSHOT

site:
    [echo] site before reports Test project
You are working offline so the build will continue, but
maven-junit-report-plugin-1.4-SNAPSHOT.jar may be out of date!
xdoc:register-reports:
maven-jdepend-plugin:register:

maven-checkstyle-plugin:register:

maven-changes-plugin:register:

maven-changelog-plugin:register:

maven-developer-activity-plugin:register:

maven-file-activity-plugin:register:

maven-license-plugin:register:

maven-javadoc-plugin:register:

maven-jxr-plugin:register:

maven-junit-report-plugin:register:

maven-linkcheck-plugin:register:

maven-tasklist-plugin:register:

maven-dashboard-plugin:register:


site:run-reports:
    [echo] Generating the Project License...
maven-license-plugin:report:
xdoc:init:
    [echo] xdoc:init Maven Dashboard Plugin

license:transfer:
    [echo]
      ======================================================================
      =                             W A R N I N G                          =
      ======================================================================
      =  Your project doesn't contain a header file specified as:          =
      =  /home/fil/tmp/dashboard-test/LICENSE.txt
      =  The License Report Plugin needs it to display the license         =
      =  for the project.                                                  =
      =  If it can't find this file, it creates a page mentioning that     =
      =  no license file has been given to Maven.                          =
      ======================================================================


license:


    [echo] Generating the Link Check Report...
maven-linkcheck-plugin:report:

    [echo] Generating the Dashboard...
Starting the reactor...
Our processing order:
dashboard:report:
dashboard:aggregate:

dashboard:xdoc:
    [echo] end of dashboard:xdoc Test project



    [echo] site before xdoc Test project
xdoc:init:
    [echo] xdoc:init Maven Dashboard Plugin

xdoc:register-reports:
maven-changes-plugin:register:

maven-changelog-plugin:register:

maven-file-activity-plugin:register:

maven-developer-activity-plugin:register:

maven-license-plugin:register:

maven-linkcheck-plugin:register:

maven-dashboard-plugin:register:


xdoc:generate-from-pom:
    [echo] Generating xdocs from POM ...





xdoc:transform:
xdoc:init:
    [echo] xdoc:init Maven Dashboard Plugin

xdoc:copy-resources:
    [copy] Copying 2 files to
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/docs/style
    [copy] Copying 89 files to
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/docs/images

xdoc:init:
    [echo] xdoc:init Maven Dashboard Plugin

xdoc:copy-user-resources:

xdoc:init:
    [echo] xdoc:init Maven Dashboard Plugin
About to use JSL stylesheet
file:/home/fil/.maven/plugins/maven-xdoc-plugin-1.5-SNAPSHOT/plugin-resources/site.jsl

xdoc:jelly-init:

xdoc:register-reports:
maven-changes-plugin:register:

maven-changelog-plugin:register:

maven-file-activity-plugin:register:

maven-developer-activity-plugin:register:

maven-license-plugin:register:

maven-linkcheck-plugin:register:

maven-dashboard-plugin:register:


xdoc:jelly-transform:
    [echo] Generating
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/docs/cvs-usage.html
from
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/generated-xdocs/cvs-usage.xml
    [echo] Generating
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/docs/index.html
from
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/generated-xdocs/index.xml
    [echo] Generating
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/docs/maven-reports.html
from
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/generated-xdocs/maven-reports.xml
    [echo] Generating
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/docs/dependencies.html
from
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/generated-xdocs/dependencies.xml
    [echo] Generating
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/docs/issue-tracking.html
from
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/generated-xdocs/issue-tracking.xml
    [echo] Generating
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/docs/mail-lists.html
from
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/generated-xdocs/mail-lists.xml
    [echo] Generating
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/docs/project-info.html
from
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/generated-xdocs/project-info.xml
    [echo] Generating
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/docs/team-list.html
from
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/generated-xdocs/team-list.xml
maven-linkcheck-plugin: Proxy Host:192.168.1.1
maven-linkcheck-plugin: Proxy Port:3128
maven-linkcheck-plugin: Proxy User:null
Found 0 files so far.
  Memory: 11M/20M
Validating cvs-usage.html
Validating index.html
Validating maven-reports.html
Validating dependencies.html
Validating issue-tracking.html
Validating mail-lists.html
Validating project-info.html
Validating team-list.html
Validating linkcheck.html
maven-linkcheck-plugin:report-real:
xdoc:performJSL:
    [echo] Generating
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/docs/linkcheck.html
from
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/linkcheck/docs/linkcheck.xml
maven-linkcheck-plugin: Proxy Host:192.168.1.1
maven-linkcheck-plugin: Proxy Port:3128
maven-linkcheck-plugin: Proxy User:null
Found 0 files so far.
  Memory: 13M/20M
Validating cvs-usage.html
Validating index.html
Validating maven-reports.html
Validating dependencies.html
Validating issue-tracking.html
Validating mail-lists.html
Validating project-info.html
Validating team-list.html
Validating linkcheck.html


maven-linkcheck-plugin:report-real:
xdoc:performJSL:
    [echo] Generating
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/docs/linkcheck.html
from
/home/fil/.maven/plugins/maven-dashboard-plugin-1.3-SNAPSHOT/target/linkcheck/docs/linkcheck.xml




xdoc:

    [echo] site after xdoc Test project
BUILD SUCCESSFUL
Total time: 19 seconds
Finished at: Thu Dec 18 11:32:16 CET 2003