[
http://jira.codehaus.org/browse/MOJO-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=172650#action_172650
]
David Vicente commented on MOJO-1335:
-------------------------------------
Hi David,
I do not understand what you say.
As describe in the documentation :
http://mojo.codehaus.org/dashboard-maven-plugin/custom_multi_config.html
to share the config for each module, instead of set dashboard and checkstyle
configuration files in each module,
in your multi-module, you create a new project that i name it "build-tools" ,
if you want, you can name it as "toto"
it's the same mechanism as checkstyle or assembly plugins to share config file
for all modules.
in the src\main\resource, you can put a Checkstyle xml config file which
contains only your rules.
And if the default dashboard config doesn't suit your need , you can create
your own that you set in the src\main\resources
you declare this new project as module of your project in your top level
pom.xml. and you configure the dashboard as describe in the html page
During the install phase, this jar will be built and set in the repository and
can be use as dependency of the dashboard.
That's all.
This feature suit only multi-module project which use specific checkstyle
configuration file or specific dashboard configuration file.
It's not an obligation to do this for a multi-module project.
Checkstyle plugin and Dashboard plugin come with a default configuration which
can suit your need.
To test the dashboard :
setup your top level pom.xml as descibed in :
http://mojo.codehaus.org/dashboard-maven-plugin/usage.html
to add historic feature, setup your top-level pom.xml as :
http://mojo.codehaus.org/dashboard-maven-plugin/usage_historic.html
The problem you described, which is not a bug, can arrive only if you want a
specific dashboard config to display more historic graphs.
i hope this post resolve your problem
> MultiModule setup document is confusing/incomplete
> --------------------------------------------------
>
> Key: MOJO-1335
> URL: http://jira.codehaus.org/browse/MOJO-1335
> Project: Mojo
> Issue Type: Bug
> Components: dashboard
> Environment: All
> Reporter: David Hoffer
> Assignee: David Vicente
>
> As I user not familiar with your plugin I want to configure it for use in a
> multi-module maven project. Following your current instructions, I get lots
> of errors. There is either missing information that you have assumed, or it
> is incorrect.
> For instance why do I need the build-tools jar? I'm not asking for one, do
> you need this to generate the report? Explain? You say to create the
> build-tools subfolder with files/folders & pom but you don't say what to put
> in them. Following your instructions they are all empty. What is supposed
> to be in each? Also does this new build-tools module have to be added to my
> modules section?
> What about the dashboardConfig.xml file? You haven't said what its contents
> are, etc.
--
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 from this list, please visit:
http://xircles.codehaus.org/manage_email