[flink] adjust root pom.xml to Beam

Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/39f08fa7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/39f08fa7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/39f08fa7

Branch: refs/heads/master
Commit: 39f08fa7406a4f30ceed558aa58577f52df94975
Parents: 730f092
Author: Maximilian Michels <m...@apache.org>
Authored: Fri Mar 4 15:08:26 2016 +0100
Committer: Davor Bonaci <davorbon...@users.noreply.github.com>
Committed: Fri Mar 4 10:04:23 2016 -0800

----------------------------------------------------------------------
 runners/flink/pom.xml | 475 +++++++++++++++++++++++----------------------
 1 file changed, 243 insertions(+), 232 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/39f08fa7/runners/flink/pom.xml
----------------------------------------------------------------------
diff --git a/runners/flink/pom.xml b/runners/flink/pom.xml
index 6b12f2d..2110c2c 100644
--- a/runners/flink/pom.xml
+++ b/runners/flink/pom.xml
@@ -1,253 +1,264 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
 
-       Copyright 2015 Data Artisans GmbH
+      http://www.apache.org/licenses/LICENSE-2.0
 
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";
+        xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 
-        http://www.apache.org/licenses/LICENSE-2.0
+    <modelVersion>4.0.0</modelVersion>
 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
+    <parent>
+        <groupId>org.apache.beam</groupId>
+        <artifactId>runners</artifactId>
+        <version>1.5.0-SNAPSHOT</version>
+    </parent>
 
--->
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";
-                xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
-
-       <modelVersion>4.0.0</modelVersion>
-
-       <groupId>com.dataartisans</groupId>
-       <artifactId>flink-dataflow</artifactId>
-       <version>0.3-SNAPSHOT</version>
-
-       <name>Flink Beam Runner</name>
-       <packaging>jar</packaging>
-
-       <inceptionYear>2015</inceptionYear>
-
-       <licenses>
-               <license>
-                       <name>The Apache Software License, Version 2.0</name>
-                       
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-                       <distribution>repo</distribution>
-               </license>
-       </licenses>
-
-       <properties>
-               
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-               
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-               <flink.version>1.0-SNAPSHOT</flink.version>
-               <beam.version>1.5.0-SNAPSHOT</beam.version>
-               <!-- Default parameters for mvn exec:exec -->
-               
<clazz>com.dataartisans.flink.dataflow.examples.WordCount</clazz>
-               <input>kinglear.txt</input>
-               <output>wordcounts.txt</output>
-               <parallelism>1</parallelism>
-       </properties>
-
-       <repositories>
-               <repository>
-                       <id>apache.snapshots</id>
-                       <name>Apache Development Snapshot Repository</name>
-                       
<url>https://repository.apache.org/content/repositories/snapshots/</url>
-                       <releases>
-                               <enabled>false</enabled>
-                       </releases>
-                       <snapshots>
-                               <enabled>true</enabled>
-                       </snapshots>
-               </repository>
-       </repositories>
-
-       <dependencies>
-               <dependency>
-                       <groupId>org.apache.flink</groupId>
-                       <artifactId>flink-core</artifactId>
-                       <version>${flink.version}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.flink</groupId>
-                       <artifactId>flink-streaming-java_2.10</artifactId>
-                       <version>${flink.version}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.flink</groupId>
-                       <artifactId>flink-streaming-java_2.10</artifactId>
-                       <version>${flink.version}</version>
-                       <scope>test</scope>
-                       <type>test-jar</type>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.flink</groupId>
-                       <artifactId>flink-java</artifactId>
-                       <version>${flink.version}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.flink</groupId>
-                       <artifactId>flink-avro_2.10</artifactId>
-                       <version>${flink.version}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.flink</groupId>
-                       <artifactId>flink-clients_2.10</artifactId>
-                       <version>${flink.version}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.flink</groupId>
-                       <artifactId>flink-test-utils_2.10</artifactId>
-                       <version>${flink.version}</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.flink</groupId>
-                       <artifactId>flink-connector-kafka-0.8_2.10</artifactId>
-                       <version>${flink.version}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.flink</groupId>
-                       <artifactId>flink-avro</artifactId>
-                       <version>${flink.version}</version>
-               </dependency>
-               <dependency>
-                       <groupId>com.google.cloud.dataflow</groupId>
-                       
<artifactId>google-cloud-dataflow-java-sdk-all</artifactId>
-                       <version>${beam.version}</version>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>org.slf4j</groupId>
-                                       <artifactId>slf4j-jdk14</artifactId>
-                               </exclusion>
-                       </exclusions>
-               </dependency>
-               <dependency>
-                       <groupId>org.mockito</groupId>
-                       <artifactId>mockito-all</artifactId>
-                       <version>1.9.5</version>
-                       <scope>test</scope>
-               </dependency>
-       </dependencies>
-
-       <build>
-               <plugins>
-
-                       <!-- JAR Packaging -->
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-jar-plugin</artifactId>
-                               <version>2.6</version><!--$NO-MVN-MAN-VER$-->
-                               <configuration>
-                                       <archive>
-                                               <manifest>
-                                                       
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-                                                       
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-                                               </manifest>
-                                       </archive>
-                               </configuration>
-                       </plugin>
+    <artifactId>flink-runner</artifactId>
+    <version>0.3-SNAPSHOT</version>
 
