You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by md...@apache.org on 2017/11/30 03:42:08 UTC

[1/2] usergrid git commit: Fix dependency conflict between two version of netty used by pushy and ES

Repository: usergrid
Updated Branches:
  refs/heads/3.0.0_experimental a9281016b -> ae14dc911


 Fix dependency conflict between two version of netty used by pushy and ES


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/298c70f4
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/298c70f4
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/298c70f4

Branch: refs/heads/3.0.0_experimental
Commit: 298c70f4489d858dafdb1afc4dbb9e52539f8b0e
Parents: a928101
Author: Peter Johnson <pj...@apigee.com>
Authored: Wed Nov 29 14:40:40 2017 -0800
Committer: Peter Johnson <pj...@apigee.com>
Committed: Wed Nov 29 14:40:40 2017 -0800

----------------------------------------------------------------------
 stack/pom.xml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/298c70f4/stack/pom.xml
----------------------------------------------------------------------
diff --git a/stack/pom.xml b/stack/pom.xml
index f93cd23..53e3732 100644
--- a/stack/pom.xml
+++ b/stack/pom.xml
@@ -1240,7 +1240,18 @@
                 <groupId>com.relayrides</groupId>
                 <artifactId>pushy</artifactId>
                 <!-- The sha in the version is the git commit used in this build.  Check out the pushy source, then this commit to build the library locally -->
-                <version>0.4</version>
+                <version>0.5.2</version>
+                <!-- pushy 0.5.2 uses netty 4.1.0.CR2 where as ES uses 4.1.13 we need to keep major version the same-->
+                <exclusions>
+                    <exclusion>
+                        <groupId>io.netty</groupId>
+                        <artifactId>*</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>org.slf4j</groupId>
+                        <artifactId>*</artifactId>
+                    </exclusion>
+                </exclusions>
             </dependency>
 
             <dependency>


[2/2] usergrid git commit: Remove dependency conflicts Upgrade jersey from 2.1 to 2.25.1 to avoid a fasterxml-jackson conflict Upgrade google.cloud.storage to avoid a netty conflict Upgrade antlr to 3.5.2 to have a one common version.

Posted by md...@apache.org.
Remove dependency conflicts
 Upgrade jersey from 2.1 to 2.25.1 to avoid a fasterxml-jackson conflict
 Upgrade google.cloud.storage to avoid a netty conflict
 Upgrade antlr to 3.5.2 to have a one common version.


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/ae14dc91
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/ae14dc91
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/ae14dc91

Branch: refs/heads/3.0.0_experimental
Commit: ae14dc911e8fa7e97cbba839e7700159d5b2be42
Parents: 298c70f
Author: Peter Johnson <pj...@apigee.com>
Authored: Wed Nov 29 17:44:34 2017 -0800
Committer: Peter Johnson <pj...@apigee.com>
Committed: Wed Nov 29 17:44:34 2017 -0800

----------------------------------------------------------------------
 stack/corepersistence/queue/pom.xml                   |  2 +-
 stack/pom.xml                                         |  4 ++--
 stack/rest/pom.xml                                    |  7 +++++++
 stack/services/pom.xml                                | 14 ++++++++++----
 .../services/assets/data/GoogleBinaryStore.java       |  2 +-
 5 files changed, 21 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/ae14dc91/stack/corepersistence/queue/pom.xml
----------------------------------------------------------------------
diff --git a/stack/corepersistence/queue/pom.xml b/stack/corepersistence/queue/pom.xml
index 005ce0c..3c8d5cd 100644
--- a/stack/corepersistence/queue/pom.xml
+++ b/stack/corepersistence/queue/pom.xml
@@ -37,7 +37,7 @@
         <maven.compiler.source>1.8</maven.compiler.source>
         <maven.compiler.target>1.8</maven.compiler.target>
         <servlet.version>3.0.1</servlet.version>
-        <jersey.version>2.21</jersey.version>
+        <jersey.version>2.25.1</jersey.version>
         <guice-bridge.version>2.4.0</guice-bridge.version>
     </properties>
 

http://git-wip-us.apache.org/repos/asf/usergrid/blob/ae14dc91/stack/pom.xml
----------------------------------------------------------------------
diff --git a/stack/pom.xml b/stack/pom.xml
index 53e3732..e5350d9 100644
--- a/stack/pom.xml
+++ b/stack/pom.xml
@@ -110,7 +110,7 @@
         <jackson-version>1.9.9</jackson-version>
         <jackson-2-version>2.8.6</jackson-2-version>
         <jclouds.version>1.9.0</jclouds.version>
