Skip to content

Update java-http-client dependency to 3.0.0 #155

Closed

Description

@thinkingserious

Activity

  1. added
    type: community enhancement
    status: help wanted
    on Oct 7, 2016
  2. diegoc-am commented on Oct 7, 2016

    @diegoc-am
    Contributor

    I'll update this

  3. added
    status: work in progress
    and removed
    status: help wanted
    on Oct 10, 2016
  4. thinkingserious commented on Oct 12, 2016

    @thinkingserious
    ContributorAuthor

    @belfazt,

    Do you mind also updating to v4.0.0 so we only have to do one breaking change?

  5. diegoc-am commented on Oct 13, 2016

    @diegoc-am
    Contributor

    Sure, will do it within this week

  6. valokafor commented on Oct 14, 2016

    @valokafor

    @thinkingserious and @belfazt does this commit, mean we can now use the SendGrid Java client in Android?

  7. thinkingserious commented on Oct 14, 2016

    @thinkingserious
    ContributorAuthor

    @valokafor,

    I don't think so.

    Here is the issue related to Android: sendgrid/java-http-client#2

  8. ARaqeeb commented on Mar 28, 2017

    @ARaqeeb

    I am trying to use AWS which needs a min of 4.5.2 and send grid is using 4.0.0.
    How can we get around this problem? Kindly help

  9. thinkingserious commented on Mar 28, 2017

    @thinkingserious
    ContributorAuthor

    Hello @ARaqeeb,

    I'm not sure what version you are referring to. The Java HTTP Client is currently at version 4.1.0.

    Please advise.

    Thanks!

    With Best Regards,

    Elmer

  10. ARaqeeb commented on Mar 28, 2017

    @ARaqeeb

    hey @thinkingserious ... thank you for replying.
    This is my project's POM

    <dependency>
    			<groupId>org.apache.httpcomponents</groupId>
    			<artifactId>httpclient</artifactId>
    			<version>4.5.3</version>
    		</dependency>
    		<dependency>
    			<groupId>com.sendgrid</groupId>
    			<artifactId>sendgrid-java</artifactId>
    			<version>3.2.0</version>
    			<exclusions>
    				<exclusion>
    					<artifactId>jackson-core</artifactId>
    					<groupId>com.fasterxml.jackson.core</groupId>
    				</exclusion>
    				<exclusion>
    					<artifactId>jackson-databind</artifactId>
    					<groupId>com.fasterxml.jackson.core</groupId>
    				</exclusion>
    				<exclusion>
    					<artifactId>jackson-annotations</artifactId>
    					<groupId>com.fasterxml.jackson.core</groupId>
    				</exclusion>
    				<exclusion>
    					<artifactId>httpcore</artifactId>
    					<groupId>org.apache.httpcomponents</groupId>
    				</exclusion>
    				<exclusion>
    					<artifactId>java-http-client</artifactId>
    					<groupId>com.sendgrid</groupId>
    				</exclusion>
    			</exclusions>
    		</dependency>
    

    I'm using AWS which requires org.apache.httpcomponents httpclient 4.5.3 at a minimum.
    However, when I have the POM as above. Since I have excluded java-http-client-2.3.4, the project does not compile because the below imports are not available.

    import com.sendgrid.Method;
    import com.sendgrid.Request;
    import com.sendgrid.Response;
    
    

    Could you please help?

    screen shot 2017-03-28 at 12 37 26 pm

  11. SendGridDX commented on Mar 29, 2017

    @SendGridDX

    Hi @ARaqeeb,

    I believe this issue will be resolved when we merge this: #162

    I've added your vote to increase it's priority.

    With Best Regards,

    Elmer

  12. added a commit that references this issue on May 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: work in progresstype: community enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions