You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benson Margulies (JIRA)" <ji...@codehaus.org> on 2010/04/30 03:31:12 UTC

[jira] Commented: (MSITE-475) Unwanted lifecycle phases triggered by mvn site:site

    [ http://jira.codehaus.org/browse/MSITE-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=219470#action_219470 ] 

Benson Margulies commented on MSITE-475:
----------------------------------------

The javadoc plugin in the reporting section seems to be the trigger.

> Unwanted lifecycle phases triggered by mvn site:site
> ----------------------------------------------------
>
>                 Key: MSITE-475
>                 URL: http://jira.codehaus.org/browse/MSITE-475
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>         Attachments: huh.tar.gz
>
>
> The attached test cases consists of a detached parent, an aggregating parent, and a child.
> Instructions:
> {noformat}
> 1. cd 'parent'; mvn
> 2. mvn site:site
> {noformat}
> observe that the antrun execution from the compile phase is executed.
> Then, if you like, edit the toplevel pom.xml to remove the <parent/> element that points to the parent in the parent directory, and observe that site:site stops running the compile phase.
> I can't see anything about that parent that has any reason to make the site plugin turn around and launch the standard (non-site) lifecycle, but obviously there's something I don't know.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira