Ready for review

Add warning w.r.t Maven version present on debian-based distributions' repos failing to build our source

Last modified by Nicoleta Ciaușu on 2026/09/15 12:09

All changes

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.VincentMassol
1 +xwiki:XWiki.NicoletaCiausu
Content
... ... @@ -30,6 +30,10 @@
30 30  {{info}}
31 31  For more information on how to install Maven or how to use it check this [[excellent Maven book>>https://www.sonatype.com/books/mvnref-book/reference/]].
32 32  {{/info}}
33 +
34 +{{warning}}
35 +On Debian-based distributions, the Maven version that is shipped on the repositories has been found to fail when building. We recommend you install Maven directly from the [[project's website>>https://maven.apache.org/]]. This was discovered on Ubuntu 26.04, but others may be affected.
36 +{{/warning}}
33 33  )))
34 34  * Make sure you give Maven's JVM enough memory. XWiki's build uses Aspects and GWT compilers which need lots of memory. A good value is to give the JVM 1024MB. To do that set an environment variable named ##MAVEN_OPTS##. For example on Unix add the following to your shell startup script (depending on your shell you might need to prefix the variable with ##export##):(((
35 35  {{code language="none"}}

Approvers

Approvers have not been explicitly defined for this Change Request. Approvers will be based entirely on approval rights.
This Change Request is ready for review.
No conflicts to show.
The change request cannot be published without valid approval or if at least one review request for changes.

Get Connected