NIFI-2685 - Configure surefire to use JAVA Headless mode
Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/1d658248 Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/1d658248 Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/1d658248 Branch: refs/heads/support/nifi-0.7.x Commit: 1d6582486ac7cfcc586b5a519c7964af3df23efe Parents: 12c1b4d Author: Andre F de Miranda <[email protected]> Authored: Fri Aug 26 17:04:17 2016 +1000 Committer: Matt Burgess <[email protected]> Committed: Thu Oct 20 16:58:24 2016 -0400 ---------------------------------------------------------------------- pom.xml | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/1d658248/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 457cc94..3c07bc2 100644 --- a/pom.xml +++ b/pom.xml @@ -1301,6 +1301,9 @@ language governing permissions and limitations under the License. --> <artifactId>maven-surefire-plugin</artifactId> <version>2.18</version> <configuration> + <systemPropertyVariables> + <java.awt.headless>true</java.awt.headless> + </systemPropertyVariables> <redirectTestOutputToFile>true</redirectTestOutputToFile> <argLine combine.children="append">-Xmx2G -Djava.net.preferIPv4Stack=true</argLine> </configuration>
