[
https://issues.apache.org/jira/browse/MNG-8414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905592#comment-17905592
]
Guillaume Nodet commented on MNG-8414:
--------------------------------------
Interesting observation: the consumer POM tries to downgrade the POM to 4.0.0,
but in this case, it's smart enough to know that the lowest model that can be
used is 4.1.0, based on the code generated in
{{org.apache.maven.model.v4.MavenModelVersion}}.
So the consumer POM is ... a 4.1.0 model.
I did not expected this behaviour, but at least, the result is not completely
wrong.
> The consumer pom should fail if using new features
> --------------------------------------------------
>
> Key: MNG-8414
> URL: https://issues.apache.org/jira/browse/MNG-8414
> Project: Maven
> Issue Type: Bug
> Reporter: Guillaume Nodet
> Priority: Major
> Fix For: 4.0.0-rc-2
>
>
> The new profile condition cannot be used in Maven 3, so any profile using
> that should somehow fail when building the consumer pom.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)