[
https://jira.codehaus.org/browse/MINVOKER-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314075#comment-314075
]
Anders Hammar commented on MINVOKER-115:
----------------------------------------
I'm not very keen on adding params for everything. IMHO it would make things
too complicated for the novice user. Why not just always install all the
artifacts of a multi-module project to the (new) local repo?
Also, if my memory serves me correct the m-invoker-p detects if there is a
normal library dependency to some other module it will install it. Why can't it
detect a plugin dependency? The reactor in core 3.0+ can do it for calculating
the build order in a multi-module build. If it complicated I think we should
install all artifacts of a multi-module build for now and it can be improved
later on.
> install goal doesn't install required plugins (from the reactor build) to the
> local repo
> ----------------------------------------------------------------------------------------
>
> Key: MINVOKER-115
> URL: https://jira.codehaus.org/browse/MINVOKER-115
> Project: Maven 2.x Invoker Plugin
> Issue Type: Bug
> Affects Versions: 1.5
> Environment: MacOS 10.6.6
> Mac Java 1.6
> Maven 3.0.2
> Reporter: Anders Hammar
> Attachments: MINVOKER-115-IT.patch
>
>
> In a multimodule build where the m-invoker-p is used to perform integration
> tests for an archetype. In the build, a maven plugin is first created. Then a
> maven archetype.
> For the archetype project, integration test is performed where a project is
> generated based on the archetype and then a build (mvn verify) is done.
> However, the build fails as it can't find the maven plugin built earlier in
> the reactor build. The maven-invoker-plugin:install goal installs all
> dependencies to the cloned local repo, but it doesn't install the plugin
> built.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira