项目xxx:在项目源或资源中找不到GWT模块

时间:2015-08-19 18:53:29

标签: maven gwt gwt-maven-plugin

我在多模块gwt应用程序中看到一些随机故障。

  

无法执行目标   org.codehaus.mojo:gwt-maven-plugin:2.6.1:在项目上编译(编译)   xxx:GWT模块yyy在项目源或资源中找不到。 - >   [求助1] 2015-08-18 09:26:34 gobuilds.Compile:   org.apache.maven.lifecycle.LifecycleExecutionException:失败   执行目标org.codehaus.mojo:gwt-maven-plugin:2.6.1:编译   (编译)项目xxx:GWT模块yyy在项目源中找不到   或资源。 2015-08-18 09:26:34 gobuilds.Compile:at   org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)   2015-08-18 09:26:34 gobuilds.Compile:at   org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)   2015-08-18 09:26:34 gobuilds.Compile:at   org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)   2015-08-18 09:26:34 gobuilds.Compile:at   org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)   2015-08-18 09:26:34 gobuilds.Compile:at   org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder $ 1.call(MultiThreadedBuilder.java:189)   2015-08-18 09:26:34 gobuilds.Compile:at   org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder $ 1.call(MultiThreadedBuilder.java:185)   2015-08-18 09:26:34 gobuilds.Compile:at   java.util.concurrent.FutureTask.run(FutureTask.java:262)2015-08-18   09:26:34 gobuilds.Compile:at   java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:471)   2015-08-18 09:26:34 gobuilds.Compile:at   java.util.concurrent.FutureTask.run(FutureTask.java:262)2015-08-18   09:26:34 gobuilds.Compile:at   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)   2015-08-18 09:26:34 gobuilds.Compile:at   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:615)   2015-08-18 09:26:34 gobuilds.Compile:at   java.lang.Thread.run(Thread.java:745)

我们正在使用:

  

GWT - 2.6.1 GWT Maven插件 - 2.6.1

GWT maven args:

  

-XX:MaxPermSize = 512m -Xmx1024m -Djava.io.tmpdir = $ {project.build.directory} -XX:ReservedCodeCacheSize = 256m -XX:+ UseCodeCacheFlushing

我们正在使用maven parallel build选项:

  

-T 2

有趣的是' xxx'是不变的' yyy'每次运行可能会有所不同。然而,失败完全是零星的。

这个问题很难再现,因此想问一下是否有人对此有所了解?

0 个答案:

没有答案