Online report : 
http://maven.zones.apache.org/continuum/buildResult.action?buildId=19425&projectId=337

Build statistics:
 State: Failed
 Previous State: Failed
 Started at: Mon 3 Sep 2007 03:12:47 +0000
 Finished at: Mon 3 Sep 2007 03:13:17 +0000
 Total time: 29s
 Build Trigger: Schedule
 Build Number: 102
 Exit code: 1
 Building machine hostname: maven.zones.apache.org
 Operating system : SunOS(unknown)
Java Home version : java version "1.5.0_12"
         Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
         Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
Builder version :
         Maven version: 2.0.7
         Java version: 1.5.0_12
         OS name: "sunos" version: "5.10" arch: "x86"
****************************************************************************
SCM Changes:
****************************************************************************
Changed: jvanzyl @ Mon 3 Sep 2007 02:35:05 +0000
Comment: o adding a validation method to the lifecycle executor so that I can 
tell users what is wrong before actually trying
 to execute the lifecycle. Trying to do this validation shows in detail how 
tangled some of our code is as I need
to create the dispatcher in order to create the session which is required to make the reactorManager which is required to get the project required to validate the goal name ... yah.
Files changed:
 
/maven/components/trunk/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
 ( 572214 )
 
/maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
 ( 572214 )
 
/maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java
 ( 572214 )
 
/maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/TaskValidationResult.java
 ( 572214 )
 
/maven/components/trunk/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
 ( 572214 )

****************************************************************************
Dependencies Changes:
****************************************************************************
org.apache.maven:maven-lifecycle:2.1-SNAPSHOT

org.apache.maven:maven-build-context:2.1-SNAPSHOT

org.apache.maven:maven-settings:2.1-SNAPSHOT

org.apache.maven:maven-plugin-parameter-documenter:2.1-SNAPSHOT

org.apache.maven.reporting:maven-reporting-api:2.1-SNAPSHOT

org.apache.maven:maven-profile:2.1-SNAPSHOT

org.apache.maven:maven-model:2.1-SNAPSHOT

org.apache.maven:maven-error-diagnostics:2.1-SNAPSHOT

org.apache.maven:maven-project:2.1-SNAPSHOT

org.apache.maven:maven-plugin-api:2.1-SNAPSHOT

org.apache.maven:maven-plugin-descriptor:2.1-SNAPSHOT

org.apache.maven:maven-monitor:2.1-SNAPSHOT

org.apache.maven:maven:2.1-SNAPSHOT

****************************************************************************
Test Summary:
****************************************************************************
Tests: 54
Failures: 29
Total time: 1392

