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

Reply via email to