[ 
https://issues.apache.org/jira/browse/MJAVADOC-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957846#comment-17957846
 ] 

Olivier Lamy commented on MJAVADOC-490:
---------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-javadoc-plugin#781|https://github.com/apache/maven-javadoc-plugin/issues/781].
 

> Aggregate goal fails if artifacts not installed
> -----------------------------------------------
>
>                 Key: MJAVADOC-490
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-490
>             Project: Maven Javadoc Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: javadoc
>    Affects Versions: 2.10.4
>            Reporter: Shannon Carey
>            Assignee: Robert Scholte
>            Priority: Major
>
> Using the javadoc aggregate report causes release:perform to fail if the 
> modules were not already installed into the local repository.
> During release:perform's execution of "deploy site-deploy", when 
> report:aggregate runs it appears to fork executions on all of the reactor 
> modules ("Forking mymodule 0.0.1"). When it gets to a module which has a 
> dependency on another module, it cannot find it locally (since that module 
> has not yet been installed), tries to download it from Nexus, and ultimately 
> fails with "... Could not resolve dependencies for project ... The following 
> artifacts could not be resolved ..."
> The only way I can think of to fix this is to add "install" to the 
> "preparationGoals" of release:prepare so that the modules are already 
> installed before release:perform is run. However, this violates the 
> self-containment of release:perform's deploy build, and is generally 
> confusing and difficult to diagnose.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to