Funambol Developer's Guide 中 connector development例子的問題

來源:互聯網
上載者:User

標籤:

今天學習Funambol的connector開發,官方文檔中的例子有問題。

首先,文檔中提供的maven命令不可用:

mvn archetype:generate -DarchetypeGroupId=funambol       -DarchetypeArtifactId=funambol-module-archetype -DarchetypeVersion=8.0.0       -DgroupId=acme -DartifactId=acmeconnector       -DarchetypeRepository=http://m2.funambol.org/repositories/artifacts       -Dversion=1.0.0
通過查看提示,是指定的maven庫找不到了,http://m2.funambol.org/repositories/artifacts;

解決辦法:地址改為:http://m2.funambol.com/repositories/artifacts;

這樣maven工程就可以建立成功了。

接著建立出來的工程中,pom檔案會報錯。

一個是xml的檔案頭,直接從別的工程拷貝覆蓋一下。

然後兩個maven庫同樣是網域名稱錯誤。http://m2.funambol.org都改成http://m2.funambol.com。

另外一個外掛程式的版本不對:

            <plugin>                <groupId>funambol</groupId>                <artifactId>funambol-plugin</artifactId>                <version>1.0.8</version>                <extensions>true</extensions>            </plugin>

將<version>1.0.8</version> 改成<version>1.1.0-SNAPSHOT</version>

最後   把packaging的s4j改成jar  <packaging>jar</packaging>


終於編譯通過。


著作權聲明:本文為博主原創文章,未經博主允許不得轉載。

Funambol Developer's Guide 中 connector development例子的問題

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.