Exclude single module of multi-module project from aggregated report

155 Views Asked by At

I'm calling mvn site site:stage goal on multi-module project. One of the modules fails because in the chain of dependencies, which I can't influence, is reference to the http:// plugin repository.

This module is already excluded from site generation:

        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-site-plugin</artifactId>
            <configuration>
                <skip>true</skip>
            </configuration>
        </plugin>

The problem is, that the site plugin on the aggregator wants to include that project nevertheless and fails on maven-project-info-reports-plugin:3.4.1:dependency-convergence report. I don't need this module in site because it's no-java-source module (it calls plugin that verifies deployment to the application server).

How to configure reporting in the aggregator to exclude one module from generating aggregated report?

0

There are 0 best solutions below