Am 23.08.2016 um 15:53 schrieb Paul Benedict:
> I advise to not introduce any new POM version in the 3.x series. Please do
> that in Maven 4.0 where you can blue sky ideas and green field the
> development. Let the 3.x series be the place to shakeout compatibility
> concerns in gracefully handling the new POM version (like appropriate
> warnings and errors). If you do this correctly, you should be able to be
> forward compatible.

Maybe another example helps. Something everyone agreed upon decades ago.
Java platform versioning. We have jars in central targetting a wide
range of Java platforms. A mix of -target 1.2 to -target 1.8. Everyone
knows what happens when trying to load a Java 7 class with a Java 6
runtime environment. When incrementing the model version, we are just
setting the target Maven version to 3.4+. There is really nothing
uncommon about that. Just as you cannot load classes targetted at Java 7
with a Java 6 JRE, you cannot load POMs targetted at 4.3+ with <4.3.
That's all there is to it. We would need to do the same for Maven 4 as
well. Call it target model version 4.1.0 or 5.0.0 or just something not
4.0.0 and you get Maven behaving exactly like a JRE behaves when asked
to load a class targetted at a higher JRE (load a Java 7 class with a
Java 6 runtime). We are not doing anything uncommon by incrementing the
model version, in my opinion.

Regards,
-- 
Christian


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to