Mario Jauvin created MNG-7162:
---------------------------------

             Summary: 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


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)

Reply via email to