[
https://issues.apache.org/jira/browse/AMBARI-21273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jaimin Jetly updated AMBARI-21273:
----------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Patch committed to trunk and
https://cwiki.apache.org/confluence/display/AMBARI/Releasing+Ambari has also
been updated to generate and commit swagger.json and index.html before ambari
release
> Swagger resources generation for doc purpose should not be part of default
> maven profile
> ----------------------------------------------------------------------------------------
>
> Key: AMBARI-21273
> URL: https://issues.apache.org/jira/browse/AMBARI-21273
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: 3.0.0
> Reporter: Jaimin Jetly
> Assignee: Jaimin Jetly
> Fix For: 3.0.0
>
> Attachments: AMBARI-21273.patch
>
>
> On executing mvn compile on ambari-server and then checking with git status,
> following files are automatically added/edited even when no code changes are
> made
> {code}
> modified: ambari-server/docs/api/generated/index.html
> Untracked files:
> (use "git add <file>..." to include in what will be committed)
> docs/api/
> {code}
> As a fix to this issue, swagger resources that are presently checked in to
> ambari project at ambari-server/docs/api/generated/ will be updated only when
> mvn command is executed with -Dgenerate.swagger.resources flag.
> This is expected to be done and resources should be checked in just before
> every new ambari release. with this commit, ambari wiki page for release
> guideline will also be updated
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)