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

ASF GitHub Bot commented on FLINK-3569:
---------------------------------------

Github user mxm commented on the pull request:

    https://github.com/apache/flink/pull/1757#issuecomment-191842883
  
    Setting the Surefire working directory is not possible because the Shade 
plugin changes the basedir beforehand. We will have to change the test cases 
for now if we don't want to have a dependency reduced pom in the basedir.


> Test cases fail due to Maven Shade plugin
> -----------------------------------------
>
>                 Key: FLINK-3569
>                 URL: https://issues.apache.org/jira/browse/FLINK-3569
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.0.0
>            Reporter: Maximilian Michels
>            Assignee: Maximilian Michels
>             Fix For: 1.0.0, 1.1.0
>
>
> Tests like the {{ClassLoaderITCase}} use relative paths to find some jars. 
> The working directory (basedir) is changed by the Maven Shade plugin when it 
> has {{dependencyReducedPomLocation}} configured.
> Thus, we need to explicitly set the working directory (if possibly in the 
> plugin configuration) or prevent shading from execute.



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

Reply via email to