You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jason van Zyl <ja...@maven.org> on 2008/07/06 17:29:17 UTC

Re: svn commit: r674307 - /maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0081Test.java

You may also just want to try and clean that test up:

http://docs.codehaus.org/display/MAVEN/IT+Problems

it0081 is listed in there.

On 6-Jul-08, at 11:20 AM, brett@apache.org wrote:

> Author: brett
> Date: Sun Jul  6 08:20:18 2008
> New Revision: 674307
>
> URL: http://svn.apache.org/viewvc?rev=674307&view=rev
> Log:
> try deleting the installed plugin before build
>
> Modified:
>    maven/core-integration-testing/trunk/core-integration-tests/src/ 
> test/java/org/apache/maven/integrationtests/MavenIT0081Test.java
>
> Modified: maven/core-integration-testing/trunk/core-integration- 
> tests/src/test/java/org/apache/maven/integrationtests/ 
> MavenIT0081Test.java
> URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0081Test.java?rev=674307&r1=674306&r2=674307&view=diff
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- maven/core-integration-testing/trunk/core-integration-tests/src/ 
> test/java/org/apache/maven/integrationtests/MavenIT0081Test.java  
> (original)
> +++ maven/core-integration-testing/trunk/core-integration-tests/src/ 
> test/java/org/apache/maven/integrationtests/MavenIT0081Test.java Sun  
> Jul  6 08:20:18 2008
> @@ -17,6 +17,7 @@
>     {
>         File testDir =  
> ResourceExtractor.simpleExtractResources( getClass(), "/it0081" );
>         Verifier verifier = new Verifier( testDir.getAbsolutePath() );
> +        verifier.deleteArtifact( "org.apache.maven.its.it0081",  
> "test-plugin", "0.1", "maven-plugin" );
>         verifier.executeGoal( "install" );
>         verifier.assertFilePresent( "test-component-c/target/ 
> org.apache.maven.wagon.providers.ftp.FtpWagon" );
>         verifier.verifyErrorFreeLog();
>
>

Thanks,

Jason

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

First, the taking in of scattered particulars under one Idea,
so that everyone understands what is being talked about ... Second,
the separation of the Idea into parts, by dividing it at the joints,
as nature directs, not breaking any limb in half as a bad carver might.

   -- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander)


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


Re: svn commit: r674307 - /maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0081Test.java

Posted by Brett Porter <br...@apache.org>.
Yeah, I noticed that too. It's unrelated to the current problem (which  
seems to be fixed by doing the deletion), so I haven't changed it  
immediately - but if these stay stable I'll come back and change it to  
use an it-built artifact instead.

- Brett

On 07/07/2008, at 1:29 AM, Jason van Zyl wrote:

> You may also just want to try and clean that test up:
>
> http://docs.codehaus.org/display/MAVEN/IT+Problems
>
> it0081 is listed in there.
>
> On 6-Jul-08, at 11:20 AM, brett@apache.org wrote:
>
>> Author: brett
>> Date: Sun Jul  6 08:20:18 2008
>> New Revision: 674307
>>
>> URL: http://svn.apache.org/viewvc?rev=674307&view=rev
>> Log:
>> try deleting the installed plugin before build
>>
>> Modified:
>>   maven/core-integration-testing/trunk/core-integration-tests/src/ 
>> test/java/org/apache/maven/integrationtests/MavenIT0081Test.java
>>
>> Modified: maven/core-integration-testing/trunk/core-integration- 
>> tests/src/test/java/org/apache/maven/integrationtests/ 
>> MavenIT0081Test.java
>> URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0081Test.java?rev=674307&r1=674306&r2=674307&view=diff
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> =====================================================================
>> --- maven/core-integration-testing/trunk/core-integration-tests/src/ 
>> test/java/org/apache/maven/integrationtests/MavenIT0081Test.java  
>> (original)
>> +++ maven/core-integration-testing/trunk/core-integration-tests/src/ 
>> test/java/org/apache/maven/integrationtests/MavenIT0081Test.java  
>> Sun Jul  6 08:20:18 2008
>> @@ -17,6 +17,7 @@
>>    {
>>        File testDir =  
>> ResourceExtractor.simpleExtractResources( getClass(), "/it0081" );
>>        Verifier verifier = new Verifier( testDir.getAbsolutePath() );
>> +        verifier.deleteArtifact( "org.apache.maven.its.it0081",  
>> "test-plugin", "0.1", "maven-plugin" );
>>        verifier.executeGoal( "install" );
>>        verifier.assertFilePresent( "test-component-c/target/ 
>> org.apache.maven.wagon.providers.ftp.FtpWagon" );
>>        verifier.verifyErrorFreeLog();
>>
>>
>
> Thanks,
>
> Jason
>
> ----------------------------------------------------------
> Jason van Zyl
> Founder,  Apache Maven
> jason at sonatype dot com
> ----------------------------------------------------------
>
> First, the taking in of scattered particulars under one Idea,
> so that everyone understands what is being talked about ... Second,
> the separation of the Idea into parts, by dividing it at the joints,
> as nature directs, not breaking any limb in half as a bad carver  
> might.
>
>  -- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


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