English 中文(简体)
Hudson和Maven检测两次
原标题:Hudson and Maven tests run twice
Parsing POMs
Discovered a new module be.howest:someproject someproject

看来,我第一次找到了一个新的单元。 诚然,没有什么真的担心,但似乎有两次执行,我不知道为什么。 另一点是:它造成这种奇迹错误(至少对我而言):

[WARNING] Removing: cobertura from forked lifecycle, to prevent recursive invocation.
[WARNING] Removing: findbugs from forked lifecycle, to prevent recursive invocation.

To me this looks like it tried to execute twice, but why is escaping me. Also, it has a module under the build, which is something i m not very familiar with, but I wouldn t bother too much (and consider it normal) if it didn t do my tests twice.

right now it is running two phases: clean and test. I changed it to clean package, because I included javadoc in the package lifecycle, but nothing has changed.


最佳回答

Maven将首先在没有任何仪器的情况下进行测试,然后将实施将包含这些课程并重新进行所有测试的 co。 因此,试验将两次进行。

问题回答

该编码为,使测试第二次进行。





相关问题
Derby gets stuck closing?

I ve got unit tests (in maven) that use derby. At the end of the test run, there is a very long pause, with these log messages before the pause. INFO: Closing Hibernate SessionFactory Nov 16, 2009 8:...

Execute goal on parent after children complete

I have a multi-module maven project (several levels of nesting). Normally, when I execute a maven build (like mvn install or whatever), maven will run all the goals for the parent project before ...

Including dependencies in a jar with Maven

Is there a way to force maven(2.0.9) to include all the dependencies in a single jar file? I have a project the builds into a single jar file. I want the classes from dependencies to be copied into ...

Java Equivalent of distcc

Distcc makes it easy to distribute a C or C++ compile job across a number of machines, and is a godsend for working with large, frequently-built codebases. An increasing number of our large projects ...

Maven Assembly Problem

I have a maven multiple-module project, which is giving me headaches in the assembly:assembly phase. I have a module which has an assembly defined in it which works fine when I invoke mvn assembly:...

热门标签