mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 10:35:25 +00:00
Document Java 8 as requirement.
This commit is contained in:
parent
503fb83e25
commit
b256ccb045
@ -2,6 +2,7 @@ sudo: required
|
|||||||
language: java
|
language: java
|
||||||
jdk:
|
jdk:
|
||||||
- oraclejdk7
|
- oraclejdk7
|
||||||
|
- oraclejdk8
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
@ -78,16 +78,16 @@ brew install swagger-codegen
|
|||||||
|
|
||||||
To build from source, you need the following installed and available in your $PATH:
|
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/)
|
* [Apache maven 3.0.3 or greater](http://maven.apache.org/)
|
||||||
|
|
||||||
#### OS X Users
|
#### 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 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
|
export PATH=${JAVA_HOME}/bin:$PATH
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -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.
|
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
|
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.
|
maven 3.0.3 or better already installed.
|
||||||
|
|
||||||
The config file should specify the project name for the generated library:
|
The config file should specify the project name for the generated library:
|
||||||
|
@ -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.
|
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
|
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.
|
maven 3.0.3 or better already installed.
|
||||||
|
|
||||||
The config file should specify the project name for the generated library:
|
The config file should specify the project name for the generated library:
|
||||||
|
Loading…
Reference in New Issue
Block a user