flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bortoli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1827) Move test classes in test folders and fix scope of test dependencies
Date Mon, 16 May 2016 09:54:12 GMT

    [ https://issues.apache.org/jira/browse/FLINK-1827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15284315#comment-15284315

Stefano Bortoli commented on FLINK-1827:

Hi Josh,

first of all, sorry for the troubles caused! FYI, we are discussing about merging the test-utils
classes into flink-tests component and remove it. 

I understand your points, and I am happy you could work around the dependencies configuration.
The main objective of this activity was to make the build of flink faster, skipping tests
(-Dmaven.test.skip=true). We to did it trying to follow maven best practices, but if you are
willing to contribute any changes, you are welcome to do it. 

> Move test classes in test folders and fix scope of test dependencies
> --------------------------------------------------------------------
>                 Key: FLINK-1827
>                 URL: https://issues.apache.org/jira/browse/FLINK-1827
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: 0.9
>            Reporter: Flavio Pompermaier
>            Priority: Minor
>              Labels: test-compile
>             Fix For: 1.1.0
>   Original Estimate: 4h
>  Remaining Estimate: 4h
> Right now it is not possible to avoid compilation of test classes (-Dmaven.test.skip=true)
because some project (e.g. flink-test-utils) requires test classes in non-test sources (e.g.
> Test classes should be moved to src/main/test (if Java) and src/test/scala (if scala)
and use scope=test for test dependencies

This message was sent by Atlassian JIRA

View raw message