Maven 3.6.0 was released today. It
adds the ability to add a child.inherit.append.path
attribute
to various places within a POM file to turn off Maven's automatic
appending of child module names to various paths. This has been a
long-standing complaint with Maven as it had essentially baked-in
SVN path semantics to the model in
a way that couldn't be turned off or worked around sanely.
Unfortunately, the Maven Central rules can't accept POM files that contain the new attributes:
[ERROR] Rule failure while trying to close staging repository with ID "comio7m-1402". [ERROR] [ERROR] Nexus Staging Rules Failure Report [ERROR] ================================== [ERROR] [ERROR] Repository "comio7m-1402" failures [ERROR] Rule "sources-staging" failures [ERROR] * Illegal POM: /com/io7m/primogenitor/com.io7m.primogenitor/3.0.0-beta0018/com.io7m.primogenitor-3.0.0-beta0018.pom Unknown attribute 'child.inherit.append.path' for tag 'project' (position: START_TAG seen ...ache.org/xsd/maven-4.0.0.xsd\n child.inherit.append.path=false>... @6:37) [ERROR] Rule "javadoc-staging" failures [ERROR] * Illegal POM: /com/io7m/primogenitor/com.io7m.primogenitor/3.0.0-beta0018/com.io7m.primogenitor-3.0.0-beta0018.pom Unknown attribute 'child.inherit.append.path' for tag 'project' (position: START_TAG seen ...ache.org/xsd/maven-4.0.0.xsd\n child.inherit.append.path=false>... @6:37) [ERROR] Rule "pom-staging" failures [ERROR] * Invalid POM: /com/io7m/primogenitor/com.io7m.primogenitor/3.0.0-beta0018/com.io7m.primogenitor-3.0.0-beta0018.pom: Parsing Error: Unknown attribute 'child.inherit.append.path' for tag 'project' (position: START_TAG seen ...ache.org/xsd/maven-4.0.0.xsd\n child.inherit.append.path=false>... @6:37) [ERROR] [ERROR] [ERROR] Cleaning up local stage directory after a Rule failure during close of staging repositories: [comio7m-1402] [ERROR] * Deleting context 2a74942ea74dc7.properties [ERROR] Cleaning up remote stage repositories after a Rule failure during close of staging repositories: [comio7m-1402] [ERROR] * Dropping failed staging repository with ID "comio7m-1402" (Rule failure during close of staging repositories: [comio7m-1402]).
I've filed a bug.