You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Graham Leggett <mi...@sharp.fm> on 2007/06/06 16:17:17 UTC

Build of maven 2.0.x branch: test failures

Hi all,

When an attempt is made to build a fresh checkout of the 2.0.x branch of
maven from
https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x
using maven v2.0.6, I get test failures as below:

[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Maven Core
[INFO]    task-segment: [clean, install]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO] Deleting directory
C:\Java\development\maven\maven-2.0.x\maven-core\targe
t
[INFO] Deleting directory
C:\Java\development\maven\maven-2.0.x\maven-core\targe
t\classes
[INFO] Deleting directory
C:\Java\development\maven\maven-2.0.x\maven-core\targe
t\test-classes
[INFO] Deleting directory
C:\Java\development\maven\maven-2.0.x\maven-core\targe
t\site
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 59 source files to
C:\Java\development\maven\maven-2.0.x\maven-
core\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 9 source files to
C:\Java\development\maven\maven-2.0.x\maven-c
ore\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\Java\development\maven\maven-2.0.x\maven-co
re\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.cli.BatchModeDownloadMonitorTest
Downloading: null://nullnull/null
97K downloaded
java.lang.RuntimeException
        at
org.apache.maven.cli.AbstractConsoleDownloadMonitorTest.testTransferE
rror(AbstractConsoleDownloadMonitorTest.java:86)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
a:213)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:290)
        at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:818)
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec
Running org.apache.maven.plugin.version.IntervalUtilsTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
Running org.apache.maven.cli.ConsoleDownloadMonitorTest
Downloading: null://nullnull/null
0/97K
97K downloaded
java.lang.RuntimeException
        at
org.apache.maven.cli.AbstractConsoleDownloadMonitorTest.testTransferE
rror(AbstractConsoleDownloadMonitorTest.java:86)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
a:213)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:290)
        at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:818)
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest
Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.391 sec
<<< F
AILURE!
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 name
d '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 def
ault 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] NOTE: One or more purely derived expression elements were detected in
'${loc
alRepository}'.
    If you continue to get this error after any other expression elements
are sp
ecified correctly,
    please report this issue to the Maven development team.


---------------------------------------------------------------------
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] on the command line, specify:
'-Dproject.distributionManagementArtifactRepos
itory=VALUE'

---------------------------------------------------------------------
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.078 sec
Running org.apache.maven.usability.InvalidArtifactDiagnoserTest
------------------------------------------------------------
|  Test diagnosis for missing groupId
------------------------------------------------------------

An invalid artifact was detected.

This artifact might be in your project's POM, or it might have been
included tra
nsitively during the resolution process. Here is the information we do
have for
this artifact:

    o GroupID:     <<< MISSING >>>
    o ArtifactID:  test-artifact
    o Version:     1.0
    o Type:        jar

------------------------------------------------------------
|  Test diagnosis for missing artifactId
------------------------------------------------------------

An invalid artifact was detected.

This artifact might be in your project's POM, or it might have been
included tra
nsitively during the resolution process. Here is the information we do
have for
this artifact:

    o GroupID:     test.group.id
    o ArtifactID:  <<< MISSING >>>
    o Version:     1.0
    o Type:        jar

------------------------------------------------------------
|  Test diagnosis for missing version
------------------------------------------------------------

An invalid artifact was detected.

This artifact might be in your project's POM, or it might have been
included tra
nsitively during the resolution process. Here is the information we do
have for
this artifact:

    o GroupID:     test.group.id
    o ArtifactID:  test-artifact
    o Version:     <<< MISSING >>>
    o Type:        jar

------------------------------------------------------------
|  Test diagnosis for missing type
------------------------------------------------------------

An invalid artifact was detected.

This artifact might be in your project's POM, or it might have been
included tra
nsitively during the resolution process. Here is the information we do
have for
this artifact:

    o GroupID:     test.group.id
    o ArtifactID:  test-artifact
    o Version:     1.0
    o Type:        <<< MISSING >>>

------------------------------------------------------------
|  Test diagnosis for missing groupId and artifactId
------------------------------------------------------------

An invalid artifact was detected.

This artifact might be in your project's POM, or it might have been
included tra
nsitively during the resolution process. Here is the information we do
have for
this artifact:

    o GroupID:     <<< MISSING >>>
    o ArtifactID:  <<< MISSING >>>
    o Version:     1.0
    o Type:        jar

Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.406 sec
Running org.apache.maven.cli.MavenCliTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec

Results :

Failed tests:
  testTwoExpressions(org.apache.maven.plugin.PluginParameterExpressionEvaluatorT
est)

Tests run: 52, Failures: 1, Errors: 0, 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: 1 minute 4 seconds
[INFO] Finished at: Wed Jun 06 15:16:19 BST 2007
[INFO] Final Memory: 18M/38M
[INFO]
------------------------------------------------------------------------

Regards,
Graham
--



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Build of maven 2.0.x branch: test failures

Posted by Kenney Westerhof <ke...@apache.org>.

Graham Leggett wrote:
> On Wed, June 6, 2007 4:53 pm, Jason van Zyl wrote:
> 
>> Just built and it works fine. You on windows?
> 
> On windows and inside a firewall:
> 
>>> -------------------------------------------------------
>>>  T E S T S
>>> -------------------------------------------------------
>>> Running org.apache.maven.cli.BatchModeDownloadMonitorTest
>>> Downloading: null://nullnull/null
>                 ^^^^^^^^^^^^^^^^^^^^
> 
> This looks like an URL that's gone pear shaped. It may be the test falls
> off the tracks if it cannot reach the net.

I have the same output on linux, but the test passes. This isn't the test that fails
though, this is:


Running org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest
Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.391 sec <<< FAILURE! 

(later on in the output:


Results :

Failed tests:
  testTwoExpressions(org.apache.maven.plugin.PluginParameterExpressionEvaluatorT
est)

Tests run: 52, Failures: 1, Errors: 0, Skipped: 0 

)

can you give me the contents of maven-core/target/surefire-reports/org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest.txt?

Mine is:

-------------------------------------------------------------------------------
Test set: org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest
-------------------------------------------------------------------------------
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.631 sec


Cheers,

  Kenney


> 
> Regards,
> Graham
> --
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Build of maven 2.0.x branch: test failures

Posted by Graham Leggett <mi...@sharp.fm>.
On Wed, June 6, 2007 4:53 pm, Jason van Zyl wrote:

> Just built and it works fine. You on windows?

On windows and inside a firewall:

>> -------------------------------------------------------
>>  T E S T S
>> -------------------------------------------------------
>> Running org.apache.maven.cli.BatchModeDownloadMonitorTest
>> Downloading: null://nullnull/null
                ^^^^^^^^^^^^^^^^^^^^

This looks like an URL that's gone pear shaped. It may be the test falls
off the tracks if it cannot reach the net.

Regards,
Graham
--



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Build of maven 2.0.x branch: test failures

Posted by Jason van Zyl <ja...@maven.org>.
Just built and it works fine. You on windows?

On 6 Jun 07, at 10:17 AM 6 Jun 07, Graham Leggett wrote:

> Hi all,
>
> When an attempt is made to build a fresh checkout of the 2.0.x  
> branch of
> maven from
> https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x
> using maven v2.0.6, I get test failures as below:
>
> [INFO]
> ---------------------------------------------------------------------- 
> ---
> ---
> [INFO] Building Maven Core
> [INFO]    task-segment: [clean, install]
> [INFO]
> ---------------------------------------------------------------------- 
> ---
> ---
> [INFO] [clean:clean]
> [INFO] Deleting directory
> C:\Java\development\maven\maven-2.0.x\maven-core\targe
> t
> [INFO] Deleting directory
> C:\Java\development\maven\maven-2.0.x\maven-core\targe
> t\classes
> [INFO] Deleting directory
> C:\Java\development\maven\maven-2.0.x\maven-core\targe
> t\test-classes
> [INFO] Deleting directory
> C:\Java\development\maven\maven-2.0.x\maven-core\targe
> t\site
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 59 source files to
> C:\Java\development\maven\maven-2.0.x\maven-
> core\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 9 source files to
> C:\Java\development\maven\maven-2.0.x\maven-c
> ore\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> C:\Java\development\maven\maven-2.0.x\maven-co
> re\target\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.cli.BatchModeDownloadMonitorTest
> Downloading: null://nullnull/null
> 97K downloaded
> java.lang.RuntimeException
>         at
> org.apache.maven.cli.AbstractConsoleDownloadMonitorTest.testTransferE
> rror(AbstractConsoleDownloadMonitorTest.java:86)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java: 
> 124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
> a:213)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
> tSet(AbstractDirectoryTestSuite.java:138)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> stractDirectoryTestSuite.java:125)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:290)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:818)
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
> 0.094 sec
> Running org.apache.maven.plugin.version.IntervalUtilsTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
> 0.046 sec
> Running org.apache.maven.cli.ConsoleDownloadMonitorTest
> Downloading: null://nullnull/null
> 0/97K
> 97K downloaded
> java.lang.RuntimeException
>         at
> org.apache.maven.cli.AbstractConsoleDownloadMonitorTest.testTransferE
> rror(AbstractConsoleDownloadMonitorTest.java:86)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java: 
> 124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
> a:213)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
> tSet(AbstractDirectoryTestSuite.java:138)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> stractDirectoryTestSuite.java:125)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:290)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:818)
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
> 0.016 sec
> Running org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest
> Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:  
> 1.391 sec
> <<< F
> AILURE!
> 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 name
> d '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 def
> ault 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] NOTE: One or more purely derived expression elements were  
> detected in
> '${loc
> alRepository}'.
>     If you continue to get this error after any other expression  
> elements
> are sp
> ecified correctly,
>     please report this issue to the Maven development team.
>
>
> ---------------------------------------------------------------------
> 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] on the command line, specify:
> '-Dproject.distributionManagementArtifactRepos
> itory=VALUE'
>
> ---------------------------------------------------------------------
> 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.078 sec
> Running org.apache.maven.usability.InvalidArtifactDiagnoserTest
> ------------------------------------------------------------
> |  Test diagnosis for missing groupId
> ------------------------------------------------------------
>
> An invalid artifact was detected.
>
> This artifact might be in your project's POM, or it might have been
> included tra
> nsitively during the resolution process. Here is the information we do
> have for
> this artifact:
>
>     o GroupID:     <<< MISSING >>>
>     o ArtifactID:  test-artifact
>     o Version:     1.0
>     o Type:        jar
>
> ------------------------------------------------------------
> |  Test diagnosis for missing artifactId
> ------------------------------------------------------------
>
> An invalid artifact was detected.
>
> This artifact might be in your project's POM, or it might have been
> included tra
> nsitively during the resolution process. Here is the information we do
> have for
> this artifact:
>
>     o GroupID:     test.group.id
>     o ArtifactID:  <<< MISSING >>>
>     o Version:     1.0
>     o Type:        jar
>
> ------------------------------------------------------------
> |  Test diagnosis for missing version
> ------------------------------------------------------------
>
> An invalid artifact was detected.
>
> This artifact might be in your project's POM, or it might have been
> included tra
> nsitively during the resolution process. Here is the information we do
> have for
> this artifact:
>
>     o GroupID:     test.group.id
>     o ArtifactID:  test-artifact
>     o Version:     <<< MISSING >>>
>     o Type:        jar
>
> ------------------------------------------------------------
> |  Test diagnosis for missing type
> ------------------------------------------------------------
>
> An invalid artifact was detected.
>
> This artifact might be in your project's POM, or it might have been
> included tra
> nsitively during the resolution process. Here is the information we do
> have for
> this artifact:
>
>     o GroupID:     test.group.id
>     o ArtifactID:  test-artifact
>     o Version:     1.0
>     o Type:        <<< MISSING >>>
>
> ------------------------------------------------------------
> |  Test diagnosis for missing groupId and artifactId
> ------------------------------------------------------------
>
> An invalid artifact was detected.
>
> This artifact might be in your project's POM, or it might have been
> included tra
> nsitively during the resolution process. Here is the information we do
> have for
> this artifact:
>
>     o GroupID:     <<< MISSING >>>
>     o ArtifactID:  <<< MISSING >>>
>     o Version:     1.0
>     o Type:        jar
>
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
> 0.406 sec
> Running org.apache.maven.cli.MavenCliTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
> 0.078 sec
>
> Results :
>
> Failed tests:
>   testTwoExpressions 
> (org.apache.maven.plugin.PluginParameterExpressionEvaluatorT
> est)
>
> Tests run: 52, Failures: 1, Errors: 0, 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: 1 minute 4 seconds
> [INFO] Finished at: Wed Jun 06 15:16:19 BST 2007
> [INFO] Final Memory: 18M/38M
> [INFO]
> ---------------------------------------------------------------------- 
> --
>
> Regards,
> Graham
> --
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org