Hi xwikiers,
The main point of the version.properties file (indicating the version of the product) is actually already covered (by XWIKI-21210) and deleting it usually does not have any visible consequence.
But there is one hack for which it’s still common to use it: adding some custom information in the footer to indicate what is the current instance you ended up on in the case of a cluster. This is actually quite a bad idea technically, because some features that rely on XWiki#getVersion() might get broken in that case (since it end up with a version that does not exist).
So I would like to propose two things:
- Display the cluster member id in the footer when clustering is enabled, so that we don’t need this hack anymore.
- And with that out of the way, I would like to finally propose to get rid of the
version.propertiesfile by default. I’m not planning on removing any code, so you could still use it to overwrite whatXWiki#getVersion()returns, but we would stop putting it in the standard WAR, considering that it’s useless information duplication 99% of the time.
WDYT ?
Here is my +1 for 1. and 2..