Skip to content

Commit

Permalink
Merge bfd16b4 into 6573e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
jbonofre committed Jun 28, 2017
2 parents 6573e2e + bfd16b4 commit 0a56c15
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
1 change: 0 additions & 1 deletion pom.xml
Expand Up @@ -571,7 +571,6 @@
<artifactId>commons-lang3</artifactId>
<version>${apache.commons.lang.version}</version>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
Expand Down
1 change: 1 addition & 0 deletions runners/spark/pom.xml
Expand Up @@ -221,6 +221,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
Expand Down
7 changes: 7 additions & 0 deletions sdks/java/core/pom.xml
Expand Up @@ -270,6 +270,13 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<!-- Define commons-text dependency to include in the shaded jar -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>

<dependency>
<groupId>joda-time</groupId>
Expand Down
2 changes: 1 addition & 1 deletion sdks/java/io/google-cloud-platform/pom.xml
Expand Up @@ -258,13 +258,13 @@
<artifactId>proto-google-common-protos</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<scope>provided</scope>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
Expand Down
Expand Up @@ -149,7 +149,9 @@ public void testWrite() throws Exception {

@After
public void tearDown() throws Exception {
databaseAdminClient.dropDatabase(options.getInstanceId(), databaseName);
if (databaseAdminClient != null) {
databaseAdminClient.dropDatabase(options.getInstanceId(), databaseName);
}
spanner.close();
}

Expand Down

0 comments on commit 0a56c15

Please sign in to comment.