It seems the search url for maven has been SSL protected ... you can see with 
the "move" message, that https is used for downloading. Seems something is 
going wrong with the SSL handshake. Think I even opened an issue with Infra 
about this a few weeks ago as I was having the same problem with another part 
of flex I was working on (but only on .... hey ... a Windows machine ... 
https://issues.apache.org/jira/browse/BUILDS-34).

eventually I managed to pass by changing 
    <property name="maven.search.url" 
value="http://search.maven.org/remotecontent?filepath="/>
to 
    <property name="maven.search.url" 
value="https://search.maven.org/remotecontent?filepath="/>
in modules/download.xml (line 46).

Another option would be to download it directly from here:
http://repo1.maven.org/maven2/org/apache/flex/flex-tool-api/1.0.0/flex-tool-api-1.0.0.jar

Chris

________________________________________
Von: Erik de Bruin <[email protected]>
Gesendet: Freitag, 12. Dezember 2014 13:35
An: [email protected]
Betreff: 'flex-tool-api.jar' not downloading on Windows

Hi,

I can't get the builds to run on Windows, they keep failing on the
download of the 'flex-tool-api.jar':

<ant output>

flex-tool-api-jar-check:


flex-tool-api-jar:

      [get] Getting:
http://search.maven.org/remotecontent?filepath=/org/apache/flex/flex-tool-api/1.0.0/flex-tool-api-1.0.0.jar

      [get] To:
C:\jenkins_slave\workspace\rc_flex-sdk_mustella-mobile\in\flex-tool-api.jar

      [get] 
http://search.maven.org/remotecontent?filepath=/org/apache/flex/flex-tool-api/1.0.0/flex-tool-api-1.0.0.jar
moved to 
https://repo1.maven.org/maven2//org/apache/flex/flex-tool-api/1.0.0/flex-tool-api-1.0.0.jar

      [get] Error getting
http://search.maven.org/remotecontent?filepath=/org/apache/flex/flex-tool-api/1.0.0/flex-tool-api-1.0.0.jar
to C:\jenkins_slave\workspace\rc_flex-sdk_mustella-mobile\in\flex-tool-api.jar


BUILD FAILED

C:\jenkins_slave\workspace\rc_flex-sdk_mustella-mobile\build.xml:178:
The following error occurred while executing this line:

C:\jenkins_slave\workspace\rc_flex-sdk_mustella-mobile\modules\build.xml:64:
The following error occurred while executing this line:

C:\jenkins_slave\workspace\rc_flex-sdk_mustella-mobile\modules\downloads.xml:581:
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target

at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1520)

at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:182)

at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:176)

at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975)

at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)

at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:511)

at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:449)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:817)

at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1029)

at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1056)

at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1040)

at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405)

at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)

at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133)

at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:660)

at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:685)

at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:579)

at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:569)

Caused by: sun.security.validator.ValidatorException: PKIX path
building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target

at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)

at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)

at sun.security.validator.Validator.validate(Validator.java:218)

at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)

at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)

at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)

at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:954)

... 14 more

Caused by: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target

at 
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)

at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)

at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)

... 20 more
</ant output>

Thanks,

EdB



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Reply via email to