-                       <!-- Java compiler -->
-                       <plugin>
+    <name>Flink Beam Runner</name>
+    <packaging>jar</packaging>
 
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-compiler-plugin</artifactId>
-                               <version>3.1</version><!--$NO-MVN-MAN-VER$-->
-                               <configuration>
-                                       <source>1.7</source>
-                                       <target>1.7</target>
-                               </configuration>
-                       </plugin>
-
-                       <!-- Integration Tests -->
-                       <plugin>
-                               <artifactId>maven-failsafe-plugin</artifactId>
-                               <version>2.17</version><!--$NO-MVN-MAN-VER$-->
-                               <executions>
-                                       <execution>
-                                               <goals>
-                                                       
<goal>integration-test</goal>
-                                                       <goal>verify</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
+    <inceptionYear>2015</inceptionYear>
+
+    <licenses>
+        <license>
+            <name>The Apache Software License, Version 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+        <flink.version>1.0-SNAPSHOT</flink.version>
+        <beam.version>1.5.0-SNAPSHOT</beam.version>
+        <!-- Default parameters for mvn exec:exec -->
+        <clazz>org.apache.beam.runners.flink.examples.WordCount</clazz>
+        <input>kinglear.txt</input>
+        <output>wordcounts.txt</output>
+        <parallelism>1</parallelism>
+    </properties>
+
+    <repositories>
+        <repository>
+            <id>apache.snapshots</id>
+            <name>Apache Development Snapshot Repository</name>
+            
<url>https://repository.apache.org/content/repositories/snapshots/</url>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+        </repository>
+    </repositories>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.flink</groupId>
+            <artifactId>flink-core</artifactId>
+            <version>${flink.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.flink</groupId>
+            <artifactId>flink-streaming-java_2.10</artifactId>
+            <version>${flink.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.flink</groupId>
+            <artifactId>flink-streaming-java_2.10</artifactId>
+            <version>${flink.version}</version>
+            <scope>test</scope>
+            <type>test-jar</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.flink</groupId>
+            <artifactId>flink-java</artifactId>
+            <version>${flink.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.flink</groupId>
+            <artifactId>flink-avro_2.10</artifactId>
+            <version>${flink.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.flink</groupId>
+            <artifactId>flink-clients_2.10</artifactId>
+            <version>${flink.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.flink</groupId>
+            <artifactId>flink-test-utils_2.10</artifactId>
+            <version>${flink.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.flink</groupId>
+            <artifactId>flink-connector-kafka-0.8_2.10</artifactId>
+            <version>${flink.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.flink</groupId>
+            <artifactId>flink-avro</artifactId>
+            <version>${flink.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.google.cloud.dataflow</groupId>
+            <artifactId>google-cloud-dataflow-java-sdk-all</artifactId>
+            <version>${beam.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.slf4j</groupId>
+                    <artifactId>slf4j-jdk14</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.mockito</groupId>
+            <artifactId>mockito-all</artifactId>
+            <version>1.9.5</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+
+            <!-- JAR Packaging -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <version>2.6</version><!--$NO-MVN-MAN-VER$-->
+                <configuration>
+                    <archive>
+                        <manifest>
+                            
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                            
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+                        </manifest>
+                    </archive>
+                </configuration>
+            </plugin>
+
+            <!-- Java compiler -->
+            <plugin>
+
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.1</version><!--$NO-MVN-MAN-VER$-->
+                <configuration>
+                    <source>1.7</source>
+                    <target>1.7</target>
+                </configuration>
+            </plugin>
+
+            <!-- Integration Tests -->
+            <plugin>
+                <artifactId>maven-failsafe-plugin</artifactId>
+                <version>2.17</version><!--$NO-MVN-MAN-VER$-->
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>integration-test</goal>
+                            <goal>verify</goal>
+                        </goals>
+                    </execution>
+                </executions>
                                <configuration>
                                        
<argLine>-Dlog4j.configuration=log4j-test.properties  
-XX:-UseGCOverheadLimit</argLine>
                                </configuration>
-                       </plugin>
+            </plugin>
 
-                       <!-- Unit Tests -->
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-surefire-plugin</artifactId>
-                               <version>2.17</version><!--$NO-MVN-MAN-VER$-->
+            <!-- Unit Tests -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>2.17</version><!--$NO-MVN-MAN-VER$-->
                                <configuration>
                                        
<argLine>-Dlog4j.configuration=log4j-test.properties  
-XX:-UseGCOverheadLimit</argLine>
                                </configuration>
-                       </plugin>
+            </plugin>
 
-                       <!-- Eclipse Integration -->
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-eclipse-plugin</artifactId>
-                               <version>2.8</version>
-                               <configuration>
-                                       <classpathContainers>
-                                               
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
-                                       </classpathContainers>
-                                       <downloadSources>true</downloadSources>
-                                       
<downloadJavadocs>true</downloadJavadocs>
-                               </configuration>
-                       </plugin>
-
-                       <!-- Maven minimum version check -->
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-enforcer-plugin</artifactId>
-                               <version>1.3.1</version><!--$NO-MVN-MAN-VER$-->
-                               <executions>
-                                       <execution>
-                                               <id>enforce-maven</id>
-                                               <goals>
-                                                       <goal>enforce</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <rules>
-                                                               
<requireJavaVersion>
-                                                                       
<version>[1.7,)</version>
-                                                               
</requireJavaVersion>
-                                                               
<requireMavenVersion>
-                                                                       <!-- 
enforce at least mvn version 3.0.3 -->
-                                                                       
<version>[3.0.3,)</version>
-                                                               
</requireMavenVersion>
-                                                       </rules>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
-
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>exec-maven-plugin</artifactId>
-                               <version>1.2.1</version>
-                               <configuration>
-                                       <executable>java</executable>
-                                       <arguments>
-                                               <argument>-classpath</argument>
-                                               <classpath/>
-                                               <argument>${clazz}</argument>
-                                               
<argument>--input=${input}</argument>
-                                               
<argument>--output=${output}</argument>
-                                               
<argument>--parallelism=${parallelism}</argument>
-                                       </arguments>
-                               </configuration>
-                       </plugin>
+            <!-- Eclipse Integration -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-eclipse-plugin</artifactId>
+                <version>2.8</version>
+                <configuration>
+                    <classpathContainers>
+                        
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
+                    </classpathContainers>
+                    <downloadSources>true</downloadSources>
+                    <downloadJavadocs>true</downloadJavadocs>
+                </configuration>
+            </plugin>
+
+            <!-- Maven minimum version check -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <version>1.3.1</version><!--$NO-MVN-MAN-VER$-->
+                <executions>
+                    <execution>
+                        <id>enforce-maven</id>
+                        <goals>
+                            <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                            <rules>
+                                <requireJavaVersion>
+                                    <version>[1.7,)</version>
+                                </requireJavaVersion>
+                                <requireMavenVersion>
+                                    <!-- enforce at least mvn version 3.0.3 -->
+                                    <version>[3.0.3,)</version>
+                                </requireMavenVersion>
+                            </rules>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>exec-maven-plugin</artifactId>
+                <version>1.2.1</version>
+                <executions>
+                    <execution>
+                        <phase>none</phase>
+                    </execution>
+                </executions>
+                <configuration>
+                    <executable>java</executable>
+                    <arguments>
+                        <argument>-classpath</argument>
+                        <classpath/>
+                        <argument>${clazz}</argument>
+                        <argument>--input=${input}</argument>
+                        <argument>--output=${output}</argument>
+                        <argument>--parallelism=${parallelism}</argument>
+                    </arguments>
+                </configuration>
+            </plugin>
 
-               </plugins>
+        </plugins>
 
-       </build>
+    </build>
 
 </project>

Reply via email to