Github user rmetzger commented on a diff in the pull request:

    https://github.com/apache/incubator-flink/pull/199#discussion_r20279295
  
    --- Diff: flink-examples/flink-scala-examples/pom.xml ---
    @@ -170,164 +170,283 @@ under the License.
                                </configuration>
                        </plugin>
                        
    +                   <!-- get default data from flink-java-examples package 
-->
    +                   <plugin>
    +                           <groupId>org.apache.maven.plugins</groupId>
    +                           <artifactId>maven-dependency-plugin</artifactId>
    +                           <version>2.9</version>
    +                           <executions>
    +                                           <execution>
    +                                                   <id>unpack</id>
    +                                                   
<phase>prepare-package</phase>
    +                                                   <goals>
    +                                                           
<goal>unpack</goal>
    +                                                   </goals>
    +                                                   <configuration>
    +                                                           <artifactItems>
    +                                                           <artifactItem>
    +                                                                           
<groupId>org.apache.flink</groupId>
    +                                                                           
<artifactId>flink-java-examples</artifactId>
    +                                                                           
<version>${project.version}</version>
    +                                                                           
<type>jar</type>
    +                                                                           
<overWrite>false</overWrite>
    +                                                                           
<outputDirectory>${project.build.directory}/classes</outputDirectory>
    +                                                                           
<includes>**/util/*Data*.class</includes>
    +                                                           </artifactItem>
    +                                                           </artifactItems>
    +                                                   </configuration>
    +                                           </execution>
    +                           </executions>
    +                           </plugin>
    +
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jar-plugin</artifactId>
                                <executions>
    -                                   <!-- These examples are currently not 
self-contained
    -
    +                                   
    +                                   <!-- KMeans -->
                                        <execution>
                                                <id>KMeans</id>
                                                <phase>package</phase>
                                                <goals>
                                                        <goal>jar</goal>
                                                </goals>
    -           
    +
                                                <configuration>
                                                        
<classifier>KMeans</classifier>
    +
                                                        <archive>
                                                                
<manifestEntries>
    -                                                                   
<program-class>org.apache.flink.examples.scala.datamining.KMeans</program-class>
    +                                                                   
<program-class>org.apache.flink.examples.scala.clustering.KMeans</program-class>
                                                                
</manifestEntries>
                                                        </archive>
    -           
    +
                                                        <includes>
    -                                                           
<include>**/datamining/KMeans*.class</include>
    +                                                           
<include>**/scala/clustering/KMeans.class</include>
    +                                                           
<include>**/scala/clustering/KMeans$*.class</include>
    +                                                           
<include>**/java/clustering/util/KMeansDataGenerator.class</include>
    +                                                           
<include>**/java/clustering/util/KMeansData.class</include>
                                                        </includes>
                                                </configuration>
                                        </execution>
    -           
    +
    +                                   <!-- Transitive Closure -->
                                        <execution>
    -                                           <id>ComputeEdgeDegrees</id>
    +                                           <id>TransitiveClosure</id>
                                                <phase>package</phase>
                                                <goals>
                                                        <goal>jar</goal>
                                                </goals>
    -           
                                                <configuration>
    -                                                   
<classifier>ComputeEdgeDegrees</classifier>
    -           
    +                                                   
<classifier>TransitiveClosure</classifier>
    +                           
                                                        <archive>
                                                                
<manifestEntries>
    -                                                                   
<program-class>org.apache.flink.examples.scala.graph.ComputeEdgeDegrees</program-class>
    +                                                                   
<program-class>org.apache.flink.examples.java.scala.TransitiveClosureNaive</program-class>
    --- End diff --
    
    `java.scala` is probably not right.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to