Search code examples
javamavenherokuibm-cloudbuildpack

maven support in bluemix vs heroku java buildpack


Bluemix seems to support heroku buildpacks, and the java buildpack for heroku has the ability to build a project from a maven pom.xml file.

However, in bluemix, the devops service needs to be used to build using maven and then deploy to the cloud.

Has anyone used the heroku java buildpack in bluemix to deploy a project with just a pm, instead of a pre-build war ?

Are there any dis-advantages to using the heroku java buildpack in bluemix ?


Solution

  • I found this Java sample app for Heroku and just successfully pushed it to Bluemix using the Heroku Java buildpack.

    So it works, at least for simple cases, but there are disadvantages:

    • can't have a deployment pipeline where the same build artifact is deployed to multiple places (like test, staging, production, etc.)
    • not designed to leverage any specific features of Bluemix or Cloud Foundry
    • the only documentation is for Heroku