Skip to content

Commit

Permalink
Repair guava dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanEwen committed Oct 1, 2014
1 parent 425e8a4 commit 1c2ce3a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 7 deletions.
8 changes: 8 additions & 0 deletions flink-addons/flink-streaming/flink-streaming-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ under the License.
<artifactId>flink-streaming-connectors</artifactId>
<version>${project.version}</version>
</dependency>

<!-- guava needs to be in "provided" scope, so to not re-export the dependency -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>provided</scope>
</dependency>

</dependencies>

Expand Down
8 changes: 8 additions & 0 deletions flink-examples/flink-java-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ under the License.
<artifactId>flink-java</artifactId>
<version>${project.version}</version>
</dependency>

<!-- guava needs to be in "provided" scope, so to not re-export the dependency -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>


Expand Down
9 changes: 9 additions & 0 deletions flink-examples/flink-scala-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,20 @@ under the License.
<artifactId>flink-scala</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java-examples</artifactId>
<version>${project.version}</version>
</dependency>

<!-- guava needs to be in "provided" scope, so to not re-export the dependency -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
Expand Down
7 changes: 0 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,6 @@ under the License.
<type>jar</type>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

<!-- this section defines the module versions that are used if nothing else is specified. -->
Expand Down

0 comments on commit 1c2ce3a

Please sign in to comment.