Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Project with two reports javadoc and surefire.
Maven comand to execute:
mvn clean test site
And in build we have:
Standard test phase: [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ forked-lifecycle --- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ forked-lifecycle --- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ forked-lifecycle --- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ forked-lifecycle --- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ forked-lifecycle --- Site build in the same session: [INFO] --- maven-site-plugin:3.10.0:site (default-site) @ forked-lifecycle --- [INFO] configuring report plugin org.apache.maven.plugins:maven-javadoc-plugin:3.3.1 [INFO] preparing maven-javadoc-plugin:javadoc report requires 'generate-sources' forked phase execution [INFO] [INFO] >>> maven-javadoc-plugin:3.3.1:javadoc > generate-sources @ forked-lifecycle >>> [INFO] [INFO] <<< maven-javadoc-plugin:3.3.1:javadoc < generate-sources @ forked-lifecycle <<< [INFO] [INFO] 'generate-sources' forked phase execution for maven-javadoc-plugin:javadoc report preparation done [INFO] preparing maven-javadoc-plugin:test-javadoc report requires 'generate-test-sources' forked phase execution [INFO] [INFO] >>> maven-javadoc-plugin:3.3.1:test-javadoc > generate-test-sources @ forked-lifecycle >>> [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ forked-lifecycle --- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ forked-lifecycle --- [INFO] [INFO] <<< maven-javadoc-plugin:3.3.1:test-javadoc < generate-test-sources @ forked-lifecycle <<< [INFO] [INFO] 'generate-test-sources' forked phase execution for maven-javadoc-plugin:test-javadoc report preparation done [INFO] 6 reports detected for maven-javadoc-plugin:3.3.1: aggregate-no-fork, javadoc, javadoc-no-fork, test-aggregate-no-fork, test-javadoc, test-javadoc-no-fork [INFO] configuring report plugin org.apache.maven.plugins:maven-surefire-report-plugin:2.22.2 [INFO] preparing maven-surefire-report-plugin:report report requires '[surefire]test' forked phase execution [INFO] [INFO] >>> maven-surefire-report-plugin:2.22.2:report > [surefire]test @ forked-lifecycle >>> [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ forked-lifecycle --- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ forked-lifecycle --- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ forked-lifecycle --- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ forked-lifecycle --- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ forked-lifecycle --- [INFO] [INFO] <<< maven-surefire-report-plugin:2.22.2:report < [surefire]test @ forked-lifecycle <<< [INFO] [INFO] '[surefire]test' forked phase execution for maven-surefire-report-plugin:report report preparation done
We can see that:
maven-resources-plugin:2.6:resources (default-resources)
maven-compiler-plugin:3.1:compile (default-compile)
was run 3 times
maven-resources-plugin:2.6:testResources
maven-compiler-plugin:3.1:testCompile
maven-surefire-plugin:2.12.4:test
was run 2 times