[
https://jira.codehaus.org/browse/MSITE-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285212#comment-285212
]
Benson Margulies commented on MSITE-623:
----------------------------------------
I don't see how. This one is only in M3, not M2.2.1. It's really not a site
thing at all. I believe that the bug is shaped as follows:
If you ask the artifact resolver API for g:a:v:wsdl, and that isn't in the
reactor, but g:a:v:jar is in the reactor, you get g:a:b:jar instead of
searching repos or nuthin.
> lifecycle dependency failure with code generation versus javadocs versus the
> site plugin
> ----------------------------------------------------------------------------------------
>
> Key: MSITE-623
> URL: https://jira.codehaus.org/browse/MSITE-623
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: Maven 3
> Affects Versions: 3.0
> Reporter: Benson Margulies
>
> This is related to MSITE-622.
> In a multi-module project, one module has a plugin execution in phase
> 'process-classes' that produces an attached artifact (with type 'wsdl').
> A second module depends on it, and has another plugin execution in phase
> 'generate-sources' that depends on the artifact from the first one.
> The second project declares this dependency.
> When I run site:site, it does not run compile, or process-classes, so the
> wsdl artifact is not in the reactor, and then the second plugin can't find
> it, and the build fails (and, as per -622, no explanation is shown without
> -X). (That's particularly odd, since it should be sitting in the local repo
> from a previous build.)
> How is something like this supposed to work?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira