[jira] [Created] (FLINK-21335) READEME should use "mvn install" instead of "mvn package" to compile Flink

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-21335) READEME should use "mvn install" instead of "mvn package" to compile Flink

Shang Yuanchun (Jira)
Dong Lin created FLINK-21335:
--------------------------------

             Summary: READEME should use "mvn install" instead of "mvn package" to compile Flink
                 Key: FLINK-21335
                 URL: https://issues.apache.org/jira/browse/FLINK-21335
             Project: Flink
          Issue Type: Improvement
            Reporter: Dong Lin


Currently README suggests users to use "mvn package" to build Flink. As a result, the compiled package will not be put in mvn local repository, and "mvn test" will download/use snapshots from remote repository instead of testing local code change.

This is a bit unintuitive since developers (including those who are not so familiar with maven's mechanism) in general expect "mvn test" to test local code changes.

So it seems better to update README to use "mvn install" instead of "mvn package". There is no downside of this change to my best knowledge.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)