Tamas Cservenak opened MNG-8009 and commented
Maven 3.9.6 and 4.0.0-alpha-11-SNAP (current master), Java 21.
After this commit: f1c53cb
Executing from top level command mvn spotless:apply does NOT work: plugin is not found!
If you checkout commit before that one, it works.
Diffing the debug output from two executions, the "good" one (before given commit) has this line:
Resolved plugin prefix spotless to com.diffplug.spotless:spotless-maven-plugin from POM org.apache.maven:maven-bom:pom:4.0.0-alpha-11-SNAPSHOT
Meaning, plugin is resolved from BOM??? And as given commit changes the BOM parent from maven-parent (that has spotless defined) to ASF parent (that does not have it), makes plugin not resolvable?
Despite root POM of Maven parent maven-parent defines it, and even top level POM redefines it?
Affects: 3.9.6, 4.0.0-alpha-10
Issue Links:
-
MNG-8003 Maven BOM should have a cleaner parent
("is caused by")
-
MNG-8191 [reactor build order] modules used in dependencyManagement-section with scope import should be ordered first
-
MNG-8012 Warn on BOM import within same reactor
Tamas Cservenak opened MNG-8009 and commented
Maven 3.9.6 and 4.0.0-alpha-11-SNAP (current master), Java 21.
After this commit: f1c53cb
Executing from top level command
mvn spotless:applydoes NOT work: plugin is not found!If you checkout commit before that one, it works.
Diffing the debug output from two executions, the "good" one (before given commit) has this line:
Meaning, plugin is resolved from BOM??? And as given commit changes the BOM parent from maven-parent (that has spotless defined) to ASF parent (that does not have it), makes plugin not resolvable?
Despite root POM of Maven parent maven-parent defines it, and even top level POM redefines it?
Affects: 3.9.6, 4.0.0-alpha-10
Issue Links:
MNG-8003 Maven BOM should have a cleaner parent
("is caused by")
MNG-8191 [reactor build order] modules used in dependencyManagement-section with scope import should be ordered first
MNG-8012 Warn on BOM import within same reactor