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:13:12 UTC

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

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

        

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

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253745#action_253745 ] 

Lukas Theussl commented on MSITE-475:
-------------------------------------

As you said this is triggered by the javadoc plugin, so it's not a bug in the site plugin, or did I misunderstand something?

> Unwanted lifecycle phases triggered by mvn site:site
> ----------------------------------------------------
>
>                 Key: MSITE-475
>                 URL: http://jira.codehaus.org/browse/MSITE-475
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Lukas Theussl
>         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

        

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

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253716#action_253716 ] 

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

Could I beg you for an explanation?

> Unwanted lifecycle phases triggered by mvn site:site
> ----------------------------------------------------
>
>                 Key: MSITE-475
>                 URL: http://jira.codehaus.org/browse/MSITE-475
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Lukas Theussl
>         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

        

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

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253746#action_253746 ] 

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

I saw that the presence of the javadoc plugin triggered it. I didn't debug to demonstrate whether this is a result of a javadoc plugin bug, or a site plugin bug ... though i admit on consideration that it's hard to explain it in terms of the later.


> Unwanted lifecycle phases triggered by mvn site:site
> ----------------------------------------------------
>
>                 Key: MSITE-475
>                 URL: http://jira.codehaus.org/browse/MSITE-475
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Lukas Theussl
>         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

        

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

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ 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

        

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

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253749#action_253749 ] 

Lukas Theussl commented on MSITE-475:
-------------------------------------

Since there is an equivalent issue now in the javadoc plugin, let's keep it open there. It sounds more logical there. :)

> Unwanted lifecycle phases triggered by mvn site:site
> ----------------------------------------------------
>
>                 Key: MSITE-475
>                 URL: http://jira.codehaus.org/browse/MSITE-475
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Lukas Theussl
>         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

        

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

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed MSITE-475.
-------------------------------

    Resolution: Not A Bug
      Assignee: Lukas Theussl

> Unwanted lifecycle phases triggered by mvn site:site
> ----------------------------------------------------
>
>                 Key: MSITE-475
>                 URL: http://jira.codehaus.org/browse/MSITE-475
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Lukas Theussl
>         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