stacktrace of using https maven repository  https://gist.github.com/3291156

after changed above to http and try to deploy to a https maven repository 
https://gist.github.com/3291177

okay, I was using open jdk 7, with change to sun jdk 7, the second issue is 
gone, but the first one still exist

may relates to 
http://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty


On Aug 8, 2012, at 6:29 AM, Adam Murdoch <adam.murd...@gradleware.com> wrote:

> 
> On 08/08/2012, at 1:00 AM, Strong Liu wrote:
> 
>> Hi there,
>> 
>> I'm trying to migrate the https://github.com/gradle/gradle-jdocbook plugin 
>> to use Gradle 1.1, but get this error in the dependencies resolve phase 
>> 
>> > Could not resolve group:net.sf.offo, module:fop-hyph, version:2.0.
>>   Required by:
>>       org.jboss.jdocbook:gradle-jdocbook:1.2.1-SNAPSHOT > 
>> org.jboss.jdocbook:jdocbook-core:1.1.0
>>    > Could not HEAD 
>> 'https://repository.jboss.org/nexus/content/groups/public/net/sf/offo/fop-hyph/2.0/fop-hyph-2.0.pom'.
> 
> Do you have a stacktrace for this error?
> 
>> 
>> 
>> I found this can be workaround by changing the maven repository from https 
>> to http, but i still get another error when deploying the snapshots to the 
>> https maven repository
>> 
>> > Could not publish configuration ':archives'.
>>    > Error deploying artifact 'org.jboss.jdocbook:gradle-jdocbook:jar': 
>> Error retrieving previous build number for artifact 
>> 'org.jboss.jdocbook:gradle-jdocbook:jar': repository metadata for: 'snapshot 
>> org.jboss.jdocbook:gradle-jdocbook:1.2.1-SNAPSHOT' could not be retrieved 
>> from repository: jboss-snapshots-repository due to an error: Error 
>> transferring file: java.lang.RuntimeException: Unexpected error: 
>> java.security.InvalidAlgorithmParameterException: the trustAnchors parameter 
>> must be non-empty
> 
> Do you have a stacktrace for this one too?
> 
> 
> --
> Adam Murdoch
> Gradle Co-founder
> http://www.gradle.org
> VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting
> http://www.gradleware.com
> 

-------------------------
Best Regards,

Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio

Reply via email to