Error in the logs "Checksum validation failed, expected <!DOCTYPE but is "
peter-lawrey opened this issue · 2 comments
peter-lawrey commented
RobAustin commented
the fix suggested for this is to modify the local settings file.
cheddesi commented
Thought this might help someone.
In my case, the repository from where I was trying to download the artefact was moved/retired. The actual POM file that was downloaded is an error page, snippet given below. The HTML page was suggesting that the repository is moved to: http://maven.onehippo.com/maven2-forge/.
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 1.7.4 at 14 Jul 2017
| Rendered using Hippo Forge Maven Skin 2.0.1 based on Apache Maven Fluido Skin
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
....
<b>Redirected here?</b><br />
You may have been redirected here from <a class="externalLink" href="https://forge.onehippo.org">forge.onehippo.org</a>.<br />
That Hippo SVN Forge has been discontinued on 16 March 2017 and followed up on GitHub at <a class="externalLink" href="https://github.com/onehippo-forge">github.com/onehippo-forge</a><br />
Artifacts previously in SVN can now be retrieved from the Hippo Maven Forge Repository at <a class="externalLink" href="http://maven.onehippo.com/maven2-forge/">http://maven.onehippo.com/maven2-forge</a>.
</p>
To fix the issue, I'd to update my project's POM file with the right repository.
<repositories>
<repository>
<id>hippo</id>
<name>Hippo maven 2 repository.</name>
<url>https://maven.onehippo.com/maven2/</url>
</repository>
<!-- <repository>
<id>camel-hippoevt-maven-repo</id>
<name>Hippo Maven 2 Forge Camel :: Hippo Event Bus</name>
<url>http://forge.onehippo.org/svn/camel-hippoevt/maven2/</url>
</repository> OLD or OUTDATED repository -->
<repository>
<id>camel-hippoevt-maven-repo</id>
<name>Hippo Maven 2 Forge Camel :: Hippo Event Bus</name>
<url>http://maven.onehippo.com/maven2-forge/</url>
</repository>
</repositories>