maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksandra Nowak <lot...@gmail.com>
Subject How to disable “Test Source Xref” report generation
Date Tue, 02 Apr 2013 12:44:53 GMT
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-47 but
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message