Проведя небольшое исследование, я обнаружил Old Post со ссылкой на сайт системы отслеживания проблем Hudson с некоторой информацией о почти идентичной проблеме, которая, как утверждают, исправлена в текущих версиях Hudson 2.0.1 и Maven 2.2.1, который я использую.
Может показаться, что когда я пытаюсь запустить свои тесты на Гудзоне, я получаю сообщение «не могу найти ошибку символа», нет, оно нормально работает в затмении, что заставляет меня думать, что это может быть связано с Гудзоном и Мейвеном, но яЯ не уверен.
Вот мой след стека с частями, которые, как я считаю (после прочтения предыдущего поста), актуальны или как-то связаны
[WARNING]
************ WARNING ************
This Maven runtime contains a LifecycleExecutor component with an incomplete configuration.
LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor
Missing component requirement: org.apache.maven.project.MavenProjectBuilder
NOTE: This seems to be a third-party Maven derivative you are using. If so, please
notify the developers for this derivative project of the problem. The Apache Maven team is not
responsible for maintaining the integrity of third-party component overrides.
[WARNING]
************ WARNING ************
This Maven runtime contains a LifecycleExecutor component with an incomplete configuration.
LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor
Missing component requirement: org.apache.maven.project.interpolation.ModelInterpolator
NOTE: This seems to be a third-party Maven derivative you are using. If so, please
notify the developers for this derivative project of the problem. The Apache Maven team is not
responsible for maintaining the integrity of third-party component overrides.
[WARNING]
************ WARNING ************
This Maven runtime contains a LifecycleExecutor component with an incomplete configuration.
LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor
Missing component requirement: org.apache.maven.ConfigurationInterpolator
NOTE: This seems to be a third-party Maven derivative you are using. If so, please
notify the developers for this derivative project of the problem. The Apache Maven team is not
responsible for maintaining the integrity of third-party component overrides.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Lonely Planet Code Test
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: /var/lib/hudson/jobs/Lonely Planet Coding Tests/workspace/trunk/com.lonelyplanet.codetest.wkallan/target (included: [**], excluded: [])
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1 source file to /var/lib/hudson/jobs/Lonely Planet Coding Tests/workspace/trunk/com.lonelyplanet.codetest.wkallan/target/classes
[HUDSON] Archiving /var/lib/hudson/jobs/Lonely Planet Coding Tests/workspace/trunk/com.lonelyplanet.codetest.wkallan/pom.xml to /var/lib/hudson/jobs/Lonely Planet Coding Tests/modules/com.lonelyplanet.codetest.wkallan$com.lonelyplanet.codetest.wkallan/builds/2011-06-30_13-40-15/archive/com.lonelyplanet.codetest.wkallan/com.lonelyplanet.codetest.wkallan/0.0.1-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/var/lib/hudson/jobs/Lonely Planet Coding Tests/workspace/trunk/com.lonelyplanet.codetest.wkallan/src/main/java/com/lonelyplanet/codetest/wkallan/ContentGenerator.java:[30,15] cannot find symbol
symbol : method format(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
location: class java.lang.String