You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I get the following error: [ERROR] Failed to execute goal on project learning-petitparser: Could not resolve dependencies for project com.modelligent:learning-petitparser:jar:1.0.0-SNAPSHOT: Could not find artifact com.github.petitparser:java-petitparser:jar:main-1f87c1e664-1 in jitpack.io (https://jitpack.io) -> [Help 1]
I cloned petitparser/java-petitparser and ran mvn clean install locally. As I expected I got a BUILD SUCCESS result. I use Apache Maven 3.8.1 bundled with IntelliJ. JitPack used 3.6.1 for its build.
Here is the error message from the build.log: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project petitparser-core: Fatal error compiling: invalid flag: --release -> [Help 1]
Reading this, maybe JitPack needs to be told somehow to use Java 11? It used Java 8 for the build. However, as you may have noted, I am somewhat out of my depth here.
I would like to use the latest code in the main branch in a Maven project. I tried to get it from https://jitpack.io/#petitparser/java-petitparser using the following in pom.xlm
However, I get the following error:
[ERROR] Failed to execute goal on project learning-petitparser: Could not resolve dependencies for project com.modelligent:learning-petitparser:jar:1.0.0-SNAPSHOT: Could not find artifact com.github.petitparser:java-petitparser:jar:main-1f87c1e664-1 in jitpack.io (https://jitpack.io) -> [Help 1]
It looks like the last build ran into a failure:
https://jitpack.io/com/github/petitparser/java-petitparser/main-1f87c1e664-1/build.log
Cheers,
Bernhard
The text was updated successfully, but these errors were encountered: