[ https://issues.apache.org/jira/browse/FLINK-9582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Rohrmann updated FLINK-9582: --------------------------------- Fix Version/s: (was: 1.6.1) > dist assemblies access jars outside of flink-dist > ------------------------------------------------- > > Key: FLINK-9582 > URL: https://issues.apache.org/jira/browse/FLINK-9582 > Project: Flink > Issue Type: Bug > Components: Build System > Affects Versions: 1.5.0, 1.6.0 > Reporter: Chesnay Schepler > Assignee: Chesnay Schepler > Priority: Major > Fix For: 1.7.0, 1.6.2 > > > The flink-dist assemblies access compiled jars outside of flink-dist, for > example like this: > {code:java} > <source>../flink-libraries/flink-cep/target/flink-cep_${scala.binary.version}-${project.version}.jar</source>{code} > As usual, accessing files outside of the module that you're building is a > terrible idea. > It's brittle as it relies on paths that aren't guaranteed to be stable, and > requires these modules to be built beforehand. There's also an inherent > potential for dependency conflicts when building flink-dist on it's own, as > maven may download certain snapshot artifacts, but the assemblies ignore > these and bundle jars present in Flink. > We can use the maven-dependency plugin to copy required dependencies into the > {{target}} directory of flink-dist, and point the assemblies to these jars. -- This message was sent by Atlassian JIRA (v7.6.3#76005)