74 lines
2.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2004-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<faqs title="Frequently Asked Questions">
<part id="general">
<title>General</title>
<faq id="master-project-location">
<question>
Why don't any data in the generated report?
</question>
<answer>
<p>
One of the possible reason is that your master project and its subprojects are not
located in the default location the dashboard plugin expects them. by default the
plugin expects the subprojects to be located one directory below the master project.
In other words, it is looking for subprojecs using the <code>*/project.xml</code>
pattern.
</p>
<p>
This can be controlled using the following properties (shown here with their default
values:
</p>
<source><![CDATA[
maven.dashboard.basedir=${basedir}
maven.dashboard.includes=*/project.xml
maven.dashboard.excludes=**/target/**/project.xml]]></source>
<p>
It's also possible to set the Multiproject properties as they are used by default
by the Dashboard plugin.
</p>
</answer>
</faq>
<faq id="clover-project-data">
<question>
Why is there no Clover report data?
</question>
<answer>
<p>
The Dashboard report exists and shows data for all reports
apart from Clover. This indicates that no 'clover.xml'
was found for your subprojects.
</p>
<p>
If the Dashboard plugin creates the reports on its own it
will set the 'maven.clover.report.xml' to enforce the
creation of 'clover.xml'. In the case that already generated
reports shall be used you have to set the property manually
to enforce the creation od 'clover.xml'.
</p>
</answer>
</faq>
</part>
</faqs>