Results 1 to 2 of 2

Thread: Creating distributable jar with dependency on Spring Android

  1. #1
    Join Date
    Aug 2004
    Location
    Allentown, PA
    Posts
    141

    Default Creating distributable jar with dependency on Spring Android

    I am writing an android application. I have come to realize there is an opportunity to produce a jar file that could be distributed (maven, etc.) for others to use. I am using Spring Android for RestTemplate. I find that I can't just create a maven project that pulls in just the spring android dependency, jackson dependency, etc.

    This library does not need to be specific to android. Any thoughts on how best to package this?

  2. #2
    Join Date
    Nov 2010
    Posts
    174

    Default

    spring-android-rest-template only requires that spring-android-core be present too. The other dependencies are optional. However, you will lose the JSON message converter functionality if Jackson is not present.
    Roy Clarkson
    Spring Mobile Projects Lead

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •