maven:apklib“扩展为空”
我正在尝试在 Maven 构建中使用 apklib
。我已经像往常一样使用 install:install-file
将其推送到我的本地存储库。然后它被包含在构建中:
<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-plugin 2.9.0-beta-5
有什么想法可能是错误的吗?
I'm trying to use an apklib
in my Maven build. I've pushed it to my local repository with install:install-file
as usual. Then it gets included in the build with:
<dependency>
<groupId>com.scoreloop</groupId>
<artifactId>scoreloop-ui</artifactId>
<version>2.3.2</version>
<type>apklib</type>
<scope>compile</scope>
</dependency>
Running the build now produces the following line:
[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
Well... umm.. thanks, null
is exactly where I want my apklibs :)
I'm using Maven 2.2.1 and maven-android-plugin 2.9.0-beta-5
Any ideas what could be wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,这不是一个真正的答案,但我升级到 Maven 3 和 android-maven-plugin 3.0.3 alpha 11 并且相同的 pom.xml 现在可以工作。
Well, not a real answer but I upgraded to Maven 3 and android-maven-plugin 3.0.3 alpha 11 and the same pom.xml works now.