-        <jersey-version>2.21</jersey-version>
+        <jersey-version>2.25.1</jersey-version>
         <junit-version>4.12</junit-version>
         <log4j-version>1.2.16</log4j-version>
         <org.springframework.version>3.2.13.RELEASE</org.springframework.version>
@@ -118,7 +118,7 @@
         <slf4j-version>1.7.2</slf4j-version>
         <snakeyaml-version>1.9</snakeyaml-version>
         <tomcat-version>7.0.64</tomcat-version>
-        <antlr.version>3.4</antlr.version>
+        <antlr.version>3.5.2</antlr.version>
         <tika.version>1.4</tika.version>
         <mockito.version>1.10.8</mockito.version>
         <io.apigee.gcm.version>1.0.1</io.apigee.gcm.version>

http://git-wip-us.apache.org/repos/asf/usergrid/blob/ae14dc91/stack/rest/pom.xml
----------------------------------------------------------------------
diff --git a/stack/rest/pom.xml b/stack/rest/pom.xml
index 400160b..52c601a 100644
--- a/stack/rest/pom.xml
+++ b/stack/rest/pom.xml
@@ -269,6 +269,13 @@
             <groupId>org.glassfish.jersey.media</groupId>
             <artifactId>jersey-media-json-jackson</artifactId>
             <version>${jersey-version}</version>
+            <!-- org.glassfish.jersey.media 2.25.1 uses jackson 2.8.4 -->
+            <exclusions>
+                <exclusion>
+                    <artifactId>*</artifactId>
+                    <groupId>com.fasterxml.jackson.jaxrs</groupId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <dependency>

http://git-wip-us.apache.org/repos/asf/usergrid/blob/ae14dc91/stack/services/pom.xml
----------------------------------------------------------------------
diff --git a/stack/services/pom.xml b/stack/services/pom.xml
index a60579b..13aeb4e 100644
--- a/stack/services/pom.xml
+++ b/stack/services/pom.xml
@@ -213,13 +213,19 @@
         <dependency>
             <groupId>org.glassfish.jersey.core</groupId>
             <artifactId>jersey-client</artifactId>
-            <version>2.21</version>
+            <version>2.25</version>
         </dependency>
 
         <dependency>
             <groupId>org.glassfish.jersey.media</groupId>
             <artifactId>jersey-media-json-jackson</artifactId>
-            <version>2.21</version>
+            <version>2.25</version>
+            <exclusions>
+                <exclusion>
+                    <artifactId>*</artifactId>
+                    <groupId>com.fasterxml.jackson.jaxrs</groupId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <!--<dependency>-->
@@ -269,7 +275,7 @@
         <dependency>
             <groupId>com.google.cloud</groupId>
             <artifactId>google-cloud-storage</artifactId>
-            <version>0.11.0-beta</version>
+            <version>1.12.0</version>
         </dependency>
 
         <dependency>
@@ -479,7 +485,7 @@
         <dependency>
             <groupId>org.glassfish.jersey.connectors</groupId>
             <artifactId>jersey-apache-connector</artifactId>
-            <version>2.21</version>
+            <version>2.25</version>
         </dependency>
 
     </dependencies>

http://git-wip-us.apache.org/repos/asf/usergrid/blob/ae14dc91/stack/services/src/main/java/org/apache/usergrid/services/assets/data/GoogleBinaryStore.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/services/assets/data/GoogleBinaryStore.java b/stack/services/src/main/java/org/apache/usergrid/services/assets/data/GoogleBinaryStore.java
index ae661f1..13c986a 100644
--- a/stack/services/src/main/java/org/apache/usergrid/services/assets/data/GoogleBinaryStore.java
+++ b/stack/services/src/main/java/org/apache/usergrid/services/assets/data/GoogleBinaryStore.java
@@ -19,9 +19,9 @@ package org.apache.usergrid.services.assets.data;
 
 import com.google.api.services.storage.StorageScopes;
 import com.google.auth.oauth2.GoogleCredentials;
-import com.google.cloud.HttpTransportOptions;
 import com.google.cloud.TransportOptions;
 import com.google.cloud.WriteChannel;
+import com.google.cloud.http.HttpTransportOptions;
 import com.google.cloud.storage.*;
 
 import org.apache.commons.io.FileUtils;