Skip to content
Snippets Groups Projects
Commit 32fda181 authored by Bill Wang's avatar Bill Wang
Browse files

update read me

parent 5b4eac9e
No related branches found
No related tags found
1 merge request!322Update Unit service to Java 17 and fix several cve issues
Pipeline #223707 passed with warnings
......@@ -11,9 +11,9 @@ These instructions will get you a copy of the project up and running on your loc
### Prerequisites
Pre-requisites
* JDK 8 (https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html)
* JDK 17 (https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/downloads-list.html)
* Maven 3.8.3 or later
* Lombok 1.16 or later
* Lombok 1.18.26 or later
* OSDU Instance deployed on AWS
### Service Configuration
......
......@@ -9,7 +9,7 @@ unit-service is a [Spring Boot](https://spring.io/projects/spring-boot) service
In order to run this service locally, you will need the following:
- [Maven 3.6.0+](https://maven.apache.org/download.cgi)
- [AdoptOpenJDK8](https://adoptopenjdk.net/)
- [AdoptOpenJDK17](https://adoptopenjdk.net/)
- Infrastructure dependencies, deployable through the relevant [infrastructure template](https://dev.azure.com/slb-des-ext-collaboration/open-data-ecosystem/_git/infrastructure-templates?path=%2Finfra&version=GBmaster&_a=contents)
- While not a strict dependency, example commands in this document use [bash](https://www.gnu.org/software/bash/)
......@@ -73,7 +73,7 @@ Check that maven is installed:
$ mvn --version
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 1.8.0_212, vendor: AdoptOpenJDK, runtime: /usr/lib/jvm/jdk8u212-b04/jre
Java version: 17, vendor: AdoptOpenJDK, runtime: /usr/lib/jvm/jdk17/jre
...
```
......
......@@ -8,9 +8,9 @@ These instructions will get you a copy of the project up and running on your loc
### Prerequisites
- [Maven 3.6.0+](https://maven.apache.org/download.cgi)
- [AdoptOpenJDK8](https://adoptopenjdk.net/)
- [Lombok 1.16 or later](https://projectlombok.org/setup/maven)
- [Maven 3.8.0+](https://maven.apache.org/download.cgi)
- [AdoptOpenJDK17](https://adoptopenjdk.net/)
- [Lombok 1.18 or later](https://projectlombok.org/setup/maven)
- [GCloud SDK with java (latest version)](https://cloud.google.com/sdk/docs/install)
### Installation
......@@ -35,9 +35,9 @@ Check that maven is installed:
```bash
$ mvn --version
Apache Maven 3.6.0
Apache Maven 3.8.0
Maven home: /usr/share/maven
Java version: 1.8.0_212, vendor: AdoptOpenJDK, runtime: /usr/lib/jvm/jdk8u212-b04/jre
Java version: 17 vendor: AdoptOpenJDK, runtime: /usr/lib/jvm/jdk17/jre
...
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment