You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Harold Shinsato (JIRA)" <ji...@codehaus.org> on 2010/03/18 14:16:23 UTC

[jira] Commented: (MJAVADOC-275) Creation of Javadoc attachments fails in multi-module project where modules have never been installed/deployed

    [ http://jira.codehaus.org/browse/MJAVADOC-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=214339#action_214339 ] 

Harold Shinsato commented on MJAVADOC-275:
------------------------------------------

This is happening for us only during release:perform - is there any workaround? It's confusing why the javadoc for one project gets invoked from another project.

> Creation of Javadoc attachments fails in multi-module project where modules have never been installed/deployed
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: MJAVADOC-275
>                 URL: http://jira.codehaus.org/browse/MJAVADOC-275
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.6.1
>            Reporter: Benjamin Bentmann
>            Priority: Critical
>         Attachments: MJAVADOC-275.zip
>
>
> Running the commands
> {noformat}
> mvn clean
> mvn verify
> {noformat}
> will fail on the attached demo project with
> {noformat}
> [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc'
>   has not be previously called for the project: 'org.apache.maven.its.javadoc:mod-b:jar:0.1'.
>   Trying to invoke it...
> [ERROR] MavenInvocationException: Error when invoking Maven, consult the invoker log file:
>   M:\MJAVADOC\mod-a\target\invoker\maven-javadoc-plugin625147587.txt
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] MavenReportException: Error while creating archive:
>   Error when invoking Maven, consult the invoker log file: 
>   M:\MJAVADOC\mod-a\target\invoker\maven-javadoc-plugin625147587.txt
> {noformat}
> The command {{mvn clean verify}} as usually used during releases will also fail, but starts working after repeated invocations. 

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