You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/04/12 17:50:46 UTC

[jira] Closed: (SUREFIRE-302) Inconsistent surefire artifacts are being brought into the chain causing configuration problems

     [ http://jira.codehaus.org/browse/SUREFIRE-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed SUREFIRE-302.
---------------------------------

      Assignee: Brett Porter
    Resolution: Cannot Reproduce

I believe this was pre-swizzling plexus-utils. Works now.

> Inconsistent surefire artifacts are being brought into the chain causing configuration problems
> -----------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-302
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-302
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Jason van Zyl
>            Assignee: Brett Porter
>             Fix For: 2.3.1
>
>
> A by product of forking being turned on in the Maven Embedder tests I can see that it's looking for the "executable" field which doesn't exist in 2.2. The POMs need to be checked and really be updated to use depMan so we can control everything from a top level directory.
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.025 sec <<< FAILURE!                                                                                                             
> testEmbedderWillStillStartupWhenTheSettingsConfigurationIsCrap(org.apache.maven.embedder.MavenEmbedderCrappySettingsConfigurationTest)  Time elapsed: 1.015 sec  <<< ERROR!                        
> java.lang.NoSuchFieldError: executable                                                                                                                                                             
>         at org.apache.maven.surefire.booter.Commandline.getShellCommandline(Commandline.java:79)                                                                                                   
>         at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:625)                                                                                                                  
>         at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:102)                                                                                             
>         at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:89)                                                                                              
>         at org.apache.maven.surefire.booter.SurefireBooter.fork(SurefireBooter.java:553)                                                                                                           
>         at org.apache.maven.surefire.booter.SurefireBooter.forkSuites(SurefireBooter.java:412)                                                                                                     
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesForkOnce(SurefireBooter.java:312)                                                                                              
>         at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:202)                                                                                                            
>         at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:398)                                                                                                        
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:598)                                                                                                 
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:499)                                                                                     
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:440)                                                                         
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:419)                                                                                      
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:271)                                                                     
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:238)                                                                              
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:146)                                                                                          
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:303)                                                                                                                          
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)                                                                                                                            
>         at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:903)                                                                                                                 
>         at org.apache.maven.embedder.MavenEmbedderCrappySettingsConfigurationTest.testEmbedderWillStillStartupWhenTheSettingsConfigurationIsCrap(MavenEmbedderCrappySettingsConfigurationTest.java:
>         at org.apache.maven.embedder.MavenEmbedderCrappySettingsConfigurationTest.testEmbedderWillStillStartupWhenTheSettingsConfigurationIsCrap(MavenEmbedderCrappySettingsConfigurationTest.java:
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                                                                                                                             
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)                                                                                                           
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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(DelegatingMethodAccessorImpl.java:25)                                                                                                   
>         at java.lang.reflect.Method.invoke(Method.java:585)                                          

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira