Probably it is related to https://issues.apache.org/jira/browse/MJAR-227 
<https://issues.apache.org/jira/browse/MJAR-227> and 
https://github.com/codehaus-plexus/plexus-archiver/issues/5 
<https://github.com/codehaus-plexus/plexus-archiver/issues/5> which is only 
fixed with maven-jar-plugin 3.0.0.
Try if upgrading to 3.0.1 helps in your case.
Konrad

> On 17 Aug 2016, at 08:43, Stefan Seifert <[email protected]> wrote:
> 
> 
>> [INFO] Apache Sling Testing Sling Mock .................... FAILURE [
>> 54.843 s]
> ...
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-
>> plugin:3.0.0:test-jar (default) on project org.apache.sling.testing.sling-
>> mock: Error assembling JAR: Problem creating jar: Execution exception: Java
>> heap space -> [Help 1]
> 
> 
> hmm... this happens since i updated to sling parent pom 28 yesterday on this 
> project.
> 
> can anyone reproduce this heap space problem on building locally? (i cannot 
> currently)
> 
> is 512MB heap space not engough for the maven build?
> 
> stefan

Reply via email to