You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/05/11 07:50:41 UTC

[jira] Reopened: (MJAVADOC-62) javadoc:javadoc needs access to generated sources

     [ http://jira.codehaus.org/browse/MJAVADOC-62?page=all ]
     
Brett Porter reopened MJAVADOC-62:
----------------------------------


seeing now it doesn't work in the site plugin, even though the phase is executed

> javadoc:javadoc needs access to generated sources
> -------------------------------------------------
>
>          Key: MJAVADOC-62
>          URL: http://jira.codehaus.org/browse/MJAVADOC-62
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: John Casey
>     Assignee: Brett Porter
>     Priority: Blocker
>      Fix For: 2.0
>  Attachments: MJAVADOC-62.diff, MJAVADOC-62.diff
>
>
> currently, maven-model will not generate apidocs by simply calling javadoc:javadoc. This is because maven-model's sources are generated, and the javadoc report doesn't ensure that the 'generate-sources' phase is called.
> However, when I changed the report to have:
> @execute phase="generate-sources"
> It still doesn't work. I suspect this may be because it's forking a new lifecycle and cloning the project to call generate-sources, which means the report doesn't use the right project instance to create the report. However, I've been unable to inject ${executedProject} as a parameter; it fails the build, saying I need to supply that parameter on the command line.
> I haven't committed any code changes to this report, since I don't currently have time to debug it properly, and I obviously haven't solved the problem.

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