Re: Questions about flink-streaming-examples

2015-02-26 Thread Márton Balassi
Thanks, changing it. On Thu, Feb 26, 2015 at 10:45 AM, Till Rohrmann wrote: > If the streaming-examples module uses the tag to add the > test-core dependency then we should change it into tag as > recommended by maven [1]. Otherwise it might come to build failures if the > install lifecycle is

Re: Questions about flink-streaming-examples

2015-02-26 Thread Till Rohrmann
If the streaming-examples module uses the tag to add the test-core dependency then we should change it into tag as recommended by maven [1]. Otherwise it might come to build failures if the install lifecycle is not executed. The dependency import should look like: org.apache.flink flink-st

Re: Questions about flink-streaming-examples

2015-02-26 Thread Robert Metzger
To update the local repository, you have to do execute the "install" goal. I can recommend to always do a "mvn clean install" On Thu, Feb 26, 2015 at 10:11 AM, Matthias J. Sax < mj...@informatik.hu-berlin.de> wrote: > Thanks for clarifying Marton! > > I was on the latest build already. However,

Re: Questions about flink-streaming-examples

2015-02-26 Thread Matthias J. Sax
Thanks for clarifying Marton! I was on the latest build already. However, my local maven repository contained old jars. After removing all flink-jars from my local maven repository it works! Why does maven no automatically update the local repository? -Matthias On 02/26/2015 09:20 AM, Márton

Re: Questions about flink-streaming-examples

2015-02-26 Thread Márton Balassi
Dear Mathias, Thanks for reporting the issue. I have successfully built flink-streaming-examples with maven, you can depend on test classes, the following in the pom does the trick: org.apache.flink flink-streaming-core ${project.version} test tests This tells maven that the test cla

Re: Questions about flink-streaming-examples

2015-02-26 Thread Matthias J. Sax
Hi, I just build "flink-streaming" and avoid the problem. I guess, that the issue is related to the module structure and dependencies. "flink-streaming-examples" uses org.apache.flink.streaming.util.StreamingProgramTestBase (that is defined in "flink-streaming-core/src/TEST" From my understanding

Re: Questions about flink-streaming-examples

2015-02-25 Thread Dulaj Viduranga
Hi, Were you able to solve this? It seams the examples depend on "flink-streaming-core”. I think you have to build it before. > On Feb 25, 2015, at 10:04 PM, Matthias J. Sax > wrote: > > Thanks! > > Even if I am not a building and/or maven expert, it seems to me that the > dependencies are no

Re: Questions about flink-streaming-examples

2015-02-25 Thread Matthias J. Sax
Thanks! Even if I am not a building and/or maven expert, it seems to me that the dependencies are not configures correctly... No clue how to fix it. But it might be a good idea to have a look into it IMHO. -Matthias On 02/25/2015 05:07 PM, Stephan Ewen wrote: > Hi Matthias! > > Can you try "mv

Re: Questions about flink-streaming-examples

2015-02-25 Thread Stephan Ewen
Hi Matthias! Can you try "mvn clean package"? It package is generally preferable to compile, in my opinion. There may be a dependency through a test jar that is not properly handled when you do not execute the package goal. Stephan Am 25.02.2015 16:54 schrieb "Max Michels" : > Hi Matthias, > >

Re: Questions about flink-streaming-examples

2015-02-25 Thread Dulaj Viduranga
Yes. Builds fine here too.. Seems like some linking errors.. > On Feb 25, 2015, at 9:24 PM, Max Michels wrote: > > Hi Matthias, > > Did you really pull from the latest master? I just tried to compile > flink-streaming-examples using "mvn clean compile test-compile" and it > worked. > > Best re

Re: Questions about flink-streaming-examples

2015-02-25 Thread Till Rohrmann
Try to do first a mvn install on flink-parent. On Wed, Feb 25, 2015 at 4:54 PM, Max Michels wrote: > Hi Matthias, > > Did you really pull from the latest master? I just tried to compile > flink-streaming-examples using "mvn clean compile test-compile" and it > worked. > > Best regards, > Max > >

Re: Questions about flink-streaming-examples

2015-02-25 Thread Max Michels
Hi Matthias, Did you really pull from the latest master? I just tried to compile flink-streaming-examples using "mvn clean compile test-compile" and it worked. Best regards, Max On Wed, Feb 25, 2015 at 4:13 PM, Matthias J. Sax wrote: > Hi, > > I tried to build flink-streaming-examples, but got

Questions about flink-streaming-examples

2015-02-25 Thread Matthias J. Sax
Hi, I tried to build flink-streaming-examples, but got an compilation error. If I build flink-streaming (that implicitly builds flink-streaming-examples), it works. I tried it on a fresh clone of flink/master using "mvn clean compile test-compile" Can anybody explain this behavior? -Matthias