ingogriebsch / ingogriebsch/sync-packagejson-version-maven-plugin

not work with jdk8

Open
#180 1 comment 0 reactions 1 assignee Claimed by @ingogriebsch View on GitHub
type:bug
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.