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

[jira] Commented: (MSITE-472) Navigation links from maven-project-info-reports disappear when using maven-site-plugin 3.0-beta-1-SNAPSHOT and POM references parent POM

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

Michael Pilquist commented on MSITE-472:
----------------------------------------

Tried to run this again with Maven 3.0-beta-1 but it doesn't appear the maven-site-plugin:3.0-beta-1-SNAPSHOT is currently compatible.
{code}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] parent ............................................ FAILURE [14.366s]
[INFO] parent-usage-test ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.607s
[INFO] Finished at: Wed Apr 28 11:31:25 EDT 2010
[INFO] Final Memory: 10M/80M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-1-SNAPSHOT:site (default-site) on project parent: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-1-SNAPSHOT:site failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-site-plugin:3.0-beta-1-SNAPSHOT:site: java.lang.NoSuchMethodError: org.apache.maven.lifecycle.LifecycleExecutor.calculateForkedExecutions(Lorg/apache/maven/plugin/MojoExecution;Lorg/apache/maven/execution/MavenSession;)V
{code}

> Navigation links from maven-project-info-reports disappear when using maven-site-plugin 3.0-beta-1-SNAPSHOT and POM references parent POM
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MSITE-472
>                 URL: http://jira.codehaus.org/browse/MSITE-472
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 3.0-alpha-1
>         Environment: Maven 3.0-alpha-7, JDK 6
>            Reporter: Michael Pilquist
>         Attachments: site-parent-issue.zip
>
>
> If a project has a parent POM, no navigation links are generated in the submodule's site.  The parent site has navigation however.  This behavior occurs both when parent is in the reactor and when it is not.
> Attached is a very simple multimodule build consisting of a single parent POM and a JAR module.  After running "mvn clean install site", observe that target/site/index.html has the proper navigation but parent-usage-test/target/site/index.html has an empty navigation panel.
> This may be a bug in project-info-reports but since it works correctly when there's no parent POM, I thought this was the correct project.

-- 
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