You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Niels Basjes (JIRA)" <ji...@apache.org> on 2014/12/19 21:45:13 UTC

[jira] [Updated] (AVRO-1624) Surefire forkMode is deprecated

     [ https://issues.apache.org/jira/browse/AVRO-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niels Basjes updated AVRO-1624:
-------------------------------
    Attachment: AVRO-1624-2014-12-19-v1.patch

{code}
$ find . -type f -print0 | xargs -0 fgrep -i forkMode
./lang/java/pom.xml:            <forkMode>always</forkMode>
./lang/java/pom.xml:              <forkMode>once</forkMode>
{code}

http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html
{quote}
|Old Setting	|New Setting|
|forkMode=once (default)|	forkCount=1 (default), reuseForks=true (default)|
|forkMode=always	|forkCount=1 (default), reuseForks=false|
{quote}


> Surefire forkMode is deprecated
> -------------------------------
>
>                 Key: AVRO-1624
>                 URL: https://issues.apache.org/jira/browse/AVRO-1624
>             Project: Avro
>          Issue Type: Bug
>          Components: java, trevni
>            Reporter: Niels Basjes
>         Attachments: AVRO-1624-2014-12-19-v1.patch
>
>
> During a java build I see this warning message several times:
> {code}
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ avro ---
> [WARNING] The parameter forkMode is deprecated since version 2.14. Use forkCount and reuseForks instead.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)