You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/11/07 18:41:00 UTC

[jira] [Updated] (MINVOKER-314) install goal: Always install dependencies (irrespective if they are part of the reactor)

     [ https://issues.apache.org/jira/browse/MINVOKER-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus updated MINVOKER-314:
-------------------------------------
    Description: 
Due to the logic in https://github.com/apache/maven-invoker-plugin/blob/166b7295632bce336837a2ab9b7231b0003a7f12/src/main/java/org/apache/maven/plugins/invoker/InstallMojo.java#L422 which only installs those dependencies which are part of the reactor the outcome of the same IT might differ depending on whether the module is build alone or in the reactor (even if the reactor has been installed before to the regular local repository with "mvn install").

To make the IT and install goal always behave the same just all dependencies should be installed to the local repo (no matter if part of the reactor or not).

  was:
Due to the logic in https://github.com/apache/maven-invoker-plugin/blob/166b7295632bce336837a2ab9b7231b0003a7f12/src/main/java/org/apache/maven/plugins/invoker/InstallMojo.java#L422 which only installs those dependencies which are part of the reactor the outcome of the same IT might differ depending on whether the module is build alone or in the reactor (even if the reactor has been before installed to the regular local repository with "mvn install").

To make the IT and install goal always behave the same just all dependencies should be installed to the local repo (no matter if part of the reactor or not).


> install goal: Always install dependencies (irrespective if they are part of the reactor)
> ----------------------------------------------------------------------------------------
>
>                 Key: MINVOKER-314
>                 URL: https://issues.apache.org/jira/browse/MINVOKER-314
>             Project: Maven Invoker Plugin
>          Issue Type: Improvement
>            Reporter: Konrad Windszus
>            Priority: Major
>
> Due to the logic in https://github.com/apache/maven-invoker-plugin/blob/166b7295632bce336837a2ab9b7231b0003a7f12/src/main/java/org/apache/maven/plugins/invoker/InstallMojo.java#L422 which only installs those dependencies which are part of the reactor the outcome of the same IT might differ depending on whether the module is build alone or in the reactor (even if the reactor has been installed before to the regular local repository with "mvn install").
> To make the IT and install goal always behave the same just all dependencies should be installed to the local repo (no matter if part of the reactor or not).



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