-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
type:bugSomething isn't workingSomething isn't working
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
<plugin>
<groupId>de.ingogriebsch.maven</groupId>
<artifactId>sync-packagejson-version-maven-plugin</artifactId>
<version>1.3.0</version>
<executions>
<execution>
<id>sync</id>
<goals>
<goal>sync</goal>
</goals>
<phase>process-resources</phase>
</execution>
</executions>
</plugin>
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.
Metadata
Metadata
Assignees
Labels
type:bugSomething isn't workingSomething isn't working