flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxm <...@git.apache.org>
Subject [GitHub] flink pull request #2836: [FLINK-5092] Add maven profile with code coverage ...
Date Tue, 22 Nov 2016 14:54:01 GMT
Github user mxm commented on a diff in the pull request:

    --- Diff: pom.xml ---
    @@ -955,9 +996,10 @@ under the License.
    +						<mvn.forkNumber>0${surefire.forkNumber}</mvn.forkNumber>
    -					<argLine>-Xms256m -Xmx800m -Dmvn.forkNumber=${surefire.forkNumber} -XX:-UseGCOverheadLimit</argLine>
    +					<!-- Do not define argLine here. See http://www.eclemma.org/jacoco/trunk/doc/prepare-agent-mojo.html
    --- End diff --
    That's bound to cause problems because a lot of code assumes these arguments here. We
shouldn't touch them and instead do as the documentation you linked suggested:
    One of the ways to do this in case of maven-surefire-plugin - is to use syntax for late
property evaluation:
    <argLine>@{argLine} -Xms256m -Xmx800m -Dmvn.forkNumber=${surefire.forkNumber} -XX:-UseGCOverheadLimit</argLine>

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message