On 3 Jun 07, at 12:11 PM 3 Jun 07, Stephane Nicoll wrote:
Oups. I thought that the prepare goal was using the embedder (at least
it forks another mvn process).
Yes, one of the many custom executors. We'll line them all up.
Stéphane
On 6/3/07, Jason van Zyl <[EMAIL PROTECTED]> wrote:
On 3 Jun 07, at 5:09 AM 3 Jun 07, Stephane Nicoll wrote:
> Someone working on the embedder can have a look to it? A simple mvn
> release:prepare will do it.
>
Why does the embedder have anything to do with this. The release
plugin started using the embedder in the tests?
> This release would be handy btw, it has nice features compared
to 2.0
>
> Stéphane
>
> On 5/31/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
>> Hi
>>
>> I'm preparing to release maven-idea-plugin, but I ran into trouble
>> running the tests. I've tried both Maven 2.0.5 and 2.0.6 on
Windows,
>> against the svn trunk of maven-idea-plugin.
>>
>> If I run "mvn test" all tests pass.
>>
>> But if I run "mvn release:prepare -DdryRun=true" the tests fail
>> with the
>> following message:
>>
>> java.lang.NoClassDefFoundError:
>> org/codehaus/classworlds/NoSuchRealmException
>> at
>> org.codehaus.plexus.PlexusTestCase.createContainerInstance
>> (PlexusTestCase.java:126)
>> at org.codehaus.plexus.PlexusTestCase.setUp
>> (PlexusTestCase.java:91)
>> at
>> org.apache.maven.plugin.testing.AbstractMojoTestCase.setUp
>> (AbstractMojoTestCase.java:62)
>> at junit.framework.TestCase.runBare(TestCase.java:125)
>> 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:324)
>> at
>> org.apache.maven.surefire.junit.JUnitTestSet.execute
>> (JUnitTestSet.java:213)
>> at
>>
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
>> tSet(AbstractDirectoryTestSuite.java:138)
>> at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute
>> (AbstractDirectoryTestSuite.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
>> (DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:324)
>> at
>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess
>> (SurefireBooter.java:290)
>> at
>> org.apache.maven.surefire.booter.SurefireBooter.main
>> (SurefireBooter.java:818)
>> at
>> org.apache.maven.surefire.booter.SurefireBooter.main
>> (SurefireBooter.java:818)
>>
>>
>> Does anyone have a clue to what might be wrong?
>>
>> --
>> Dennis Lundberg
>>
>>
---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]