2017-06-19 41 views
0

我按照這裏的步驟:https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project安裝Atlassian SDK JIRA插件開發。Atlassian SDK是否自動安裝JIRA?

令我驚訝的是,當我運行「atlas-run」時,JIRA啓動了。我想知道在安裝過程中SDK是否安裝了JIRA?

我問這個的原因是我遵循這個文檔:https://developer.atlassian.com/docs/getting-started/learn-the-development-platform-by-example/create-a-plugin-skeleton來創建一個refapp骨架。但是,當我嘗試啓動JIRA,JIRA推出失敗枝條以下錯誤:

JIRA Startup Failed 
    The following plugins are required by JIRA, but have not been started: 
    Atlassian JIRA - Plugins - Gadgets Plugin (com.atlassian.jira.gadgets) 
    JIRA Projects Plugin (com.atlassian.jira.jira-projects-plugin) 
    Atlassian OAuth Consumer Plugin (com.atlassian.oauth.consumer) 
    Atlassian Navigation Links Plugin (com.atlassian.plugins.atlassian-nav-links-plugin) 
    Atlassian JIRA - Plugins - OAuth Service Provider SPI (com.atlassian.jira.oauth.serviceprovider) 
    Atlassian JIRA - Plugins - Issue Navigation (com.atlassian.jira.jira-issue-nav-plugin) 
    Atlassian JIRA - Plugins - Quick Edit Plugin (com.atlassian.jira.jira-quick-edit-plugin) 
    Atlassian OAuth Admin Plugin (com.atlassian.oauth.admin) 
    Atlassian REST - Module Types (com.atlassian.plugins.rest.atlassian-rest-module) 
    Atlassian JIRA - Plugins - Project Config Plugin (com.atlassian.jira.jira-project-config-plugin) 
    Atlassian JIRA - Plugins - REST Plugin (com.atlassian.jira.rest) 
    Opensocial Plugin (com.atlassian.gadgets.opensocial) 
    Applinks Product Plugin (com.atlassian.applinks.applinks-plugin) 
    Atlassian OAuth Service Provider Plugin (com.atlassian.oauth.serviceprovider) 
    Atlassian JIRA - Plugins - Look And Feel Logo Upload Plugin (com.atlassian.jira.lookandfeel) 
    Embedded Gadgets Plugin (com.atlassian.gadgets.embedded) 
    Gadget Spec Publisher Plugin (com.atlassian.gadgets.publisher) 
    Atlassian JIRA - Plugins - OAuth Consumer SPI (com.atlassian.jira.oauth.consumer) 
    RPC JIRA Plugin (com.atlassian.jira.ext.rpc) 
    Gadget Directory Plugin (com.atlassian.gadgets.directory) 
    Atlassian JIRA - Plugins - SAL Plugin (com.atlassian.sal.jira) 
    Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard) 

我懷疑JIRA被鎖定,所以我需要刪除.jira.lock文件,我需要弄清楚什麼JIRA_Home目錄是

回答

1

Atlassian SDK不會「開箱即用」安裝JIRA。如果您在插件項目中發佈atlas-run,則SDK將通過Maven獲取JIRA實例的所有必需依賴項,並將JIRA的開發版本安裝到當前插件的target文件夾中。

我建議通過atlas-create-jira-plugin重新創建一個乾淨的插件,因爲refapp可能已過時。

https://developer.atlassian.com/docs/developer-tools/working-with-the-sdk/command-reference/atlas-create-jira-plugin

+0

感謝您的回覆。是的,我從atlas-create-jira-plugin開始工作。我懷疑在將組件重新轉換爲servlet模塊時可能會出錯... – user1888955

+0

好的,很酷,那麼請隨時將我的答案標記爲「正確」。 ;) – wtfzn

相關問題