How to control the generation of project information for the parent module only

<reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.4</version> </plugin> ... </plugins> </reporting> 

I participate in a project with several modules and would like to know how to generate this project information only for the parent, and not for the child modules that inherit the parent. Should I set inherited or aggregated to false

+4
source share
1 answer

This question does not make sense, since the goal of the parent project is to establish communication between the modules. You can select a set of reports to generate , but there is no way to run it only in a subset of modules.

If you use inheritance, you might want to restructure your project using pom.xml aggregation. Thus, you can run reports on this module (or all, if you run it in the parent aggregate).

If this does not answer your question, can you clarify? Thanks.

+2
source

All Articles