Affected version
3.4.1
Bug description
archetype:create-from-project may trigger OOM / java heap space error when used with java 25, where the same setup with java 17 is fine. This is not a near-the-max-threshold issue. It may be needed to double Xmx (1500m -> 3000m) to get rid of the OOM.
Memory threshold to trigger the issue may vary between environment (for my use-case, CI triggers with Xmx1500m, and my desktop needed a limit as low as 700m to trigger the same issue).
Error is triggered during maven-archetype-plugin:jar goal.
From my investigation, it seems caused by this plexus-archiver issue codehaus-plexus/plexus-archiver#399. Affected versions are plexus-archiver 4.10.1-4.10.3.
It is fixed with codehaus-plexus/plexus-archiver#408 (4.10.4).
Others encounter the same problem : related issue on maven-archiver -> apache/maven-archiver#334
Affected version
3.4.1
Bug description
archetype:create-from-projectmay trigger OOM / java heap space error when used with java 25, where the same setup with java 17 is fine. This is not a near-the-max-threshold issue. It may be needed to double Xmx (1500m -> 3000m) to get rid of the OOM.Memory threshold to trigger the issue may vary between environment (for my use-case, CI triggers with Xmx1500m, and my desktop needed a limit as low as 700m to trigger the same issue).
Error is triggered during
maven-archetype-plugin:jargoal.From my investigation, it seems caused by this plexus-archiver issue codehaus-plexus/plexus-archiver#399. Affected versions are plexus-archiver 4.10.1-4.10.3.
It is fixed with codehaus-plexus/plexus-archiver#408 (4.10.4).
Others encounter the same problem : related issue on maven-archiver -> apache/maven-archiver#334