I have what seems to be simple questions yet it is confusing me.
How much impact on a PermGen memory can phase clean have?
I have a situation where I am configuring a maven build on TFS 2015. I have no control over build machine so I often have problem with PermGen Exception and I had to divide the this build into many smaller steps.
So I have a profile that builds fine after calling mvn install, but during mvn clean install it throws PermGen Exception.
I am a little bit confused here as I have never thought that phase clean would have impact on any JVM memory, as it just removes all the files that were generated during previous builds of those artifacts.
I will be glad for any deeper insight into mvn clean and how JVM and Maven handles cases of clean install and install separately.