Fork me on GitHub

Frequently Asked Questions

  1. Is there an easy way to generate the aggregate report ?
  2. How do I avoid OutOfMemory errors?
Is there an easy way to generate the aggregate report ?

Unfortunately Maven's internal support for report aggregation is rather poor and does have a number of limitations.

This may be addressed in the future by a module like dashboard to get an aggregate report.

[top]


How do I avoid OutOfMemory errors?

When running spotbugs on a project, the default heap size might not be enough to complete the build. For now there is no way to fork spotbugs and run with its own memory requirements, but the following system variable will allow you to do so for Maven:

export MAVEN_OPTS=-Xmx384M

You can also use the fork option which will for a new JVM. You then use the maxHeap option to control the heap size.

[top]