mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#1196 Use dedicated property name for the jacoco argument line and have an empty property in order to work with Netbeans
This commit is contained in:
parent
ca0721d931
commit
acdab55604
@ -35,6 +35,9 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<prism.directory>${project.build.directory}/generated-sources/prims</prism.directory>
|
<prism.directory>${project.build.directory}/generated-sources/prims</prism.directory>
|
||||||
|
<!-- Netbeans has a problem when we use late binding with @ in the surefire arg line.
|
||||||
|
Therefore we set this empty property here-->
|
||||||
|
<jacocoArgLine />
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@ -149,7 +152,9 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<!-- to get jacoco report we need to set argLine in surefire,
|
<!-- to get jacoco report we need to set argLine in surefire,
|
||||||
without this snippet the jacoco argLine is lost -->
|
without this snippet the jacoco argLine is lost -->
|
||||||
<argLine>@{argLine} -Xms1024m -Xmx3072m</argLine>
|
<!-- The property must be prefixed with @ and not $. The reason for this is the usage of late
|
||||||
|
binding of variables by other plugins (jacoco in this case)-->
|
||||||
|
<argLine>@{jacocoArgLine} -Xms1024m -Xmx3072m</argLine>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -308,6 +313,9 @@
|
|||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<propertyName>jacocoArgLine</propertyName>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user