The m2 cache is stored across builds on Heroku. So you need to destroy that cache if it was corrupted or needs to be rebuilt.
Unfortunately there probably isn't a great way to do this. You could contact support to see if they can help. Or you can fork/hack the buildpack to do this. Hope that helps. -James On Tue, 2012-10-02 at 08:23 -0700, 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/ > Retrieving > lein-standalone-repl/lein-standalone-repl/0.1.3/lein-standalone-repl-0.1.3.jar > (3k) > from 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/ > Retrieving commons-logging/commons-logging/maven-metadata.xml > (1k) > from http://s3pository.herokuapp.com/clojure/ > Retrieving > org/apache/httpcomponents/httpclient/maven-metadata.xml (1k) > from http://s3pository.herokuapp.com/clojure/ > Retrieving > org/apache/httpcomponents/httpclient/maven-metadata.xml (1k) > from http://s3pository.herokuapp.com/clojure/ > Retrieving > org/codehaus/jackson/jackson-core-asl/maven-metadata.xml (1k) > from http://s3pository.herokuapp.com/clojure/ > Retrieving > org/codehaus/jackson/jackson-core-asl/maven-metadata.xml (1k) > from http://s3pository.herokuapp.com/clojure/ > Retrieving > org/codehaus/jackson/jackson-mapper-asl/maven-metadata.xml (1k) > from http://s3pository.herokuapp.com/clojure/ > Retrieving > org/codehaus/jackson/jackson-mapper-asl/maven-metadata.xml (1k) > from 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 g...@heroku.com:mi-launcher.git > ! [remote rejected] master -> master (pre-receive hook declined) > error: failed to push some refs to 'g...@heroku.com: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 > heroku+unsubscr...@googlegroups.com > 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 heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en