Added headless to surefire execution.

This commit is contained in:
Harald Kuhr 2011-02-18 09:35:20 +01:00
parent f1a4a79003
commit c438036ee2

28
pom.xml
View File

@ -13,6 +13,7 @@
<module>common</module>
<module>servlet</module>
<module>imageio</module>
<!--<module>swing</module>-->
<module>sandbox</module>
</modules>
@ -62,17 +63,15 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<inherited>true</inherited>
<executions>
<execution>
@ -85,8 +84,10 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<inherited>true</inherited><!-- THIS DOES NOT WORK..?! -->
<inherited>true</inherited>
<!-- THIS DOES NOT WORK..?! -->
<executions>
<execution>
<phase>package</phase>
@ -99,6 +100,7 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<inherited>true</inherited>
<configuration>
@ -110,7 +112,22 @@
</compilerArguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<property>
<name>java.awt.headless</name>
<value>true</value>
</property>
</systemProperties>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-idea-plugin</artifactId>
<inherited>true</inherited>
<version>2.2</version>
@ -121,6 +138,7 @@
</configuration>
</plugin>
</plugins>
</pluginManagement>
<extensions>