Re: Maven: Resolve Dependencies on Platform?


Jesse T. Alford
 

The cf CLI also respects a .cfignore file in the top level of your repo, if
there's stuff you'd like to explicitly exclude from push.

On Tue, Apr 19, 2016, 8:30 AM Daniel Mikusa <dmikusa(a)pivotal.io> wrote:

It's the cf cli that does this. It looks through your JAR / WAR or push
path for files and then uses the resource matching endpoint to ask the
server what it needs to upload. Then it uploads just those files. I
believe the algorithm works based on file hashes, someone else might be
able to add more detail if you need it.

Dan

On Tue, Apr 19, 2016 at 9:44 AM, Matthew Tyson <matthewcarltyson(a)gmail.com
wrote:
It does help -- thanks guys. I looks like Heroku has a buildpack that
does this also (https://github.com/heroku/heroku-buildpack-java).

The question I am coming up with is this: How does cloud foundry identify
what files to upload? I know the detect script determines what buildpack
to use, but what determines what all to upload?

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.