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-301) Surefire is forking when it's not
requested
[ http://jira.codehaus.org/browse/SUREFIRE-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed SUREFIRE-301.
---------------------------------
Assignee: Brett Porter
Resolution: Cannot Reproduce
forkMode defaults to once. Mojo defaults are not output in the effective POM.
> Surefire is forking when it's not requested
> -------------------------------------------
>
> Key: SUREFIRE-301
> URL: http://jira.codehaus.org/browse/SUREFIRE-301
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.3
> Reporter: Jason van Zyl
> Assignee: Brett Porter
> Fix For: 2.3.1
>
>
> Even using help:effective POM there is no mention of forking but this is happening:
> 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