You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sandor Molnar (JIRA)" <ji...@apache.org> on 2018/10/19 12:31:00 UTC

[jira] [Created] (AMBARI-24806) spec for Ambari REST API geenration is failing

Sandor Molnar created AMBARI-24806:
--------------------------------------

             Summary: spec for Ambari REST API geenration is failing
                 Key: AMBARI-24806
                 URL: https://issues.apache.org/jira/browse/AMBARI-24806
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 2.8.0
            Reporter: Sandor Molnar
            Assignee: Sandor Molnar
             Fix For: 2.8.0


Running the following command failed with the following error:

 
{noformat}
mvn -Del.log=WARN -Dcheckstyle.skip -Dfindbugs.skip -Drat.skip -DskipTests -DfailIfNoTests=false -am -pl ambari-server clean install
...
[ERROR] Failed to execute goal com.github.kongchen:swagger-maven-plugin:3.1.4:generate (default) on project ambari-server: Conflicting setter definitions for property "requestBody": org.apache.ambari.server.orm.entities.RequestScheduleBatchRequestEntity#setRequestBody(1 params) vs org.apache.ambari.server.orm.entities.RequestScheduleBatchRequestEntity#setRequestBody(1 params) -> [Help 1]
{noformat}
 

According to this thread t[his is a known issue|https://github.com/FasterXML/jackson-databind/issues/1251] in swagger

Upgrading the swagger plugin to 3.1.5 solves the issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)