ari / gradle-release-plugin

A modern release plugin for gradle
Apache License 2.0
51 stars 24 forks source link

Certification path issue ; dependency on sqljet:1.1.8-SNAPSHOT #30

Closed mpas closed 8 years ago

mpas commented 8 years ago

I am trying to get a simple working example going with the plugin but i am experiencing an issue:

Could not resolve org.tmatesoft.sqljet:sqljet:1.1.8-SNAPSHOT.
         > Unable to load Maven meta-data from http://maven.tmatesoft.com/content/repositories/releases/org/tmatesoft/sqljet/sqljet/1.1.8-SNAPSHOT/maven-metadata.xml.
            > Could not GET 'http://maven.tmatesoft.com/content/repositories/releases/org/tmatesoft/sqljet/sqljet/1.1.8-SNAPSHOT/maven-metadata.xml'.
               > sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

This is the build.gradle that i am using:

buildscript {
    repositories {
        jcenter()
        mavenCentral()
        maven {
            url 'http://maven.tmatesoft.com/content/repositories/releases/'
        }
    }

    dependencies {
        classpath 'au.com.ish.gradle:release:2.2.2'
    }
}

I have seen a close issue, but i am still facing the error

ari commented 8 years ago

Looks like they pulled that snapshot. This should already be fixed in master

mpas commented 8 years ago

How can i use the latest version (master) ?

ari commented 8 years ago

The easiest way is to copy the source into buildSrc