[MNG-4385] Avoid failse positive for unrelated errors

Inspect the log to be confident that this build is failing because
the extension hasn't carried over to the second module.

This closes #44
This commit is contained in:
Joseph Walton 2019-07-03 22:15:32 +10:00 committed by Michael Osipov
parent e5141f6cf0
commit b4a1558c6e
5 changed files with 8 additions and 4 deletions

View File

@ -232,7 +232,7 @@ public class MavenITmng2576MakeLikeReactorTest
}
/**
* Verify that the project list can also specify aritfact ids.
* Verify that the project list can also specify artifact ids.
*/
public void testitMatchesByArtifactId()
throws Exception

View File

@ -58,6 +58,10 @@ public class MavenITmng4385LifecycleMappingFromExtensionInReactorTest
catch( VerificationException e )
{
// expected, should fail
String msg = e.getMessage();
assertTrue( "Failure should be due to unknown packaging", msg.contains( "Unknown packaging: it-packaging" ));
assertTrue( "Failure should be due to sub-b project", msg.contains( "The project org.apache.maven.its.mng4385:sub-b:0.1" ));
}
verifier.resetStreams();
}

View File

@ -231,7 +231,7 @@ public class MavenITmng5230MakeReactorWithExcludesTest
}
/**
* Verify that the project list exclude can also specify aritfact ids.
* Verify that the project list exclude can also specify artifact ids.
*/
public void testitMatchesByArtifactIdExclude()
throws Exception

View File

@ -29,7 +29,7 @@ under the License.
<name>Maven Integration Test Plugin :: Packaging</name>
<description>
A test plugin that defines a custom aritfact handler ("it-artifact") and a new packaging type ("it-packaging").
A test plugin that defines a custom artifact handler ("it-artifact") and a new packaging type ("it-packaging").
</description>
<inceptionYear>2006</inceptionYear>

View File

@ -33,7 +33,7 @@ under the License.
<name>Maven IT Plugin :: Packaging</name>
<description>
A test plugin that defines a custom aritfact handler ("it-artifact") and a new packaging type ("it-packaging").
A test plugin that defines a custom artifact handler ("it-artifact") and a new packaging type ("it-packaging").
</description>
<inceptionYear>2006</inceptionYear>