Java AEM WKND Apache Maven ConcurrentModificationException生成失败
我正在通过这里的“项目设置”说明()并得到以下失败Java AEM WKND Apache Maven ConcurrentModificationException生成失败,java,eclipse,maven,aem,Java,Eclipse,Maven,Aem,我正在通过这里的“项目设置”说明()并得到以下失败 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for aem-guides-wknd 0.0.1-SNAPSHOT: [INFO] [INFO] aem-guides-wknd .................................... SUCCESS [ 0.990 s
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for aem-guides-wknd 0.0.1-SNAPSHOT:
[INFO]
[INFO] aem-guides-wknd .................................... SUCCESS [ 0.990 s]
[INFO] WKND Sites Project - Core .......................... FAILURE [01:32 min]
[INFO] WKND Sites Project - UI Frontend ................... SKIPPED
[INFO] WKND Sites Project - Repository Structure Package .. SKIPPED
[INFO] WKND Sites Project - UI apps ....................... SKIPPED
[INFO] WKND Sites Project - UI content .................... SKIPPED
[INFO] WKND Sites Project - All ........................... SKIPPED
[INFO] WKND Sites Project - Integration Tests Bundles ..... SKIPPED
[INFO] WKND Sites Project - Integration Tests Launcher .... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:37 min
[INFO] Finished at: 2021-01-30T12:49:20-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal biz.aQute.bnd:bnd-maven-plugin:4.2.0:bnd-process (bnd-process) on project aem-guides-wknd.core: bnd error: null: ConcurrentModificationException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :aem-guides-wknd.core
我导航到,它被引用了,它说MojoExecutionException“不是由Maven核心本身生成的,而是由一个插件生成的”,但我不知道是什么插件导致了这个问题。另外,我得到的错误是“ConcurrentModificationException”,而不是“MojoExecutionException”。你知道我可能缺少什么吗?你应该更新bnd maven插件,修复程序是在v5.1.0中提供的。
更新到一个,它应该可以工作。您应该更新bnd maven插件,修复程序在v5.1.0中提供。
更新为1,应该可以使用。我看到archtype的命令是:
mvn -B archetype:generate \
-D **archetypeGroupId=com.adobe.aem** \
-D archetypeArtifactId=aem-project-archetype \
-D archetypeVersion=26 \
-D appTitle="WKND Sites Project" \
-D appId="wknd" \
-D groupId="com.adobe.aem.guides.wknd" \
-D artifactId="aem-guides-wknd" \
...
至少组id部分应为
archetypeGroupId=com.adobe.aem
您可能需要检查命令并再次运行它。我看到archtype的命令是:
mvn -B archetype:generate \
-D **archetypeGroupId=com.adobe.aem** \
-D archetypeArtifactId=aem-project-archetype \
-D archetypeVersion=26 \
-D appTitle="WKND Sites Project" \
-D appId="wknd" \
-D groupId="com.adobe.aem.guides.wknd" \
-D artifactId="aem-guides-wknd" \
...
至少组id部分应为
archetypeGroupId=com.adobe.aem
您可能需要检查您的命令并再次运行它