logo heroku-maven-plugin

homepage: cedarhero.ingenieux.com.br
fresh index:
last release: 5 years ago, first release: 5 years ago
packaging: maven-plugin
get this artifact from: central
see this artifact on: search.maven.org




This chart shows how much is this artifact used as a dependency in other Maven artifacts in Central repository and GitHub:


select version:

Add this snippet into pom.xml inside tag <project><build><plugins>:




Switch to artifact.
goals:
heroku:deploy

Deploys the staging (prepared) repository under Heroku. See the docs for {@link PrepareMojo} as well. Obligatory showoff example (for existing java projects): <plugins> <plugin> <groupId>br.com.ingenieux.cedarhero</groupId> <artifactId>heroku-maven-plugin</artifactId> <configuration> <app>lovely-app-7777</app> </configuration> </plugin> </plugins> Once pom is configured (and you've got a packaged war project in the right directory), you can simply prepare and deploy with: $ mvn heroku:prepare heroku:deploy

heroku:help

Display help information on heroku-maven-plugin. Call mvn heroku:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.

heroku:prepare

Creates / prepares a Staging Repository for Heroku Deployment A Staging Repository is a git repository (by default, under [basedir]/tmp-git-deployment-staging) made from the following elements: A clone of the [sourceStackRepository] git repository (defaults to the jetty runner stack, https://bitbucket.org/ingenieux/cedarhero-jetty) The webapp contents under /webapp The sourceStack includes a "stub pom", meant to satisfy herokus' need for a pom.xml. In the future, it would be used to optimize the slug generation process (like assigning/replacing xml config files for addon values, or something like that). For now, a barebones sourceStack git repository includes: The basic Procfile The webapp Runtime Other settings You could consider either forking the sourceStackRepository or changing it locally prior to deployment. Future versions will pay more attention to it


© Jiri Pinkas 2015 - 2018. All rights reserved. Admin login To submit bugs / feature requests please use this github page
related: JavaVids | Top Java Blogs | Java školení | 4npm - npm search | monitored using: sitemonitoring
Apache and Apache Maven are trademarks of the Apache Software Foundation. The Central Repository is a service mark of Sonatype, Inc.