In case of merging we would have to add a `scala` tag to some of the examples because some of the examples exist in both packages. The drawback of merging both examples modules is that we'll have another mixed Java/Scala project. This might be bothering for the eclipse folks, but we already have that. It might make sense to keep the examples separated if they use different dependencies. Other than that, I think both of your proposals are fine.
Slightly off-topic: What we could also do is to move the shared components (e.g. the testing data) to a distinct module (flink-examples/example-data). But since the generated scala job jars only contain the java data classes this won't change much at all. On Fri, Aug 14, 2015 at 10:52 AM, Stephan Ewen <se...@apache.org> wrote: > +1 for proposal (2) > > On Fri, Aug 14, 2015 at 10:28 AM, Fabian Hueske <fhue...@gmail.com> wrote: > > > Hi Liang Chen, > > > > thanks for starting this discussion. > > > > I have no strong preference for one of your proposals. Both are fine with > > me. > > > > What would proposal 2 mean if we add examples for other API languages, > for > > example if the Python API moves out of staging? > > I guess it shouldn't be a problem, because all examples are > self-contained. > > Any other thoughts on this? > > > > Best, Fabian > > > > 2015-08-14 0:32 GMT+02:00 Liang Chen <chenliang...@huawei.com>: > > > > > Summary:Simplify names of example program JARs > > > Key:FLINK-2493, URL:https://issues.apache.org/jira/browse/FLINK-2493 > > > Issue Type: Improvement > > > Components:Examples > > > > > > Propose to simplify the name to "examples/ConnectedComponents.jar" > rather > > > than examples/flink-java-examples-0.10-SNAPSHOT-ConnectedComponents.jar > > > > > > Two proposals, wants to discuss: > > > Proposal 1: > > > Change the pom of "flink-java-examples", use executed-example name as > > > "finalName" to replace "default > > finalName(artifactId+version)+classifier". > > > keep two projects(flink-java-examples,flink-scala-examples) under > > > "flink-examples". > > > > > > Proposal 2:Combine "flink-java-examples" and "flink-scala-examples" > > project > > > to one project with "flink-examples", because the Scala example mostly > > need > > > import Java example' util/*data*.class, work together. > > > this would be no any impaction for examples. > > > > > > please give your ideas, any input would be very appreciated. > > > > > > > > > > > > -- > > > View this message in context: > > > > > > http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/jira-FLINK-2493-Simplify-names-of-example-program-JARs-tp7495.html > > > Sent from the Apache Flink Mailing List archive. mailing list archive > at > > > Nabble.com. > > > > > >