无法找到魔力'生成源'

时间:2012-05-11 23:10:24

标签: maven playn

当我尝试安装playn时,我明白了:

[INFO] ------------------------------------------------------------------------
[INFO] Building PlayN Tests Android
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: enforce-maven}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal 'com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.1.1:generate-sources': Unable to find the mojo 'generate-sources' (or one of its required components) in the plugin 'com.jayway.maven.plugins.android.generation2:android-maven-plugin'
Component descriptor cannot be found in the component repository: org.sonatype.aether.RepositorySystem.

1 个答案:

答案 0 :(得分:3)

当您需要使用Maven 3时,使用Maven 2会导致错误。