maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frederick N. Brier (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MJAVADOC-275) Creation of Javadoc attachments fails in multi-module project where modules have never been installed/deployed
Date Wed, 21 Apr 2010 08:40:12 GMT

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

Frederick N. Brier commented on MJAVADOC-275:
---------------------------------------------

I believe I was having this issue with version 2.6.1/Maven 2.2.1.  If I comment out the plugin,
it builds fine.  Otherwise, the preceding sibling dependency is "missing".  I just checked
out/built/installed the 2.7-SNAPSHOT and the error is still occurring.

> 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
>            Assignee: John Casey
>            Priority: Critical
>             Fix For: 2.7
>
>         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

        

Mime
View raw message