I'm exploring the maven build capabilities and therefore try to build the example workspace from github: https://github.com/axonivy/project-build-examples/tree/7.0

But the build fails very early when entering mvn clean verify:

[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 https://developer.axonivy.com/download/maven.html: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]

What am I missing?

alt text

asked 15.06.2018 at 04:01

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
accept rate: 77%

edited 15.06.2018 at 04:07

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦

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.

To verify the JDK you are using inspect your environment variables:

  • windows: cmd > echo %JAVA_HOME%
  • linuxs: bash > echo $JAVA_HOME
  • or just fire javac -version

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.


answered 15.06.2018 at 04:06

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 70%

edited 15.06.2018 at 04:07

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 15.06.2018 at 04:01

Seen: 4,159 times

Last updated: 15.06.2018 at 04:07