Fix a build error

which occurred when -Pcoverage was not specified
This commit is contained in:
Trustin Lee 2014-02-08 09:12:56 -08:00
parent e592d06364
commit 50b862349c

View File

@ -87,6 +87,9 @@
</profile>
<profile>
<id>coverage</id>
<properties>
<test.jvm.argLine.coverage>${jacoco.argLine}</test.jvm.argLine.coverage>
</properties>
<build>
<plugins>
<plugin>
@ -99,6 +102,9 @@
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<propertyName>jacoco.argLine</propertyName>
</configuration>
</execution>
</executions>
</plugin>
@ -111,6 +117,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<jboss.marshalling.version>1.3.18.GA</jboss.marshalling.version>
<test.jvm.argLine.coverage></test.jvm.argLine.coverage> <!-- Set when 'coverage' profile is active -->
<test.jvm.argLine>
-server
-dsa -da -ea:io.netty...
@ -467,7 +474,7 @@
<exclude>**/TestUtil*</exclude>
</excludes>
<runOrder>random</runOrder>
<argLine>${argLine} ${test.jvm.argLine}</argLine>
<argLine>${test.jvm.argLine.coverage} ${test.jvm.argLine}</argLine>
</configuration>
</plugin>
<!-- always produce osgi bundles -->