Skip to content

Commit 3f6d6eb

Browse files
authored
Allow compilation of deployment example under JDK8 and 11 (#438)
* Allow compilation of deployment example under JDK8 and 11
1 parent 2a09f9c commit 3f6d6eb

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ to the kubernetes zone label on the associated pod.
4040
Kibana (EFK) stack), and Prometheus to monitor the performance, logs, and health of your clusters.
4141

4242
-------
43-
The current release of the operator is 3.0.0
43+
The current release of the operator is 3.0.1
4444

45-
Documentation for the Coherence Operator is available [here](https://oracle.github.io/coherence-operator/docs/3.0.0)
45+
Documentation for the Coherence Operator is available [here](https://oracle.github.io/coherence-operator/docs/3.0.1)
4646

4747
The fastest way to experience the operator is to follow the
48-
[Quick Start guide](https://oracle.github.io/coherence-operator/docs/3.0.0/#/about/03_quickstart).
48+
[Quick Start guide](https://oracle.github.io/coherence-operator/docs/3.0.1/#/about/03_quickstart).
4949
-------
5050

5151
# Need more help? Have a suggestion? Come and say "Hello!"

examples/deployment/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ You can use `kubectl create` for any of the examples to install that one directl
3838

3939
## Coherence Operator Quick Start
4040

41-
Ensure you have followed all the [Quick Start Guide](https://oracle.github.io/coherence-operator/docs/#/about/03_quickstart) including the
41+
Ensure you have followed all the [Quick Start Guide](https://oracle.github.io/coherence-operator/docs/3.0.1/#/about/03_quickstart) including the
4242
prerequisites and have been able to successfully install the Coherence Operator and a Coherence Cluster.
4343

4444
## Software Versions
4545

4646
Ensure you have the following software installed:
4747

48-
* [Java 11+ JDK](http://jdk.java.net/)
48+
* [Java 8+ JDK](http://jdk.java.net/)
4949
* [Maven](https://maven.apache.org) version 3.6.0+
5050
* [Docker](https://docs.docker.com/install/) version 17.03+.
5151
* [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) version v1.12.0+ .
@@ -92,6 +92,9 @@ following command to build the projects and associated Docker images:
9292
mvn clean install -P docker
9393
```
9494

95+
> Note: If you want to change the Coherence version from the default of 14.1.1-0-1 to 20.06, then
96+
> you can supply the -Dcoherence.version=20.06 for the mvn commands below. You must also use JDK11.
97+
9598
> Note: If you are running behind a corporate proxy and receive the following message building the
9699
> Docker image:
97100
> `Connect to gcr.io:443 [gcr.io/172.217.212.82] failed: connect timed out` you must modify the build command

examples/deployment/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
<artifactId>maven-compiler-plugin</artifactId>
8484
<version>${maven.compiler.plugin.version}</version>
8585
<configuration>
86-
<release>8</release>
86+
<source>${maven.compiler.source}</source>
87+
<target>${maven.compiler.target}</target>
8788
</configuration>
8889
</plugin>
8990

0 commit comments

Comments
 (0)