Document Java 8 as requirement.

This commit is contained in:
Arne Jørgensen 2016-01-07 22:01:22 +01:00
parent 503fb83e25
commit b256ccb045
4 changed files with 6 additions and 5 deletions

View File

@ -2,6 +2,7 @@ sudo: required
language: java
jdk:
- oraclejdk7
- oraclejdk8
services:
- docker

View File

@ -78,16 +78,16 @@ brew install swagger-codegen
To build from source, you need the following installed and available in your $PATH:
* [Java 7](http://java.oracle.com)
* [Java 7 or 8](http://java.oracle.com)
* [Apache maven 3.0.3 or greater](http://maven.apache.org/)
#### OS X Users
Don't forget to install Java 7. You probably have 1.6 or 1.8.
Don't forget to install Java 7 or 8. You probably have 1.6.
Export JAVA_HOME in order to use the supported Java version:
```
export JAVA_HOME=`/usr/libexec/java_home -v 1.7`
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
export PATH=${JAVA_HOME}/bin:$PATH
```

View File

@ -162,7 +162,7 @@ you could also call them on class names.
See the homepage `https://github.com/swagger-api/swagger-codegen` for full details.
But briefly, clone the git repository, build the codegen codebase, set up your build
config file, then run the API build script. You will need git, Java 7 and Apache
config file, then run the API build script. You will need git, Java 7 or 8 and Apache
maven 3.0.3 or better already installed.
The config file should specify the project name for the generated library:

View File

@ -264,7 +264,7 @@ you could also call them on class names.
See the homepage C<https://github.com/swagger-api/swagger-codegen> for full details.
But briefly, clone the git repository, build the codegen codebase, set up your build
config file, then run the API build script. You will need git, Java 7 and Apache
config file, then run the API build script. You will need git, Java 7 or 8 and Apache
maven 3.0.3 or better already installed.
The config file should specify the project name for the generated library: