ingogriebsch / ingogriebsch/sync-packagejson-version-maven-plugin
not work with jdk8
- Dominant language
- Java
- Stars
- 5
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
when use jdk8 run sync failed with error
```
Execution sync of goal de.ingogriebsch.maven:sync-packagejson-version-maven-plugin:1.3.0:sync failed: An API incompatibility was encountered while executing de.ingogriebsch.maven:sync-packagejson-version-maven-plugin:1.3.0:sync: java.lang.NoSuchMethodError: java.util.Optional.orElseThrow()Ljava/lang/Object;
```
**To Reproduce**
Steps to reproduce the behavior:
run with jdk11 and jdk 17 is ok, but jdk8 error
config with maven
```
de.ingogriebsch.maven
sync-packagejson-version-maven-plugin
1.3.0
sync
sync
process-resources
```
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Environment:**
- Maven version
3.8.1
- Java version
java version "1.8.0_333"
**Additional context**
- Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.