Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
dbe310b8
Commit
dbe310b8
authored
May 18, 2015
by
Joe Kutner
Committed by
Stephane Nicoll
May 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Heroku deployment documentation
Closes gh-3000
parent
bb877ed5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
cloud-deployment.adoc
spring-boot-docs/src/main/asciidoc/cloud-deployment.adoc
+7
-10
No files found.
spring-boot-docs/src/main/asciidoc/cloud-deployment.adoc
View file @
dbe310b8
...
...
@@ -161,14 +161,14 @@ Spring Boot makes `-D` arguments available as properties accessible from a Sprin
Tomcat, Jetty or Undertow instance which then uses it when it starts up. The `$PORT`
environment variable is assigned to us by the Heroku PaaS.
Heroku by default will use Java 1.
6
. This is fine as long as your Maven or Gradle build
is set to use the same version (Maven users can use the
`java.version`
property). If you
Heroku by default will use Java 1.
8
. This is fine as long as your Maven or Gradle build
is set to use the same version (Maven users can use the
java.version
property). If you
want to use JDK 1.7, create a new file adjacent to your `pom.xml` and `Procfile`,
called `system.properties`. In this file add the following:
[
source,java
]
[
indent=0
]
----
java.runtime.version=1.7
java.runtime.version=1.7
----
This should be everything you need. The most common workflow for Heroku deployments is to
...
...
@@ -186,13 +186,10 @@ This should be everything you need. The most common workflow for Heroku deployme
Total 95 (delta 31), reused 0 (delta 0)
-----> Java app detected
-----> Installing OpenJDK 1.
7
... *done*
-----> Installing Maven 3.
2.3
... *done*
-----> Installing OpenJDK 1.
8
... *done*
-----> Installing Maven 3.
3.1
... *done*
-----> Installing settings.xml... *done*
-----> executing /app/tmp/cache/.maven/bin/mvn -B
-Duser.home=/tmp/build_0c35a5d2-a067-4abc-a232-14b1fb7a8229
-Dmaven.repo.local=/app/tmp/cache/.m2/repository
-s /app/tmp/cache/.m2/settings.xml -DskipTests=true clean install
-----> Executing: mvn -B -DskipTests=true clean install
[INFO] Scanning for projects...
Downloading: http://repo.spring.io/...
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment