Skip to content

Instantly share code, notes, and snippets.

@gnodet
Created June 9, 2023 08:10
Show Gist options
  • Save gnodet/35a3ad4d449e586dc282c08eacc82ed0 to your computer and use it in GitHub Desktop.
Save gnodet/35a3ad4d449e586dc282c08eacc82ed0 to your computer and use it in GitHub Desktop.
➜ maven git:(MNG-7804-plugin-execution-order) mvn -V help:effective-pom -f maven-model-builder/src/test/resources/poms/inheritance/no-append-urls-parent.xml
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T18:29:23+01:00)
Maven home: /Users/gnodet/.sdkman/candidates/maven/3.2.5
Java version: 17.0.5, vendor: GraalVM Community
Java home: /Users/gnodet/.sdkman/candidates/java/22.3.r17-grl
Default locale: en_FR, platform encoding: UTF-8
OS name: "mac os x", version: "13.4", arch: "aarch64", family: "mac"
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project inheritance:parent:11-SNAPSHOT (/Users/gnodet/work/git/maven/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls-parent.xml) has 3 errors
[ERROR] Malformed POM /Users/gnodet/work/git/maven/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls-parent.xml: Unknown attribute 'child.project.url.inherit.append.path' for tag 'project' (position: START_TAG seen .../maven-4.0.0.xsd"\n child.project.url.inherit.append.path="false">... @24:49) @ /Users/gnodet/work/git/maven/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls-parent.xml, line 24, column 49 -> [Help 2]
[ERROR] Child module /Users/gnodet/work/git/maven/maven-model-builder/src/test/resources/poms/inheritance/../inheritance/pom.xml of /Users/gnodet/work/git/maven/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls-parent.xml does not exist
[ERROR] 'packaging' with value 'jar' is invalid. Aggregator projects require 'pom' as packaging. @ line 24, column 49
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment