[
https://issues.apache.org/jira/browse/MNG-7162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17352733#comment-17352733
]
Mario Jauvin commented on MNG-7162:
-----------------------------------
The maven resolver 1.7.0 seemed to my uninitiated eyes the obvious choice. If
this is not the case, what did solve it and whatever that is, can it be
integrated into 3.6.3 (or 3.8.1) so that we can use this fix?
> Problem compiling, packaging or installing multimodule project with CI
> friendly
> -------------------------------------------------------------------------------
>
> Key: MNG-7162
> URL: https://issues.apache.org/jira/browse/MNG-7162
> Project: Maven
> Issue Type: Bug
> Components: core
> Affects Versions: 3.6.3
> Environment: Windows 10
> Reporter: Mario Jauvin
> Priority: Major
>
> When using CI friendly properties if I try to compile (or even run the verify
> phase) on a module that does not include all of the dependencies in the
> reactor build, maven will attempt to resolve the dependencies not in the
> reactor build and fail. If you take the branch ci-friendlies from project
> https://github.com/marioja/maven-ear-example and cd into module-ear and type
> {noformat}mvn verify{noformat} you will get this error:
> {noformat}
> [ERROR] Failed to execute goal on project module-ear: Could not resolve
> dependencies for project com.example:module-ear:ear:2.0.0-SNAPSHOT: Failed to
> collect dependencies at com.example:module-web:war:2.0.0-SNAPSHOT: Failed to
> read artifact descriptor for com.example:module-web:war:2.0.0-SNAPSHOT: Could
> not transfer artifact
> com.example:application:pom:${revision}.${sha1}${changelist} from/to
> company.repository-
> (http://company-maven.company.net:8081/repository/maven-public): Failed to
> transfer
> http://company-maven.company.net:8081/repository/maven-public/com/example/application/${revision}.${sha1}${changelist}/application-${revision}.${sha1}${changelist}.pom.
> Error code 400, Invalid repository path -> [Help 1]
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)