Files
java-devops-demo/maven4-build-vs-consumer-pom/output/05-maven3-reads-build-pom.txt
T

19 lines
1.6 KiB
Plaintext

$ mvn package (Maven 3.9.16, same reactor)
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Malformed POM <module>/reactor/pom.xml: Unknown attribute 'root' for tag 'project' (position: START_TAG seen ...->\n<project xmlns="http://maven.apache.org/POM/4.1.0" root="true">... @3:64) @ <module>/reactor/pom.xml, line 3, column 64
[FATAL] 'modelVersion' of '4.1.0' is newer than the versions supported by this version of Maven: [4.0.0]. Building this project requires a newer version of Maven. @ line 4, column 17
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.ankurm.m4:m4-demo:${revision} (<module>/reactor/pom.xml) has 2 errors
[ERROR] Malformed POM <module>/reactor/pom.xml: Unknown attribute 'root' for tag 'project' (position: START_TAG seen ...->\n<project xmlns="http://maven.apache.org/POM/4.1.0" root="true">... @3:64) @ <module>/reactor/pom.xml, line 3, column 64 -> [Help 2]
[ERROR] 'modelVersion' of '4.1.0' is newer than the versions supported by this version of Maven: [4.0.0]. Building this project requires a newer version of Maven. @ line 4, column 17
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException