[ 
https://issues.apache.org/jira/browse/MNG-7720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17697527#comment-17697527
 ] 

ASF GitHub Bot commented on MNG-7720:
-------------------------------------

michael-o commented on PR #1039:
URL: https://github.com/apache/maven/pull/1039#issuecomment-1458489202

   > This IT fails: 
`testNoDeadlockAtVersionUpdate(org.apache.maven.it.MavenITmng7716BuildDeadlock) 
Time elapsed: 2.385 s <<< ERROR!` reason is:
   > 
   > ```
   > Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.15.0:set 
(default-cli) on project base: Execution default-cli of goal 
org.codehaus.mojo:versions-maven-plugin:2.15.0:set failed: Plugin 
org.codehaus.mojo:versions-maven-plugin:2.15.0 or one of its dependencies could 
not be resolved: The following artifacts could not be resolved: 
org.apache.commons:commons-text:jar:1.10.0, dom4j:dom4j:jar:1.6.1: Could not 
find artifact org.apache.commons:commons-text:jar:1.10.0 in central 
(file:target/null) -> [Help 1]
   > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
goal org.codehaus.mojo:versions-maven-plugin:2.15.0:set (default-cli) on 
project base: Execution default-cli of goal 
org.codehaus.mojo:versions-maven-plugin:2.15.0:set failed: Plugin 
org.codehaus.mojo:versions-maven-plugin:2.15.0 or one of its dependencies could 
not be resolved: The following artifacts could not be resolved: 
org.apache.commons:commons-text:jar:1.10.0, dom4j:dom4j:jar:1.6.1: Could not 
find artifact org.apache.commons:commons-text:jar:1.10.0 in central 
(file:target/null)
   > ```
   
   Bootstrap needs to be updated. I will handle that.




> [REGRESSION] Build order is incorrect and does not respect Reactor Build Order
> ------------------------------------------------------------------------------
>
>                 Key: MNG-7720
>                 URL: https://issues.apache.org/jira/browse/MNG-7720
>             Project: Maven
>          Issue Type: Bug
>          Components: Bootstrap &amp; Build
>    Affects Versions: 3.9.0
>            Reporter: Joe Littlejohn
>            Assignee: Tamas Cservenak
>            Priority: Blocker
>             Fix For: 4.0.0, 4.0.0-alpha-5, 3.8.8, 3.9.1
>
>
> I have a multi-module project. When using Maven 3.9.0, my project fails to 
> build. The problem appears to be that the Reactor Build Order is not 
> respected when the build actually runs.
> When the build runs, I see this output:
> {code:java}
> [INFO] Reactor Build Order:
> 15[INFO] 
> 16[INFO] jsonschema2pojo                                                    
> [pom]
> 17[INFO] jsonschema2pojo-core                                               
> [jar]
> 18[INFO] jsonschema2pojo-ant                                                
> [jar]
> 19[INFO] jsonschema2pojo-cli                                                
> [jar]
> 20[INFO] jsonschema2pojo-gradle-plugin                                      
> [jar]
> 21[INFO] jsonschema2pojo-maven-plugin                              
> [maven-plugin]
> 22[INFO] jsonschema2pojo-integration-tests                                  
> [jar] {code}
> However Maven first builds jsonschema2pojo, and next tries to build 
> jsonschema2pojo-ant instead of jsonschema2pojo-core. The build fails because 
> jsonschema2pojo-core is not found.
> There is a full log available here: 
> https://github.com/joelittlejohn/jsonschema2pojo/actions/runs/4332878826/jobs/7565796916
> Workaround: Downgrade to Maven 3.8.7 and the problem goes away.



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

Reply via email to