[ https://issues.apache.org/jira/browse/MNG-5839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14574192#comment-14574192 ]
Karl Heinz Marbaise edited comment on MNG-5839 at 6/5/15 9:27 AM: ------------------------------------------------------------------ The [site life cycle comprises of four phases|https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html]: * pre-site * site * post-site * site-deploy If you call Maven via {{mvn site}} only the following phase: {{pre-site}} and {{site}} will be executed. All the other phases will not being executed. If you like to get executed the {{post-site}} phase you have to call maven via {{mvn post-site}} so in this case the {{pre-site}}, {{site}} and {{post-site}} phase will be executed. Furthermore the site you have referenced seemed to be not correct which needed to be fixed. I have linked the appropriate issue for the FAQ. was (Author: khmarbaise): The [site life cycle comprises of four phases|https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html]: * pre-site * site * post-site * site-deploy If you call Maven via {{mvn site}} only the following phase: {{pre-site}} and {{site}} will be executed. All the other phases will not being executed. If you like to get executed the {{post-site}} phase you have to call maven via {{mvn post-site}} so in this case the {{pre-site}}, {{site}} and {{post-site}} phase will be executed. Furthermore the site you have referenced seemed to be not correct which needed to be fixed. > site target doesn't invoke post-site phase > ------------------------------------------ > > Key: MNG-5839 > URL: https://issues.apache.org/jira/browse/MNG-5839 > Project: Maven > Issue Type: Bug > Reporter: Gabor Liptak > Priority: Minor > Attachments: pom.xml > > > On page: > http://maven.apache.org/plugins/maven-site-plugin/faq.html#What_is_the_difference_between_mvn_site_and_mvn_site:site > $ mvn site > described to be calling post-site phase. > Running $ mvn site on attached pom.xml doesn't seem to run the post-site > phase: > [INFO] Scanning for projects... > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Maven Quick Start Archetype 1.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-site-plugin:3.3:site (default-site) @ my-app --- > [INFO] configuring report plugin > org.apache.maven.plugins:maven-project-info-reports-plugin:2.8 > [INFO] Relativizing decoration links with respect to project URL: > http://maven.apache.org > [INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 > skin. > [INFO] Generating "Dependency Convergence" report --- > maven-project-info-reports-plugin:2.8 > [INFO] Generating "Dependency Information" report --- > maven-project-info-reports-plugin:2.8 > [INFO] Generating "About" report --- maven-project-info-reports-plugin:2.8 > [INFO] Generating "Plugin Management" report --- > maven-project-info-reports-plugin:2.8 > [INFO] Generating "Project Plugins" report --- > maven-project-info-reports-plugin:2.8 > [INFO] Generating "Project Summary" report --- > maven-project-info-reports-plugin:2.8 > [INFO] > [INFO] --- maven-antrun-plugin:1.8:run (site) @ my-app --- > [WARNING] Parameter tasks is deprecated, use target instead > [INFO] Executing tasks > main: > [echo] in site step > [INFO] Executed tasks > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 20.215 s > [INFO] Finished at: 2015-06-04T19:01:15-04:00 > [INFO] Final Memory: 24M/251M > [INFO] > ------------------------------------------------------------------------ -- This message was sent by Atlassian JIRA (v6.3.4#6332)