****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Maven Core
[INFO]    task-segment: [clean, install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /export/home/build/data/continuum/checkouts/337/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 14 resources
[INFO] [compiler:compile]
[INFO] Compiling 84 source files to 
/export/home/build/data/continuum/checkouts/337/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 22 resources
[INFO] [compiler:testCompile]
[INFO] Compiling 12 source files to 
/export/home/build/data/continuum/checkouts/337/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: 
/export/home/build/data/continuum/checkouts/337/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.maven.lifecycle.plan.BuildPlanTest


Expected execution plan:
[groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'start-fork'
executionId = 'default'
groupId = 'test'
artifactId = 'test-plugin'
goal = 'validate'
executionId = 'default'
groupId = 'test'
artifactId = 'test-plugin'
goal = 'generate-sources'
executionId = 'default'
groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'end-fork'
executionId = 'default'
groupId = 'org.apache.maven.plugins'
artifactId = 'maven-eclipse-plugin'
goal = 'eclipse'
executionId = 'default'
groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'clear-fork-context'
executionId = 'default']

Actual execution plan:
[groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'start-fork'
executionId = 'default'
groupId = 'test'
artifactId = 'test-plugin'
goal = 'validate'
executionId = 'default'
groupId = 'test'
artifactId = 'test-plugin'
goal = 'generate-sources'
executionId = 'default'
groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'end-fork'
executionId = 'default'
groupId = 'org.apache.maven.plugins'
artifactId = 'maven-eclipse-plugin'
goal = 'eclipse'
executionId = 'default'
groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'clear-fork-context'
executionId = 'default']


Expected execution plan:
[groupId = 'test'
artifactId = 'test-plugin'
goal = 'validate'
executionId = 'default'
groupId = 'test'
artifactId = 'test-plugin'
goal = 'generate-sources'
executionId = 'default'
groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'start-fork'
executionId = 'default'
groupId = 'test'
artifactId = 'test-plugin'
goal = 'validate'
executionId = 'default'
groupId = 'test'
artifactId = 'test-plugin'
goal = 'generate-sources'
executionId = 'default'
groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'end-fork'
executionId = 'default'
groupId = 'org.apache.maven.plugins'
artifactId = 'maven-assembly-plugin'
goal = 'assembly'
executionId = 'default'
groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'clear-fork-context'
executionId = 'default']

Actual execution plan:
[groupId = 'test'
artifactId = 'test-plugin'
goal = 'validate'
executionId = 'default'
groupId = 'test'
artifactId = 'test-plugin'
goal = 'generate-sources'
executionId = 'default'
groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'start-fork'
executionId = 'default'
groupId = 'test'
artifactId = 'test-plugin'
goal = 'validate'
executionId = 'default'
groupId = 'test'
artifactId = 'test-plugin'
goal = 'generate-sources'
executionId = 'default'
groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'end-fork'
executionId = 'default'
groupId = 'org.apache.maven.plugins'
artifactId = 'maven-assembly-plugin'
goal = 'assembly'
executionId = 'default'
groupId = 'org.apache.maven.plugins.internal'
artifactId = 'maven-state-management'
goal = 'clear-fork-context'
executionId = 'default']
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
Running org.apache.maven.plugin.version.IntervalUtilsTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec
Running org.apache.maven.lifecycle.plan.DefaultBuildPlannerTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.385 sec <<< 
FAILURE!
Running org.apache.maven.lifecycle.binding.DefaultLifecycleBindingManagerTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.253 sec <<< 
FAILURE!
Running org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest
Tests run: 12, Failures: 0, Errors: 12, Skipped: 0, Time elapsed: 0.463 sec <<< 
FAILURE!
Running org.apache.maven.usability.PluginErrorDiagnoserTest
---------------------------------------------------------------------
Visual output for testShouldDiagnoseInvalidPluginConfiguration:
---------------------------------------------------------------------
Failed to configure plugin parameters for: testGroup:testArtifact:null



Cause: Class 'org.apache.maven.plugin.jar.JarMojo' does not contain a field 
named 'addClasspath'
---------------------------------------------------------------------
Visual output for testParamWithOneReportsExpressionAndOneProjectBasedExpression:
---------------------------------------------------------------------
One or more required plugin parameters are invalid/missing for 'test:test'

[0] on the command line, specify: '-Dreports=VALUE'

[1] on the command line, specify: '-Dproject.build.finalName=VALUE'

---------------------------------------------------------------------
Visual output for testParamWithNonActiveExpression:
---------------------------------------------------------------------
One or more required plugin parameters are invalid/missing for 'test:test'

[0] Inside the definition for plugin 'maven-test-plugin' specify the following:

<configuration>
 ...
 <testName>VALUE</testName>
</configuration>

-OR-

<configuration>
 ...
 <testAlias>VALUE</testAlias>
</configuration>


-OR-

   (found static expression: '${project.build.finalName' which may act as a 
default value).


---------------------------------------------------------------------
Visual output for testParamWithoutExpression:
---------------------------------------------------------------------
One or more required plugin parameters are invalid/missing for 'test:test'

[0] Inside the definition for plugin 'maven-test-plugin' specify the following:

<configuration>
 ...
 <testName>VALUE</testName>
</configuration>

-OR-

<configuration>
 ...
 <testAlias>VALUE</testAlias>
</configuration>
.

---------------------------------------------------------------------
Visual output for testParamWithOneLocalRepositoryExpression:
---------------------------------------------------------------------
One or more required plugin parameters are invalid/missing for 'test:test'

[0] check that the following section of is present and correct:

Inside ~/.m2/settings.xml:
<localRepository>/path/to/local/repository</localRepository>

-OR-

Use the following command-line switches:

-Dmaven.repo.local=/path/to/local/repo .... Override the local repository 
location on a per-build basis.


---------------------------------------------------------------------
Visual output for testParamWithOneSystemPropertyExpression:
---------------------------------------------------------------------
One or more required plugin parameters are invalid/missing for 'test:test'

[0] on the command line, specify: '-Dmaven.mode.online=VALUE'

---------------------------------------------------------------------
Visual output for testParamWithOneProjectBasedExpression:
---------------------------------------------------------------------
One or more required plugin parameters are invalid/missing for 'test:test'

[0] Inside the definition for plugin 'maven-test-plugin' specify the following:

<configuration>
 ...
 <testName>VALUE</testName>
</configuration>

-OR-

<configuration>
 ...
 <testAlias>VALUE</testAlias>
</configuration>


-OR-

on the command line, specify: '-Dproject.build.finalName=VALUE'

---------------------------------------------------------------------
Visual output for testParamWithOneProjectAPIBasedExpression:
---------------------------------------------------------------------
One or more required plugin parameters are invalid/missing for 'test:test'

[0] check that the following section of the pom.xml is present and correct:

<distributionManagement>
 <!-- use the following if you're not using a snapshot version. -->
 <repository>
   <id>repo</id>
   <name>Repository Name</name>
   <url>scp://host/path/to/repo</url>
 </repository>
 <!-- use the following if you ARE using a snapshot version. -->
 <snapshotRepository>
   <id>repo</id>
   <name>Repository Name</name>
   <url>scp://host/path/to/repo</url>
 </snapshotRepository>
</distributionManagement>

---------------------------------------------------------------------
Visual output for testNonEditableParamWithOneProjectBasedExpression:
---------------------------------------------------------------------
One or more required plugin parameters are invalid/missing for 'test:test'

[0] on the command line, specify: '-Dproject.build.finalName=VALUE'

Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
Running org.apache.maven.usability.InvalidArtifactDiagnoserTest
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.085 sec <<< 
FAILURE!
Running org.apache.maven.lifecycle.LegacyLifecycleMappingParserTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.081 sec <<< 
FAILURE!
Running org.apache.maven.lifecycle.binding.DefaultMojoBindingFactoryTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.061 sec <<< 
FAILURE!

Results :

Tests in error: test_constructBuildPlan_ForkedPhaseFromMojoBoundInThatPhase(org.apache.maven.lifecycle.plan.DefaultBuildPlannerTest)
 
testLookup(org.apache.maven.lifecycle.binding.DefaultLifecycleBindingManagerTest)
 
testGetBindingsForPackaging_TestMergePluginConfigToBinding(org.apache.maven.lifecycle.binding.DefaultLifecycleBindingManagerTest)
 
testGetBindingsForPackaging_TestMergePluginManagementConfigToBinding(org.apache.maven.lifecycle.binding.DefaultLifecycleBindingManagerTest)
 
testGetProjectCustomBindings_ExecutionConfigShouldOverridePluginConfig(org.apache.maven.lifecycle.binding.DefaultLifecycleBindingManagerTest)
 
testValueExtractionWithAPomValueContainingAPath(org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest)
 
testEscapedVariablePassthrough(org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest)
 
testEscapedVariablePassthroughInLargerExpression(org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest)
 
testMultipleSubExpressionsInLargerExpression(org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest)
 
testMissingPOMPropertyRefInLargerExpression(org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest)
 
testPOMPropertyExtractionWithMissingProject_WithDotNotation(org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest)
 
testBasedirExtractionWithMissingProject(org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest)
 
testValueExtractionFromSystemPropertiesWithMissingProject(org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest)
 
testValueExtractionFromSystemPropertiesWithMissingProject_WithDotNotation(org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest)
 
testLocalRepositoryExtraction(org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest)
 
testTwoExpressions(org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest)
 
testShouldExtractPluginArtifacts(org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest)
 
testShouldDiagnoseArtifactWithMissingGroupId(org.apache.maven.usability.InvalidArtifactDiagnoserTest)
 
testShouldDiagnoseArtifactWithMissingArtifactId(org.apache.maven.usability.InvalidArtifactDiagnoserTest)
 
testShouldDiagnoseArtifactWithMissingVersion(org.apache.maven.usability.InvalidArtifactDiagnoserTest)
 
testShouldDiagnoseArtifactWithMissingType(org.apache.maven.usability.InvalidArtifactDiagnoserTest)
 
testShouldDiagnoseArtifactWithMissingGroupIdAndArtifactId(org.apache.maven.usability.InvalidArtifactDiagnoserTest)
 
testParseDefaultMappings_UsingExistingDefaultMappings(org.apache.maven.lifecycle.LegacyLifecycleMappingParserTest)
 
testParseMappings_SparselyPopulatedMappings(org.apache.maven.lifecycle.LegacyLifecycleMappingParserTest)
 
testParseMappings_MappingsWithTwoBindingsInOnePhase(org.apache.maven.lifecycle.LegacyLifecycleMappingParserTest)
 
testPrefixGoalSpec_PrefixReferenceNotAllowed(org.apache.maven.lifecycle.binding.DefaultMojoBindingFactoryTest)
 
testGroupIdArtifactIdGoalSpec_ShouldParseCorrectly(org.apache.maven.lifecycle.binding.DefaultMojoBindingFactoryTest)
 
testGroupIdArtifactIdVersionGoalSpec_ShouldParseCorrectly(org.apache.maven.lifecycle.binding.DefaultMojoBindingFactoryTest)
 
testSpecWithTooManyParts_ShouldFail(org.apache.maven.lifecycle.binding.DefaultMojoBindingFactoryTest)

Tests run: 54, Failures: 0, Errors: 29, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Mon Sep 03 03:13:16 GMT+00:00 2007
[INFO] Final Memory: 9M/322M
[INFO] ------------------------------------------------------------------------

****************************************************************************


Reply via email to