Skip to content

The 4.2.x version jar in not available on jitpack.com #21

@vinishgeorge

Description

@vinishgeorge

What am I experiencing

following the instructions according to the documentation to set up a java maven spring boot project

What am I using

jitpack.io https://jitpack.io com.github.h-omer neo4j-versioner-core 4.2.4 provided

How to reproduce the problem

The project build fails with error :
Failed to execute goal on project Could not resolve dependencies for project XX:jar:0.0.1-SNAPSHOT: Could not find artifact com.github.h-omer:neo4j-versioner-core:jar:4.2.4 in jitpack.io (https://jitpack.io)

error on jitpack

Build starting...
Start: Tue Mar 30 07:55:04 UTC 2021 1023b9c3c1f8
Git:
4.2-0-g443bd9e
commit 443bd9e
Author: mfalcier
Date: Wed Mar 24 09:44:20 2021 +0100

:books: Added version compatibility matrix

Found gradle
Gradle build script
Found gradle version: 6.7.
Using gradle wrapper
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Downloading https://services.gradle.org/distributions/gradle-6.7-bin.zip
.10%.20%.30%.40%.50%.60%.70%.80%.90%.100%


Gradle 6.7

Build time: 2020-10-14 16:13:12 UTC
Revision: 312ba9e0f4f8a02d01854d1ed743b79ed996dfd3

Kotlin: 1.3.72
Groovy: 2.5.12
Ant: Apache Ant(TM) version 1.10.8 compiled on May 10 2020
JVM: 1.8.0_252 (Private Build 25.252-b09)
OS: Linux 4.18.0-25-generic amd64

0m3.290s
Getting tasks: ./gradlew tasks --all
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Tasks:
Found javadoc task

WARNING:
Gradle 'install' task not found. Please add the 'maven' or 'android-maven' plugin.
See the documentation and examples: https://jitpack.io/docs/

Looking for android-library
Looking for com.android.application
Adding maven plugin
Running: ./gradlew clean -Pgroup=com.github.h-omer -Pversion=4.2.4 -xtest install
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2

Task :clean UP-TO-DATE
Task :compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileJava'.

Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 12s
2 actionable tasks: 1 executed, 1 up-to-date
Build tool exit code: 0
Looking for artifacts...
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Looking for pom.xml in build directory and ~/.m2
2021-03-30T07:55:26.569761427Z
Exit code: 0

ERROR: No build artifacts found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions