maven - 无法找到魔力 'generate-sources'

标签 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.

最佳答案

该错误是由在需要使用 Maven 3 时使用 Maven 2 引起的。

关于maven - 无法找到魔力 'generate-sources',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10559652/

相关文章:

java - PlayN mp3 支持 UnsupportedAudioFileException

java - 当我尝试使用 maven 和 pom.xml 更改输出目录时出现错误

java - Spring WS 和 UDDI

spring-boot-maven-plugin build-info.properties

json - 如何在客户端-服务器 PlayN 游戏中处理 RPC?

sockets - PLayN可以和 socket 一起使用吗?

maven - 如何对 PlayN 项目进行单元测试?

java - 即使由于脚本中的错误处理(try 和 catch block )导致测试失败,Jenkins 也会显示 "Build Success"

java - Maven XML 插件 - 如何使用 document() 函数定义 URIResolver 或 SystemID 进行转换?

java - 运行 PlayN 游戏的多个实例时出现奇怪的错误