Re: Unable to run the batch examples after running stream examples
Posted by
subashbasnet on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Unable-to-run-the-batch-examples-after-running-stream-examples-tp5680p5687.html
Hello Chesnay Schepler,
I am running the latest flink examples from
here in eclipse.
I had used the WikipediaAnalysis pom properties/dependency in batch pom as shown below:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<flink.version>1.0.0</flink.version>
</properties>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java_2.10</artifactId>
<version>${flink.version}</version>
</dependency>
But the original pom of batch has dependency:
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java</artifactId>
<version>${project.version}</version>
</dependency>
Shouldn't both the above mean the same? I couldn't find the pom file where 'project.version' property was defined. Yeah it's working when I used the original pom of batch, but I am confused why the modified one is not working.
Best Regards,
Subash Basnet