Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Getting error while publishing Swagger API's in Apigee Devportal using "apigee-smartdocs-maven-plugin" from local system.

Not applicable

Getting error while publishing Swagger API's in Apigee Devportal using "apigee-smartdocs-maven-plugin" from local system.

Plugin: https://github.com/apigee/apigee-smartdocs-maven-plugin

Error: [ERROR] Failed to execute goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1:apimodel (smartdocs-deploy) on project DeveloperPortal: Execution smartdocs-deploy of goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1:apimodel failed: Update failure: 404 Not Found -> [Help 1]

Command used: mvn -e -X clean install -Pdev -Dapigee.smartdocs.config.options=create

Can anyone help me to fix? Thanks in advance.

Complete error for reference:

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T14:33:14-04:00) Maven home: C:\Users\username\Desktop\tools\apache-maven-3.5.4\bin\.. Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_181\jre Default locale: en_CA, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: javax.annotation.* < plexus.core [DEBUG] Imported: javax.annotation.security.* < plexus.core [DEBUG] Imported: javax.enterprise.inject.* < plexus.core [DEBUG] Imported: javax.enterprise.util.* < plexus.core [DEBUG] Imported: javax.inject.* < plexus.core [DEBUG] Imported: org.apache.maven.* < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.* < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.eclipse.aether.* < plexus.core [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core [DEBUG] Imported: org.eclipse.aether.collection < plexus.core [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core [DEBUG] Imported: org.eclipse.aether.graph < plexus.core [DEBUG] Imported: org.eclipse.aether.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.installation < plexus.core [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core [DEBUG] Imported: org.eclipse.aether.repository < plexus.core [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core [DEBUG] Imported: org.eclipse.aether.spi < plexus.core [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core [DEBUG] Imported: org.eclipse.aether.version < plexus.core [DEBUG] Imported: org.fusesource.jansi.* < plexus.core [DEBUG] Imported: org.slf4j.* < plexus.core [DEBUG] Imported: org.slf4j.helpers.* < plexus.core [DEBUG] Imported: org.slf4j.spi.* < plexus.core [DEBUG] Populating class realm maven.api [INFO] Error stacktraces are turned on. [DEBUG] Message scheme: color [DEBUG] Message styles: debug info warning error success failure strong mojo project [DEBUG] Reading global settings from C:\Users\username\Desktop\tools\apache-maven-3.5.4\bin\..\conf\settings.xml [DEBUG] Reading user settings from C:\Users\username\.m2\settings.xml [DEBUG] Reading global toolchains from C:\Users\username\Desktop\tools\apache-maven-3.5.4\bin\..\conf\toolchains.xml [DEBUG] Reading user toolchains from C:\Users\username\.m2\toolchains.xml [DEBUG] Using local repository at C:\Users\username\.m2\repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\username\.m2\repository [INFO] Scanning for projects... [DEBUG] Extension realms for project Apigee:DeveloperPortal:pom:1.0: (none) [DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] Extension realms for project apigee:parent-pom:pom:1.0: (none) [DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null] [DEBUG] === REACTOR BUILD PLAN ================================================ [DEBUG] Project: Apigee:DeveloperPortal:pom:1.0 [DEBUG] Tasks: [clean, install] [DEBUG] Style: Regular [DEBUG] ======================================================================= [INFO] [INFO] -----------------------< Apigee:DeveloperPortal >----------------------- [INFO] Building DeveloperPortal 1.0 [INFO] --------------------------------[ pom ]--------------------------------- [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] === PROJECT BUILD PLAN ================================================ [DEBUG] Project: Apigee:DeveloperPortal:1.0 [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [] [DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Repositories (plugins) : [central (http://repo1.maven.org/maven2, default, releases)] [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?> <configuration> <directory default-value="${project.build.directory}"/> <excludeDefaultDirectories default-value="false">${clean.excludeDefaultDirectories}</excludeDefaultDirectories> <failOnError default-value="true">${maven.clean.failOnError}</failOnError> <followSymLinks default-value="false">${clean.followSymLinks}</followSymLinks> <outputDirectory default-value="${project.build.outputDirectory}"/> <reportDirectory default-value="${project.reporting.outputDirectory}"/> <retryOnError default-value="true">${maven.clean.retryOnError}</retryOnError> <skip default-value="false">${clean.skip}</skip> <testOutputDirectory default-value="${project.build.testOutputDirectory}"/> <verbose>${clean.verbose}</verbose> </configuration> [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?> <configuration> <artifact default-value="${project.artifact}"/> <attachedArtifacts default-value="${project.attachedArtifacts}"/> <createChecksum default-value="false">${createChecksum}</createChecksum> <localRepository>${localRepository}</localRepository> <packaging default-value="${project.packaging}"/> <pomFile default-value="${project.file}"/> <skip default-value="false">${maven.install.skip}</skip> <updateReleaseInfo default-value="false">${updateReleaseInfo}</updateReleaseInfo> </configuration> [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1:apimodel (smartdocs-deploy) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?> <configuration> <artifactId>${project.artifactId}</artifactId> <baseDirectory>${basedir}</baseDirectory> <buildDirectory>${project.build.directory}</buildDirectory> <buildOption>${build.option}</buildOption> <configDir>${apigee.smartdocs.config.dir}</configDir> <id>${apigee.profile}</id> <options>${apigee.smartdocs.config.options}</options> <portalCronKey>${portal.cronkey}</portalCronKey> <portalDirectory>${portal.directory}</portalDirectory> <portalFormat>${portal.format}</portalFormat> <portalModelFields> <company> <path>contact|company</path> <field>field_company</field> </company> </portalModelFields> <portalModelVocabulary>smartdocs_models</portalModelVocabulary> <portalPassword>${portal.password}</portalPassword> <portalPath>${portal.path}</portalPath> <portalURL>${portal.url}</portalURL> <portalUserName>${portal.username}</portalUserName> <projectName>${project.name}</projectName> <projectVersion>${project.version}</projectVersion> <skip default-value="false"/> </configuration> [DEBUG] ======================================================================= [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ DeveloperPortal --- [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=608239, ConflictMarker.markTime=328187, ConflictMarker.nodeCount=3, ConflictIdSorter.graphTime=410233, ConflictIdSorter.topsortTime=306672, ConflictIdSorter.conflictIdCount=3, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=2292200, ConflictResolver.conflictItemCount=3, DefaultDependencyCollector.collectTime=37992330, DefaultDependencyCollector.transformTime=5651736} [DEBUG] org.apache.maven.plugins:maven-clean-plugin:jar:2.5: [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0:compile [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.5 [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.5 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.5 [DEBUG] Included: org.apache.maven.plugins:maven-clean-plugin:jar:2.5 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0 [DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:2.5:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:2.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.5:clean' with basic configurator --> [DEBUG] (f) directory = C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal\target [DEBUG] (f) excludeDefaultDirectories = false [DEBUG] (f) failOnError = true [DEBUG] (f) followSymLinks = false [DEBUG] (f) outputDirectory = C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal\target\classes [DEBUG] (f) reportDirectory = C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal\target\site [DEBUG] (f) retryOnError = true [DEBUG] (f) skip = false [DEBUG] (f) testOutputDirectory = C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal\target\test-classes [DEBUG] -- end configuration -- [DEBUG] Skipping non-existing directory C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal\target [DEBUG] Skipping non-existing directory C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal\target\classes [DEBUG] Skipping non-existing directory C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal\target\test-classes [DEBUG] Skipping non-existing directory C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal\target\site [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ DeveloperPortal --- [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=174668, ConflictMarker.markTime=106843, ConflictMarker.nodeCount=38, ConflictIdSorter.graphTime=106114, ConflictIdSorter.topsortTime=23338, ConflictIdSorter.conflictIdCount=15, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=995135, ConflictResolver.conflictItemCount=35, DefaultDependencyCollector.collectTime=101279453, DefaultDependencyCollector.transformTime=1439645} [DEBUG] org.apache.maven.plugins:maven-install-plugin:jar:2.4: [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-project:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-settings:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-profile:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile [DEBUG] junit:junit:jar:3.8.1:compile [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile [DEBUG] org.apache.maven:maven-model:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.6:compile [DEBUG] org.apache.maven:maven-artifact:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.5:compile [DEBUG] org.codehaus.plexus:plexus-digest:jar:1.0:compile [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-install-plugin:2.4 [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-install-plugin:2.4 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-install-plugin:2.4 [DEBUG] Included: org.apache.maven.plugins:maven-install-plugin:jar:2.4 [DEBUG] Included: junit:junit:jar:3.8.1 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.5 [DEBUG] Included: org.codehaus.plexus:plexus-digest:jar:1.0 [DEBUG] Configuring mojo org.apache.maven.plugins:maven-install-plugin:2.4:install from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-install-plugin:2.4, parent: sun.misc.Launcher$AppClassLoader@5c647e05] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-install-plugin:2.4:install' with basic configurator --> [DEBUG] (f) artifact = Apigee:DeveloperPortal:pom:1.0 [DEBUG] (f) attachedArtifacts = [] [DEBUG] (f) createChecksum = false [DEBUG] (f) localRepository = id: local url: file:///C:/Users/username/.m2/repository/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] [DEBUG] (f) packaging = pom [DEBUG] (f) pomFile = C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal\pom.xml [DEBUG] (s) skip = false [DEBUG] (f) updateReleaseInfo = false [DEBUG] -- end configuration -- [INFO] Installing C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal\pom.xml to C:\Users\username\.m2\repository\Apigee\DeveloperPortal\1.0\DeveloperPortal-1.0.pom [DEBUG] Writing tracking file C:\Users\username\.m2\repository\Apigee\DeveloperPortal\1.0\_remote.repositories [DEBUG] Installing Apigee:DeveloperPortal/maven-metadata.xml to C:\Users\username\.m2\repository\Apigee\DeveloperPortal\maven-metadata-local.xml [INFO] [INFO] --- apigee-smartdocs-maven-plugin:1.0.1:apimodel (smartdocs-deploy) @ DeveloperPortal --- [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1008626, ConflictMarker.markTime=541144, ConflictMarker.nodeCount=302, ConflictIdSorter.graphTime=435029, ConflictIdSorter.topsortTime=82776, ConflictIdSorter.conflictIdCount=80, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=8231282, ConflictResolver.conflictItemCount=167, DefaultDependencyCollector.collectTime=528712492, DefaultDependencyCollector.transformTime=10322195} [DEBUG] com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:jar:1.0.1: [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.8:compile [DEBUG] org.apache.axis2:axis2-kernel:jar:1.3:compile [DEBUG] javax.servlet:servlet-api:jar:2.3:compile [DEBUG] commons-httpclient:commons-httpclient:jar:3.0.1:compile [DEBUG] commons-fileupload:commons-fileupload:jar:1.1.1:compile [DEBUG] wsdl4j:wsdl4j:jar:1.6.2:compile [DEBUG] backport-util-concurrent:backport-util-concurrent:jar:2.2:compile [DEBUG] org.codehaus.woodstox:wstx-asl:jar:3.2.1:compile [DEBUG] stax:stax-api:jar:1.0.1:compile [DEBUG] org.apache.ws.commons.schema:XmlSchema:jar:1.3.2:compile [DEBUG] org.apache.neethi:neethi:jar:2.0.2:compile [DEBUG] annogen:annogen:jar:0.1.0:compile [DEBUG] org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1:compile [DEBUG] commons-logging:commons-logging:jar:1.1:compile [DEBUG] logkit:logkit:jar:1.0.1:compile [DEBUG] avalon-framework:avalon-framework:jar:4.1.3:compile [DEBUG] org.apache.ws.commons.axiom:axiom-api:jar:1.2.5:compile [DEBUG] jaxen:jaxen:jar:1.1-beta-9:compile [DEBUG] xml-apis:xml-apis:jar:1.3.03:compile [DEBUG] org.apache.ws.commons.axiom:axiom-impl:jar:1.2.5:compile [DEBUG] org.apache.ws.commons.axiom:axiom-dom:jar:1.2.5:compile [DEBUG] javax.mail:mail:jar:1.4:compile [DEBUG] javax.activation:activation:jar:1.1:compile [DEBUG] xalan:xalan:jar:2.7.0:compile [DEBUG] xerces:xercesImpl:jar:2.8.1:compile [DEBUG] commons-io:commons-io:jar:1.2:compile [DEBUG] org.apache.axis2:axis2-metadata:jar:1.3:compile [DEBUG] org.apache.axis2:axis2-jws-api:jar:1.3:compile [DEBUG] org.apache.ant:ant:jar:1.7.0:compile [DEBUG] org.apache.ant:ant-launcher:jar:1.7.0:compile [DEBUG] org.apache.axis2:axis2-jaxws-api:jar:1.3:compile [DEBUG] org.apache.axis2:axis2-saaj-api:jar:1.3:compile [DEBUG] org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.0-M1:compile [DEBUG] org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0-M1:compile [DEBUG] org.apache.axis2:axis2-saaj:jar:1.3:compile [DEBUG] com.sun.xml.bind:jaxb-impl:jar:2.0.5:compile [DEBUG] javax.xml.bind:jsr173_api:jar:1.0:compile [DEBUG] com.sun.xml.bind:jaxb-xjc:jar:2.0.5:compile [DEBUG] log4j:log4j:jar:1.2.14:compile [DEBUG] javax.xml.bind:jaxb-api:jar:2.0:compile [DEBUG] com.google.http-client:google-http-client:jar:1.23.0:compile [DEBUG] com.google.code.findbugs:jsr305:jar:1.3.9:compile [DEBUG] org.apache.httpcomponents:httpclient:jar:4.0.1:compile [DEBUG] org.apache.httpcomponents:httpcore:jar:4.0.1:compile [DEBUG] com.google.http-client:google-http-client-jackson:jar:1.23.0:compile [DEBUG] org.codehaus.jackson:jackson-core-asl:jar:1.9.11:compile [DEBUG] com.google.code.gson:gson:jar:2.6.2:compile [DEBUG] org.slf4j:slf4j-log4j12:jar:1.6.6:compile [DEBUG] org.slf4j:slf4j-api:jar:1.6.6:compile [DEBUG] org.eclipse.jgit:org.eclipse.jgit:jar:3.3.2.201404171909-r:compile [DEBUG] com.jcraft:jsch:jar:0.1.50:compile [DEBUG] com.googlecode.javaewah:JavaEWAH:jar:0.7.9:compile [DEBUG] com.googlecode.json-simple:json-simple:jar:1.1.1:compile [DEBUG] junit:junit:jar:4.10:compile [DEBUG] org.hamcrest:hamcrest-core:jar:1.1:compile [DEBUG] org.springframework:spring-core:jar:3.2.17.RELEASE:compile [DEBUG] org.springframework:spring-context:jar:3.2.17.RELEASE:compile [DEBUG] org.springframework:spring-aop:jar:3.2.17.RELEASE:compile [DEBUG] aopalliance:aopalliance:jar:1.0:compile [DEBUG] org.springframework:spring-beans:jar:3.2.17.RELEASE:compile [DEBUG] org.springframework:spring-expression:jar:3.2.17.RELEASE:compile [DEBUG] org.springframework:spring-web:jar:3.2.17.RELEASE:compile [DEBUG] org.springframework.security:spring-security-crypto:jar:3.2.9.RELEASE:compile [DEBUG] cglib:cglib:jar:2.2.2:compile [DEBUG] asm:asm:jar:3.3.1:compile [DEBUG] org.yaml:snakeyaml:jar:1.19:compile [DEBUG] com.auth0:java-jwt:jar:3.1.0:compile [DEBUG] com.fasterxml.jackson.core:jackson-databind:jar:2.8.4:compile [DEBUG] com.fasterxml.jackson.core:jackson-annotations:jar:2.8.0:compile [DEBUG] com.fasterxml.jackson.core:jackson-core:jar:2.8.4:compile [DEBUG] commons-codec:commons-codec:jar:1.10:compile [DEBUG] org.bouncycastle:bcprov-jdk15on:jar:1.55:compile [DEBUG] Created new class realm plugin>com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1 [DEBUG] Importing foreign packages into class realm plugin>com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1 [DEBUG] Included: com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:jar:1.0.1 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.8 [DEBUG] Included: org.apache.axis2:axis2-kernel:jar:1.3 [DEBUG] Included: javax.servlet:servlet-api:jar:2.3 [DEBUG] Included: commons-httpclient:commons-httpclient:jar:3.0.1 [DEBUG] Included: commons-fileupload:commons-fileupload:jar:1.1.1 [DEBUG] Included: wsdl4j:wsdl4j:jar:1.6.2 [DEBUG] Included: backport-util-concurrent:backport-util-concurrent:jar:2.2 [DEBUG] Included: org.codehaus.woodstox:wstx-asl:jar:3.2.1 [DEBUG] Included: stax:stax-api:jar:1.0.1 [DEBUG] Included: org.apache.ws.commons.schema:XmlSchema:jar:1.3.2 [DEBUG] Included: org.apache.neethi:neethi:jar:2.0.2 [DEBUG] Included: annogen:annogen:jar:0.1.0 [DEBUG] Included: org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1 [DEBUG] Included: commons-logging:commons-logging:jar:1.1 [DEBUG] Included: logkit:logkit:jar:1.0.1 [DEBUG] Included: avalon-framework:avalon-framework:jar:4.1.3 [DEBUG] Included: org.apache.ws.commons.axiom:axiom-api:jar:1.2.5 [DEBUG] Included: jaxen:jaxen:jar:1.1-beta-9 [DEBUG] Included: xml-apis:xml-apis:jar:1.3.03 [DEBUG] Included: org.apache.ws.commons.axiom:axiom-impl:jar:1.2.5 [DEBUG] Included: org.apache.ws.commons.axiom:axiom-dom:jar:1.2.5 [DEBUG] Included: javax.mail:mail:jar:1.4 [DEBUG] Included: javax.activation:activation:jar:1.1 [DEBUG] Included: xalan:xalan:jar:2.7.0 [DEBUG] Included: xerces:xercesImpl:jar:2.8.1 [DEBUG] Included: commons-io:commons-io:jar:1.2 [DEBUG] Included: org.apache.axis2:axis2-metadata:jar:1.3 [DEBUG] Included: org.apache.axis2:axis2-jws-api:jar:1.3 [DEBUG] Included: org.apache.ant:ant:jar:1.7.0 [DEBUG] Included: org.apache.ant:ant-launcher:jar:1.7.0 [DEBUG] Included: org.apache.axis2:axis2-jaxws-api:jar:1.3 [DEBUG] Included: org.apache.axis2:axis2-saaj-api:jar:1.3 [DEBUG] Included: org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.0-M1 [DEBUG] Included: org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0-M1 [DEBUG] Included: org.apache.axis2:axis2-saaj:jar:1.3 [DEBUG] Included: com.sun.xml.bind:jaxb-impl:jar:2.0.5 [DEBUG] Included: javax.xml.bind:jsr173_api:jar:1.0 [DEBUG] Included: com.sun.xml.bind:jaxb-xjc:jar:2.0.5 [DEBUG] Included: log4j:log4j:jar:1.2.14 [DEBUG] Included: javax.xml.bind:jaxb-api:jar:2.0 [DEBUG] Included: com.google.http-client:google-http-client:jar:1.23.0 [DEBUG] Included: com.google.code.findbugs:jsr305:jar:1.3.9 [DEBUG] Included: org.apache.httpcomponents:httpclient:jar:4.0.1 [DEBUG] Included: org.apache.httpcomponents:httpcore:jar:4.0.1 [DEBUG] Included: com.google.http-client:google-http-client-jackson:jar:1.23.0 [DEBUG] Included: org.codehaus.jackson:jackson-core-asl:jar:1.9.11 [DEBUG] Included: com.google.code.gson:gson:jar:2.6.2 [DEBUG] Included: org.slf4j:slf4j-log4j12:jar:1.6.6 [DEBUG] Included: org.eclipse.jgit:org.eclipse.jgit:jar:3.3.2.201404171909-r [DEBUG] Included: com.jcraft:jsch:jar:0.1.50 [DEBUG] Included: com.googlecode.javaewah:JavaEWAH:jar:0.7.9 [DEBUG] Included: com.googlecode.json-simple:json-simple:jar:1.1.1 [DEBUG] Included: junit:junit:jar:4.10 [DEBUG] Included: org.hamcrest:hamcrest-core:jar:1.1 [DEBUG] Included: org.springframework:spring-core:jar:3.2.17.RELEASE [DEBUG] Included: org.springframework:spring-context:jar:3.2.17.RELEASE [DEBUG] Included: org.springframework:spring-aop:jar:3.2.17.RELEASE [DEBUG] Included: aopalliance:aopalliance:jar:1.0 [DEBUG] Included: org.springframework:spring-beans:jar:3.2.17.RELEASE [DEBUG] Included: org.springframework:spring-expression:jar:3.2.17.RELEASE [DEBUG] Included: org.springframework:spring-web:jar:3.2.17.RELEASE [DEBUG] Included: org.springframework.security:spring-security-crypto:jar:3.2.9.RELEASE [DEBUG] Included: cglib:cglib:jar:2.2.2 [DEBUG] Included: asm:asm:jar:3.3.1 [DEBUG] Included: org.yaml:snakeyaml:jar:1.19 [DEBUG] Included: com.auth0:java-jwt:jar:3.1.0 [DEBUG] Included: com.fasterxml.jackson.core:jackson-databind:jar:2.8.4 [DEBUG] Included: com.fasterxml.jackson.core:jackson-annotations:jar:2.8.0 [DEBUG] Included: com.fasterxml.jackson.core:jackson-core:jar:2.8.4 [DEBUG] Included: commons-codec:commons-codec:jar:1.10 [DEBUG] Included: org.bouncycastle:bcprov-jdk15on:jar:1.55 [DEBUG] Configuring mojo com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1:apimodel from plugin realm ClassRealm[plugin>com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1, parent: sun.misc.Launcher$AppClassLoader@5c647e05] [DEBUG] Configuring mojo 'com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1:apimodel' with basic configurator --> [DEBUG] (f) artifactId = DeveloperPortal [DEBUG] (s) baseDirectory = C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal [DEBUG] (f) buildDirectory = C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal\target [DEBUG] (s) options = create [DEBUG] (f) portalCronKey = cronkeyabcxyz123 [DEBUG] (f) portalDirectory = C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal\specs [DEBUG] (f) portalFormat = yaml [DEBUG] (s) path = contact|company [DEBUG] (s) field = field_company [DEBUG] (f) portalModelFields = {company=PortalField: contact|company --> field_company} [DEBUG] (f) portalModelVocabulary = smartdocs_models [DEBUG] (f) portalPassword = adminAPIpassword [DEBUG] (f) portalPath = smartdocs/apis [DEBUG] (f) portalURL = http://dev-apimgmt-poc.devportal.apigee.io [DEBUG] (f) portalUserName = Admin [DEBUG] (f) projectName = DeveloperPortal [DEBUG] (f) projectVersion = 1.0 [DEBUG] (s) skip = false [DEBUG] -- end configuration -- [INFO] ************************************************************************ [INFO] Smart Docs [INFO] ************************************************************************ [DEBUG] Build option create [DEBUG] Portal Path smartdocs/apis [INFO] Get OpenAPI Specs from C:\Users\username\Desktop\apigee-smartdocs-maven-plugin-master\samples\DevPortal\specs [INFO] Retrieve Mock Target API model. [INFO] Model does not currently exist. [INFO] Creating Mock Target API model. [ERROR] 404 Not Found [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.552 s [INFO] Finished at: 2018-07-30T13:24:44-04:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1:apimodel (smartdocs-deploy) on project DeveloperPortal: Execution smartdocs-deploy of goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1:apimodel failed: Update failure: 404 Not Found -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1:apimodel (smartdocs-deploy) on project DeveloperPortal: Execution smartdocs-deploy of goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1:apimodel failed: Update failure: 404 Not Found at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution smartdocs-deploy of goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.1:apimodel failed: Update failure: 404 Not Found at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: java.lang.RuntimeException: Update failure: 404 Not Found at com.apigee.smartdocs.config.mavenplugin.APIModelMojo.doUpdate (APIModelMojo.java:191) at com.apigee.smartdocs.config.mavenplugin.APIModelMojo.execute (APIModelMojo.java:152) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

0 0 419
0 REPLIES 0