I think per default Maven simply executes all reports, in your case jxr and
test-jxr. But you may configure specific reports:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-jxr-plugin</artifactId>
    <version>${plugins.jxr.version}</version>
    <reportSets>
        <reportSet>
            <reports>
                <report>jxr</report>
            </reports>
        </reportSet>
    </reportSets>
</plugin>


Regards,
htfv (Aliaksei Lahachou)


On Tue, Apr 2, 2013 at 2:44 PM, Aleksandra Nowak <[email protected]> wrote:

> Hi all!
> I'm using Maven Site Plugin to generate my project page and the JXR Plugin
> to publish the source code. But I don't want to publish sources of test
> classes. Does anybody know if it is possible to disable "Test Source Xref"
> report. I've only found this pagehttp://jira.codehaus.org/browse/JXR-47but
> this parameter doesn't seem to work. My configuration in POM looks like
> this:
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-site-plugin</artifactId>
> <version>3.2</version>
> <configuration>
> <reportPlugins>
>     <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-jxr-plugin</artifactId>
>         <version>2.3</version>
>         <configuration>
>             <suppressTestXref>true</suppressTestXref>
>         </configuration>
>     </plugin>
> </reportPlugins>
> </configuration>
> </plugin>
>
> Kind regards,
> Alex
>

Reply via email to