# Get rid of the version.properties file by default

**URL:** <https://forum.xwiki.org/t/get-rid-of-the-version-properties-file-by-default/18107>\
**Category:** Development\
**Tags:** proposal\
**Created:** [January 14, 2026, 2:43pm UTC](https://forum.xwiki.org/t/get-rid-of-the-version-properties-file-by-default/18107 "2026-01-14T14:43:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [January 14, 2026, 2:43pm UTC](https://forum.xwiki.org/t/get-rid-of-the-version-properties-file-by-default/18107/1 "2026-01-14T14:43:50Z")

</div>

Hi xwikiers,

The main point of the version.properties file (indicating the version of the product) is actually already covered (by [XWIKI-21210](https://jira.xwiki.org/browse/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:

1. Display the cluster member id in the footer when clustering is enabled, so that we don’t need this hack anymore.
2. And with that out of the way, I would like to finally propose to get rid of the `version.properties` file by default. I’m not planning on removing any code, so you could still use it to overwrite what `XWiki#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.`.

---

<div class="post-metadata">

**Author:** ![surli](https://forum.xwiki.org/user_avatar/forum.xwiki.org/surli/32/2687_2.png) [@surli](https://forum.xwiki.org/u/surli)\
**Post date:** [January 14, 2026, 3:52pm UTC](https://forum.xwiki.org/t/get-rid-of-the-version-properties-file-by-default/18107/2 "2026-01-14T15:52:50Z")

</div>

+1 for 1 and 2.

I’d say that we could also display the cluster member id in the REST API, like we display the xwiki version.

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [January 14, 2026, 4:04pm UTC](https://forum.xwiki.org/t/get-rid-of-the-version-properties-file-by-default/18107/3 "2026-01-14T16:04:13Z")

</div>

> [@tmortagne](#):
>
> Display the cluster member id in the footer when clustering is enabled, so that we don’t need this hack anymore.

Do you mean unless an Admin defines the content of the footer in the Admin UI, right? If so, +1. Otherwise -1 since Admins may not want to display this technical information all the time.

> [@tmortagne](#):
>
> but we would stop putting it in the standard WAR,

+1. It could have been used to know the version of XWiki on the filesystem but that can be found by checking other files (WEB-INF/lib jar names or other files).

Thx

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [January 14, 2026, 4:17pm UTC](https://forum.xwiki.org/t/get-rid-of-the-version-properties-file-by-default/18107/4 "2026-01-14T16:17:03Z")

</div>

> [@vmassol](#):
>
> Do you mean unless an Admin defines the content of the footer in the Admin UI, right?

I’m of course talking about the default footer content, [next to the product name and the version](https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/footer.vm#L37). If the admin customize it that’s another story.

> [@vmassol](#):
>
> that can be found by checking other files

Yes, there are much more accurate ways to know the product or base XWiki versions (`XWiki#getVersion()` itself is really not something I would recommend to use in general).

---

<div class="post-metadata">

**Author:** ![mleduc](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mleduc/32/2328_2.png) [@mleduc](https://forum.xwiki.org/u/mleduc)\
**Post date:** [January 15, 2026, 8:24am UTC](https://forum.xwiki.org/t/get-rid-of-the-version-properties-file-by-default/18107/5 "2026-01-15T08:24:50Z")

</div>

+1 of 1 and 2, thanks

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [March 18, 2026, 3:07pm UTC](https://forum.xwiki.org/t/get-rid-of-the-version-properties-file-by-default/18107/6 "2026-03-18T15:07:35Z")

</div>

4 +1 for `1.` and `2.` I created [XWIKI-24133](https://jira.xwiki.org/browse/XWIKI-24133) and [XWIKI-24132](https://jira.xwiki.org/browse/XWIKI-24132).
