mirror of https://github.com/apache/maven.git
[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:
parent
e5141f6cf0
commit
b4a1558c6e
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue