You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Wendy Smoak <ws...@gmail.com> on 2007/03/13 05:27:09 UTC

Test failures in maven-source-plugin

I'm seeing test failures in maven-source-plugin.  Anyone else?

On Windows w/ Maven 2.0.5:

Failed tests:
  testProject003(org.apache.maven.plugin.source.SourceJarMojoTest)
  testProject007(org.apache.maven.plugin.source.SourceJarMojoTest)
  testProject004(org.apache.maven.plugin.source.TestSourceJarMojoTest)

Tests run: 7, Failures: 3, Errors: 0, Skipped: 0

On Linux with an older version,

Running org.apache.maven.plugin.source.SourceJarMojoTest
Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 15.439
sec <<< FAILURE!
Running org.apache.maven.plugin.source.TestSourceJarMojoTest
Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 13.626
sec <<< FAILURE!

Results :
Tests run: 7, Failures: 4, Errors: 0, Skipped: 0

-- 
Wendy

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


Re: Test failures in maven-source-plugin

Posted by Franz Allan Valencia See <fr...@gmail.com>.
Good day to you, Wendy,

On Windows XP, Maven 2.0.5, maven-source-plugin -r517268 builds fine

Cheers,
Franz

On 3/12/07, Wendy Smoak <ws...@gmail.com> wrote:
> I'm seeing test failures in maven-source-plugin.  Anyone else?
>
> On Windows w/ Maven 2.0.5:
>
> Failed tests:
>   testProject003(org.apache.maven.plugin.source.SourceJarMojoTest)
>   testProject007(org.apache.maven.plugin.source.SourceJarMojoTest)
>   testProject004(org.apache.maven.plugin.source.TestSourceJarMojoTest)
>
> Tests run: 7, Failures: 3, Errors: 0, Skipped: 0
>
> On Linux with an older version,
>
> Running org.apache.maven.plugin.source.SourceJarMojoTest
> Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 15.439
> sec <<< FAILURE!
> Running org.apache.maven.plugin.source.TestSourceJarMojoTest
> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 13.626
> sec <<< FAILURE!
>
> Results :
> Tests run: 7, Failures: 4, Errors: 0, Skipped: 0
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

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


Re: Test failures in maven-source-plugin

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

Stephane Nicoll wrote:
> I don't think so. sources and ear are for sure good candidates since I
> wrote those tests. At some point, we decided to use that testing
> technique and fix remaining issues (namely the local repo first
> install story).
> 
> We need to discuss this because I'd like to work on the WAR plugin but
> I want more tests before changing anything.

MNG-2677

-- Kenney

> 
> Stéphane
> 
> On 3/14/07, Wendy Smoak <ws...@gmail.com> wrote:
>> On 3/14/07, Kenney Westerhof <ke...@apache.org> wrote:
>>
>> > The problem is that it uses the Verifier to test.
>> > The Verifier uses the plugin from the local repo, not the current 
>> project.
>> > First, mvn clean install -Dmaven.test.skip=true, then mvn test and 
>> it'll work.
>> > I noticed this today.. there's about 4 plugins that won't install 
>> cleanly because of this.
>>
>> Are the four maven-antrun-plugin, maven-eclipse-plugin,
>> maven-plugin-plugin and maven-source-plugin by any chance?  Those are
>> the four that are failing in Continuum here.
>>
>> -- 
>> Wendy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


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


Re: Test failures in maven-source-plugin

Posted by Stephane Nicoll <st...@gmail.com>.
I don't think so. sources and ear are for sure good candidates since I
wrote those tests. At some point, we decided to use that testing
technique and fix remaining issues (namely the local repo first
install story).

We need to discuss this because I'd like to work on the WAR plugin but
I want more tests before changing anything.

Stéphane

On 3/14/07, Wendy Smoak <ws...@gmail.com> wrote:
> On 3/14/07, Kenney Westerhof <ke...@apache.org> wrote:
>
> > The problem is that it uses the Verifier to test.
> > The Verifier uses the plugin from the local repo, not the current project.
> > First, mvn clean install -Dmaven.test.skip=true, then mvn test and it'll work.
> > I noticed this today.. there's about 4 plugins that won't install cleanly because of this.
>
> Are the four maven-antrun-plugin, maven-eclipse-plugin,
> maven-plugin-plugin and maven-source-plugin by any chance?  Those are
> the four that are failing in Continuum here.
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

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


Re: Test failures in maven-source-plugin

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

Wendy Smoak wrote:
> On 3/14/07, Kenney Westerhof <ke...@apache.org> wrote:
> 
>> The problem is that it uses the Verifier to test.
>> The Verifier uses the plugin from the local repo, not the current 
>> project.
>> First, mvn clean install -Dmaven.test.skip=true, then mvn test and 
>> it'll work.
>> I noticed this today.. there's about 4 plugins that won't install 
>> cleanly because of this.
> 
> Are the four maven-antrun-plugin, maven-eclipse-plugin,
> maven-plugin-plugin and maven-source-plugin by any chance?  Those are
> the four that are failing in Continuum here.
> 

Yup ;)

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


Re: Test failures in maven-source-plugin

Posted by Wendy Smoak <ws...@gmail.com>.
On 3/14/07, Kenney Westerhof <ke...@apache.org> wrote:

> The problem is that it uses the Verifier to test.
> The Verifier uses the plugin from the local repo, not the current project.
> First, mvn clean install -Dmaven.test.skip=true, then mvn test and it'll work.
> I noticed this today.. there's about 4 plugins that won't install cleanly because of this.

Are the four maven-antrun-plugin, maven-eclipse-plugin,
maven-plugin-plugin and maven-source-plugin by any chance?  Those are
the four that are failing in Continuum here.

-- 
Wendy

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


Re: Test failures in maven-source-plugin

Posted by Kenney Westerhof <ke...@apache.org>.
The problem is that it uses the Verifier to test.
The Verifier uses the plugin from the local repo, not the current project.
First, mvn clean install -Dmaven.test.skip=true, then mvn test and it'll work.
I noticed this today.. there's about 4 plugins that won't install cleanly because of this.

-- Kenney

Jason van Zyl wrote:
> 
> On 13 Mar 07, at 1:30 AM 13 Mar 07, Stephane Nicoll wrote:
> 
>> Weird. Can you paste the surefire logs please?
>>
> 
> I believe they are caused by the testing harness. I too get failures but 
> have been using it to make the embedder source jar for 10 bundles or so. 
> I was just going to switch it off the test harness for the next release.
> 
> Jason.
> 
>> On 3/13/07, Wendy Smoak <ws...@gmail.com> wrote:
>>> I'm seeing test failures in maven-source-plugin.  Anyone else?
>>>
>>> On Windows w/ Maven 2.0.5:
>>>
>>> Failed tests:
>>>   testProject003(org.apache.maven.plugin.source.SourceJarMojoTest)
>>>   testProject007(org.apache.maven.plugin.source.SourceJarMojoTest)
>>>   testProject004(org.apache.maven.plugin.source.TestSourceJarMojoTest)
>>>
>>> Tests run: 7, Failures: 3, Errors: 0, Skipped: 0
>>>
>>> On Linux with an older version,
>>>
>>> Running org.apache.maven.plugin.source.SourceJarMojoTest
>>> Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 15.439
>>> sec <<< FAILURE!
>>> Running org.apache.maven.plugin.source.TestSourceJarMojoTest
>>> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 13.626
>>> sec <<< FAILURE!
>>>
>>> Results :
>>> Tests run: 7, Failures: 4, Errors: 0, Skipped: 0
>>>
>>> -- 
>>> Wendy
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

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


Re: Test failures in maven-source-plugin

Posted by Jason van Zyl <ja...@maven.org>.
On 13 Mar 07, at 1:30 AM 13 Mar 07, Stephane Nicoll wrote:

> Weird. Can you paste the surefire logs please?
>

I believe they are caused by the testing harness. I too get failures  
but have been using it to make the embedder source jar for 10 bundles  
or so. I was just going to switch it off the test harness for the  
next release.

Jason.

> On 3/13/07, Wendy Smoak <ws...@gmail.com> wrote:
>> I'm seeing test failures in maven-source-plugin.  Anyone else?
>>
>> On Windows w/ Maven 2.0.5:
>>
>> Failed tests:
>>   testProject003(org.apache.maven.plugin.source.SourceJarMojoTest)
>>   testProject007(org.apache.maven.plugin.source.SourceJarMojoTest)
>>   testProject004 
>> (org.apache.maven.plugin.source.TestSourceJarMojoTest)
>>
>> Tests run: 7, Failures: 3, Errors: 0, Skipped: 0
>>
>> On Linux with an older version,
>>
>> Running org.apache.maven.plugin.source.SourceJarMojoTest
>> Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:  
>> 15.439
>> sec <<< FAILURE!
>> Running org.apache.maven.plugin.source.TestSourceJarMojoTest
>> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:  
>> 13.626
>> sec <<< FAILURE!
>>
>> Results :
>> Tests run: 7, Failures: 4, Errors: 0, Skipped: 0
>>
>> --
>> Wendy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


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


Re: Test failures in maven-source-plugin

Posted by Stephane Nicoll <st...@gmail.com>.
Weird. Can you paste the surefire logs please?

On 3/13/07, Wendy Smoak <ws...@gmail.com> wrote:
> I'm seeing test failures in maven-source-plugin.  Anyone else?
>
> On Windows w/ Maven 2.0.5:
>
> Failed tests:
>   testProject003(org.apache.maven.plugin.source.SourceJarMojoTest)
>   testProject007(org.apache.maven.plugin.source.SourceJarMojoTest)
>   testProject004(org.apache.maven.plugin.source.TestSourceJarMojoTest)
>
> Tests run: 7, Failures: 3, Errors: 0, Skipped: 0
>
> On Linux with an older version,
>
> Running org.apache.maven.plugin.source.SourceJarMojoTest
> Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 15.439
> sec <<< FAILURE!
> Running org.apache.maven.plugin.source.TestSourceJarMojoTest
> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 13.626
> sec <<< FAILURE!
>
> Results :
> Tests run: 7, Failures: 4, Errors: 0, Skipped: 0
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

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