You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Daniel Jelinski (JIRA)" <ji...@apache.org> on 2016/07/25 08:48:20 UTC
[jira] [Created] (MASSEMBLY-825) High memory footprint when
jar-with-dependencies is used together with cxf-codegen-plugin
Daniel Jelinski created MASSEMBLY-825:
-----------------------------------------
Summary: High memory footprint when jar-with-dependencies is used together with cxf-codegen-plugin
Key: MASSEMBLY-825
URL: https://issues.apache.org/jira/browse/MASSEMBLY-825
Project: Maven Assembly Plugin
Issue Type: Bug
Affects Versions: 2.6, 2.5.5, 2.5.4
Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
Maven home: C:\projects\build\apache-maven-3.3.9\bin\..
Java version: 1.8.0_102, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_102\jre
Default locale: en_US, platform encoding: Cp1250
OS name: "windows server 2008 r2", version: "6.1", arch: "amd64", family: "dos"
Reporter: Daniel Jelinski
When assembly plugin is used together with cxf codegen plugin (http://cxf.apache.org/docs/maven-cxf-codegen-plugin-wsdl-to-java.html), it is using up massive amount of memory, leading to frequent OOM errors and long build times.
Assembly plugin should be isolated from interference from other plugins. If that is not possible, it should at least print a warning about possible problems.
Attached POM can be used to replicate the issue. When CXF plugin is commented out, the problem does not exist.
Workaround: use shade plugin.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)