{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • General /
This question was closed Dec 18, 2019 at 11:57 PM by Dino-at-Google.
avatar image
0
Question by Semih Ural · Dec 18, 2019 at 11:36 AM · 71 Views mavenmaven deploy plugin

Deploy with creating new revision

Hi,

I was able to deploy my proxy but after I would like to run my Jenkins to create a new revision I received an error says "MojoExecutionException: no JSON input found".

How can I handle this issue?

<pre>=============Initializing Maven Deployment================
[INFO] 
Request prepared for the server 
 **************************
GET  <a href="https://myhost/management/v1/organizations/public-mb-cars/apis/wiservice_api_v1/deployments">https://myhost/management/v1/organizations/public-mb-cars/apis/wiservice_api_v1/deployments</a>
accept: application/json
accept-encoding: gzip
authorization: Basic [Not shown in log]
[INFO] Active Revision: 12
[INFO] Updating Active Revision: 12
[INFO] 

=============Updating App================
[INFO] 
Request prepared for the server 
 **************************
POST  <a href="https://myhost/management/v1/organizations/public-mb-cars/apis/wiservice_api_v1/revisions/12?validate=true">https://myhost/management/v1/organizations/public-mb-cars/apis/wiservice_api_v1/revisions/12?validate=true</a>
accept: application/json
accept-encoding: gzip
authorization: Basic [Not shown in log]
content-type: application/octet-stream
 [Request body contains data, not shown] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.976 s
[INFO] Finished at: 2019-12-18T12:28:36+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.apigee.build-tools.enterprise4g:apigee-edge-maven-plugin:1.1.7:deploy (deploy-bundle-step) on project wiservice_api_v1: : MojoExecutionException: no JSON input found -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException">http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException</a>
[Pipeline] slackSend
Comment
Add comment Show 2
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Dino-at-Google ♦♦   · Dec 18, 2019 at 07:39 PM 0
Link

Semih, I think you had a similar question in another thread and Sai has made a suggestion there. So let's try to get you the help you need on that thread, with the maven plugins, rather than scattering questions around in various threads.

avatar image Semih Ural Dino-at-Google ♦♦ · Dec 18, 2019 at 07:58 PM 0
Link

That is correct. Appreciate again for Sai's support. I am waiting his feedbacks

Close

0 Answers

  • Sort: 

Follow this Question

Answers Answers and Comments

54 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Automate bundle creation using openAPISpec + add necessary policies + push it to edge - cicd using Azure Devops 1 Answer

maven plugin package and deploy 0 Answers

Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 operation time out 0 Answers

Could you please provide settings.xml file for APIGEE to deploy using maven plugin? 1 Answer

Maven plugin deployment error 0 Answers

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges