{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/608","repository_url":"https://api.github.com/repos/cloudfoundry/java-buildpack","labels_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/608/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/608/comments","events_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/608/events","html_url":"https://github.com/cloudfoundry/java-buildpack/issues/608","id":340593421,"node_id":"MDU6SXNzdWUzNDA1OTM0MjE=","number":608,"title":"Cannot push additional configs","user":{"login":"artursmolarek","id":895822,"node_id":"MDQ6VXNlcjg5NTgyMg==","avatar_url":"https://avatars0.githubusercontent.com/u/895822?v=4","gravatar_id":"","url":"https://api.github.com/users/artursmolarek","html_url":"https://github.com/artursmolarek","followers_url":"https://api.github.com/users/artursmolarek/followers","following_url":"https://api.github.com/users/artursmolarek/following{/other_user}","gists_url":"https://api.github.com/users/artursmolarek/gists{/gist_id}","starred_url":"https://api.github.com/users/artursmolarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artursmolarek/subscriptions","organizations_url":"https://api.github.com/users/artursmolarek/orgs","repos_url":"https://api.github.com/users/artursmolarek/repos","events_url":"https://api.github.com/users/artursmolarek/events{/privacy}","received_events_url":"https://api.github.com/users/artursmolarek/received_events","type":"User","site_admin":false},"labels":[{"id":38692579,"node_id":"MDU6TGFiZWwzODY5MjU3OQ==","url":"https://api.github.com/repos/cloudfoundry/java-buildpack/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"nebhale","id":60754,"node_id":"MDQ6VXNlcjYwNzU0","avatar_url":"https://avatars1.githubusercontent.com/u/60754?v=4","gravatar_id":"","url":"https://api.github.com/users/nebhale","html_url":"https://github.com/nebhale","followers_url":"https://api.github.com/users/nebhale/followers","following_url":"https://api.github.com/users/nebhale/following{/other_user}","gists_url":"https://api.github.com/users/nebhale/gists{/gist_id}","starred_url":"https://api.github.com/users/nebhale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nebhale/subscriptions","organizations_url":"https://api.github.com/users/nebhale/orgs","repos_url":"https://api.github.com/users/nebhale/repos","events_url":"https://api.github.com/users/nebhale/events{/privacy}","received_events_url":"https://api.github.com/users/nebhale/received_events","type":"User","site_admin":false},"assignees":[{"login":"nebhale","id":60754,"node_id":"MDQ6VXNlcjYwNzU0","avatar_url":"https://avatars1.githubusercontent.com/u/60754?v=4","gravatar_id":"","url":"https://api.github.com/users/nebhale","html_url":"https://github.com/nebhale","followers_url":"https://api.github.com/users/nebhale/followers","following_url":"https://api.github.com/users/nebhale/following{/other_user}","gists_url":"https://api.github.com/users/nebhale/gists{/gist_id}","starred_url":"https://api.github.com/users/nebhale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nebhale/subscriptions","organizations_url":"https://api.github.com/users/nebhale/orgs","repos_url":"https://api.github.com/users/nebhale/repos","events_url":"https://api.github.com/users/nebhale/events{/privacy}","received_events_url":"https://api.github.com/users/nebhale/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-07-12T11:12:17Z","updated_at":"2018-07-12T13:48:23Z","closed_at":null,"author_association":"NONE","body":"My java applications requires an additional .json config in order to start.\r\nUnfortunately I'm not able to push it because buildpack throws an error when `path` is set as a directory. What need to be done in order to push something more than only single jar file?\r\n\r\n```\r\n[Buildpack]                      ERROR Compile failed with exception #<RuntimeError: No container can run this application. Please ensure that you've pushed a valid JVM artifact or artifacts using the -p command line argument or path manifest entry. Information about valid JVM artifacts can be found at https://github.com/cloudfoundry/java-buildpack#additional-documentation. >\r\n   No container can run this application. Please ensure that you've pushed a valid JVM artifact or artifacts using the -p command line argument or path manifest entry. Information about valid JVM artifacts can be found at https://github.com/cloudfoundry/java-buildpack#additional-documentation.\r\n```"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/comments/404518163","html_url":"https://github.com/cloudfoundry/java-buildpack/issues/608#issuecomment-404518163","issue_url":"https://api.github.com/repos/cloudfoundry/java-buildpack/issues/608","id":404518163,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDUxODE2Mw==","user":{"login":"nebhale","id":60754,"node_id":"MDQ6VXNlcjYwNzU0","avatar_url":"https://avatars1.githubusercontent.com/u/60754?v=4","gravatar_id":"","url":"https://api.github.com/users/nebhale","html_url":"https://github.com/nebhale","followers_url":"https://api.github.com/users/nebhale/followers","following_url":"https://api.github.com/users/nebhale/following{/other_user}","gists_url":"https://api.github.com/users/nebhale/gists{/gist_id}","starred_url":"https://api.github.com/users/nebhale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nebhale/subscriptions","organizations_url":"https://api.github.com/users/nebhale/orgs","repos_url":"https://api.github.com/users/nebhale/repos","events_url":"https://api.github.com/users/nebhale/events{/privacy}","received_events_url":"https://api.github.com/users/nebhale/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T13:48:23Z","updated_at":"2018-07-12T13:48:23Z","author_association":"MEMBER","body":"Cloud Founrdy presents buildpacks with a directory of the contents pushed by the user.  If the user pushes an archive artifact (e.g. a JAR file) the buildpack is presented with an exploded archive on the filesystem.  The Java Buildpack expects to receive one of these exploded archive artifacts at all times in order to do its work.  If you push a directory containing a JSON configuration file and a JAR file, this directory structure is what is presented to the buildpack, and is not recognized as it is not an exploded archive.\r\n\r\nIn order to present the buildpack with a directory structure it recognizes, you’d need to include the JSON configuration file within the archive artifact itself.  I’d recommend putting it into `META-INF` as that directory cannot be accidentally exposed to the world via a Servlet.  Better yet, your application should adhere to [12 Factor](https://12factor.net) principals and [store configuration in the environment](https://12factor.net/config)."}}
{"actor":{"display_login":"nebhale"}}