Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.4
-
None
-
Maven 2.0.8, Linux
Description
In a multi-module project, since version 2.4, all tests of all modules are run once for each module. This is very bad with many modules & many tests. Attached is a sample project which contains a parent module and two child modules. Each of the child modules contains one JUnit test. mvn clean site runs each test three times (once for the parent and once for each of the two submodules). When changing the surefire-report-plugin to version 2.3, each test is run only once, as it is supposed to
Attachments
Attachments
Issue Links
- is related to
-
MNG-2184 Possible problem with @aggregator and forked lifecycles
- Open
- relates to
-
MJAVADOC-171 Modules in multi-module projects are "built" too often
- Closed