My direct dependency is on AWS and I'm using leiningen to manage maven
dependencies, so I did this to exclude Jackson:
[com.amazonaws/aws-java-sdk "1.3.10"
:exclusions [org.codehaus.jackson/jackson-core-asl
org.codehaus.jackson/jackson-mapper-asl]]
That may not help if you are using Maven directly.
Someone also mentioned that if it's an AWS dependency you can increase the
version number:
http://stackoverflow.com/questions/12651959/maven-build-error-no-versions-available-for-org-codehaus-jacksonjackson-core-as
There is also a ticket on Codehaus:
http://jira.codehaus.org/browse/JACKSON-871
-Mike
On Fri, Oct 5, 2012 at 8:31 AM, Jason Davidson <[email protected]>wrote:
> I'm also running into this issue with the Jackson transitive dependency in
> my application. I've submitted a ticket to Heroku support and submitted
> a question to Stack Overflow <http://stackoverflow.com/q/12739388/720805>.
>
>
> I'm new to maven and I am curious how you were able to work around this
> issue?
>
> Thanks!
>
> On Tuesday, October 2, 2012 9:23:15 AM UTC-6, Mike Bridge wrote:
>>
>> I've had a Clojure application running unmodified for a while, but this
>> morning it crashed. When I try to refresh it, tells me there are
>> dependency problems:
>>
>> $ git push heroku master
>> Counting objects: 5, done.
>> Compressing objects: 100% (3/3), done.
>> Writing objects: 100% (3/3), 292 bytes, done.
>> Total 3 (delta 2), reused 0 (delta 0)
>>
>> -----> Heroku receiving push
>> -----> Clojure (Leiningen 2) app detected
>> -----> Using cached Leiningen 2.0.0-preview10
>> Writing: lein script
>> -----> Building with Leiningen
>> Running: lein with-profile production compile :all
>> Retrieving lein-standalone-repl/lein-**standalone-repl/0.1.3/lein-
>> **standalone-repl-0.1.3.pom (2k)
>> from
>> http://s3pository.herokuapp.**com/clojure/<http://s3pository.herokuapp.com/clojure/>
>> Retrieving lein-standalone-repl/lein-**standalone-repl/0.1.3/lein-
>> **standalone-repl-0.1.3.jar (3k)
>> from
>> http://s3pository.herokuapp.**com/clojure/<http://s3pository.herokuapp.com/clojure/>
>> Performing task 'compile' with profile(s): 'production'
>> Retrieving commons-logging/commons-**logging/maven-metadata.xml
>> (1k)
>> from
>> http://s3pository.herokuapp.**com/clojure/<http://s3pository.herokuapp.com/clojure/>
>> Retrieving commons-logging/commons-**logging/maven-metadata.xml
>> (1k)
>> from
>> http://s3pository.herokuapp.**com/clojure/<http://s3pository.herokuapp.com/clojure/>
>> Retrieving org/apache/httpcomponents/**httpclient/maven-metadata.xml
>> (1k)
>> from
>> http://s3pository.herokuapp.**com/clojure/<http://s3pository.herokuapp.com/clojure/>
>> Retrieving org/apache/httpcomponents/**httpclient/maven-metadata.xml
>> (1k)
>> from
>> http://s3pository.herokuapp.**com/clojure/<http://s3pository.herokuapp.com/clojure/>
>> Retrieving org/codehaus/jackson/jackson-**core-asl/maven-metadata.xml
>> (1k)
>> from
>> http://s3pository.herokuapp.**com/clojure/<http://s3pository.herokuapp.com/clojure/>
>> Retrieving org/codehaus/jackson/jackson-**core-asl/maven-metadata.xml
>> (1k)
>> from
>> http://s3pository.herokuapp.**com/clojure/<http://s3pository.herokuapp.com/clojure/>
>> Retrieving
>> org/codehaus/jackson/jackson-**mapper-asl/maven-metadata.xml
>> (1k)
>> from
>> http://s3pository.herokuapp.**com/clojure/<http://s3pository.herokuapp.com/clojure/>
>> Retrieving
>> org/codehaus/jackson/jackson-**mapper-asl/maven-metadata.xml
>> (1k)
>> from
>> http://s3pository.herokuapp.**com/clojure/<http://s3pository.herokuapp.com/clojure/>
>> Check :dependencies and :repositories for typos.
>> It's possible the specified jar is not in any repository.
>> If so, see "Free-floating Jars" under http://j.mp/repeatability
>> Compilation failed: Could not resolve dependencies
>> Error encountered performing task 'compile' with profile(s):
>> 'production'
>> ! Failed to build.
>> ! Heroku push rejected, failed to compile Clojure (leiningen 2) app
>>
>> To [email protected]:mi-launcher.git
>> ! [remote rejected] master -> master (pre-receive hook declined)
>> error: failed to push some refs to '[email protected]:my-app-name.**git'
>> ==============================**========
>>
>> I cleaned out my local .m2/repository and refreshed the dependencies ok
>> when I build locally---any idea why this is not working on Heroku?
>>
>> Thanks,
>>
>> -Mike
>>
>> --
> You received this message because you are subscribed to the Google
> Groups "Heroku" group.
>
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en_US?hl=en
>
--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en