Hi,

recently the <version> property of our pom.xml Files was moved to

<properties>
  <revision>1.0.0-SNAPSHOT</revision>
</properties>

Together with the flatten-maven-plugin everything works as expected.

Now, someone moved it from there to ".mvn/maven.config" File:
-Drevision=1.0.0-SNAPSHOT

This was argumented with issues in some IDE´s regarding the right version 
resolution otherwise. Having the version outside, it´s read before any pom.xml 
is parsed.

Is this intended in Maven, to move the <version> via $revision down to the 
.mvn/maven.config file ?

I would be interested in your thoughts regarding this approach - and "best 
practice" of version handling options.

Thx, Torsten

INTERNER ​GEBRAUCH

INTERNER ​GEBRAUCH


[Firmenname Logo]

AOK Systems GmbH | Kortrijker Straße 1 | 53177 Bonn | Handelsregister Bonn HRB 
17142
Geschäftsführung: Georg Büttner (Sprecher), Jonas Hinz
Vorsitzende des Aufsichtsrates: Dr. Carola Reimann

Reply via email to