<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How to fix Maven build plugin failing with SSL error?</title><link>https://answers.axonivy.com/questions/3326/how-to-fix-maven-build-plugin-failing-with-ssl-error</link><description>&lt;p&gt;I'm exploring the maven build capabilities and therefore try to build the example workspace from github:
&lt;a href="https://github.com/axonivy/project-build-examples/tree/7.0"&gt;https://github.com/axonivy/project-build-examples/tree/7.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But the build fails very early when entering &lt;code&gt;mvn clean verify&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[ERROR] Failed to execute goal com.axonivy.ivy.ci:project-build-plugin:7.0.0:installEngine (default-installEngine) on project crm: Failed to find engine download link in list page &lt;a href="https://developer.axonivy.com/download/maven.html:"&gt;https://developer.axonivy.com/download/maven.html:&lt;/a&gt; sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -&amp;gt; [Help 1]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;What am I missing?&lt;/p&gt;
&lt;p&gt;&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/mavenCiHttpsCertError.PNG"&gt;&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3326/how-to-fix-maven-build-plugin-failing-with-ssl-error" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 15 Jun 2018 04:06:57 -0400</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/3326/how-to-fix-maven-build-plugin-failing-with-ssl-error/3327</link><description>&lt;p&gt;This happens when an old JDK is used to run maven. Oracle once updated the Root certificates in the JDK. The certificates used to validate the default engine download page is no longer valid.&lt;/p&gt;
&lt;p&gt;To verify the JDK you are using inspect your environment variables:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;windows: cmd &amp;gt; &lt;code&gt;echo %JAVA_HOME%&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;linuxs: bash &amp;gt; &lt;code&gt;echo $JAVA_HOME&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;or just fire &lt;code&gt;javac -version&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If it points to binaries older than 1.8.0_171 you should install the latest 1.8 JDK.
Ensure that you update the JAVA_HOME variable to the newly installed JDK afterwards.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Fri, 15 Jun 2018 04:06:57 -0400</pubDate><guid>https://answers.axonivy.com/questions/3326/how-to-fix-maven-build-plugin-failing-with-ssl-error/3327</guid></item></channel></rss>