Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Drupal Developer Portal - Error 404 when using SmartDocs Maven Plugin

Hi, Guys! Need Your help! I am using SmartDocs Maven Plugin on Drupal 8 Portal and when type maven command:

mvn install -Pdev -Dpurl='http://34.91.13.214' -Dpusername=xxx@xxxxxxx.com -Dppassword=xxxx -Dapigee.smartdocs.config.options=create

I get Error 404 - Not found. In console I get huge html with spec values. Not able to understand the reason why it works wrong. As for test I have used sample provided here:

https://github.com/apigee/apigee-smartdocs-maven-plugin/tree/master/samples/Drupal8

Pom.xml is the same. Arguments I sent in maven command. Would be extremely grateful for your help! Thanks!

Console Output:

[INFO] Scanning for projects...
[INFO] 
[INFO] -----------------------< Apigee:DeveloperPortal >-----------------------
[INFO] Building DeveloperPortal 1.0
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ DeveloperPortal ---
[INFO] Installing D:\projects\xx\xx\apigee-jenkins\jenkins-xx-multi-config\dev_portal\pom.xml to C:\Users\alexc\.m2\repository\Apigee\DeveloperPortal\1.0\DeveloperPortal-1.0.pom
[INFO] 
[INFO] --- apigee-smartdocs-maven-plugin:2.0.1:apidoc (smartdocs-deploy) @ DeveloperPortal ---
[INFO] ************************************************************************
[INFO] API Docs
[INFO] ************************************************************************
[INFO] Get OpenAPI Specs from ./specs
[INFO] Getting API doc for httpbin.org
[INFO] Retrieving httpbin.org doc.
[ERROR] 404 Not Found
<!DOCTYPE html>
<html lang="en" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/  dc: http://purl.org/dc/terms/  foaf: http://xmlns.com/foaf/0.1/  og: http://ogp.me/ns#  rdfs: http://www.w3.org/2000/01/rdf-schema#  schema: http://schema.org/  sioc: http://rdfs.org/sioc/ns#  sioct: http://rdfs.org/sioc/types#  skos: http://www.w3.org/2004/02/skos/core#  xsd: http://www.w3.org/2001/XMLSchema# ">
  <head>
    <meta charset="utf-8" />
<meta name="Generator" content="Drupal 8 (https://www.drupal.org)" />
<meta name="MobileOptimized" content="width" />
<meta name="HandheldFriendly" content="true" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="canonical" href="http://34.91.13.214/page-not-found" />
<link rel="shortlink" href="http://34.91.13.214/node/19" />
<link rel="revision" href="http://34.91.13.214/page-not-found" />
0 4 544
4 REPLIES 4