maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aliaksei Lahachou <aliaksei.lahac...@gmail.com>
Subject Re: How to disable “Test Source Xref” report generation
Date Tue, 09 Apr 2013 15:10:01 GMT
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 <lotqua@gmail.com> 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
>

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