2011-10-03 67 views
0

我試圖在我的Maven構建中使用apklib。像往常一樣,我將它推送到我的本地存儲庫install:install-file。然後,它被包含在構建有:maven:apklib「擴展爲null」

<dependency> 
     <groupId>com.scoreloop</groupId> 
     <artifactId>scoreloop-ui</artifactId> 
     <version>2.3.2</version> 
     <type>apklib</type> 
     <scope>compile</scope> 
    </dependency> 

運行的版本,現可生產以下行:

[INFO] [android:generate-sources {execution: default-generate-sources}] 
[DEBUG] Expanding: C:\Users\vertti\Documents\My Dropbox\dev-folder\m2\repository\com\scoreloop\scoreloop-ui\2.3.2\scoreloop-ui-2.3.2.apklib into null 
[DEBUG] expand complete 

嗯...嗯..謝謝,null也正是我希望我的apklibs: )

我使用Maven 2.2.1和Maven的Android的插件2.9.0-β-5

任何想法可能是錯誤的?

+0

您是否在其他項目中遇到過問題? Maven遇到的問題是它的存儲庫('m2' dir)駐留在具有空格的路徑上。 –

+0

不,迄今爲止所有的工作都很好,我得到了大約10個依賴關係,其中一半用上面提到的'install:install-file'手動添加了 – vertti

回答

0

嗯,不是一個真正的答案,但我升級到Maven 3和android-maven-plugin 3.0.3 alpha 11和現在相同的pom.xml。