Github user rajivpjs commented on the issue:

    https://github.com/apache/maven/pull/88
  
    I agree.
    
    I have applied the following to the test class:
    
    @Rule
        private ExpectedException expectedException = ExpectedException.none();
    
    Within the test I have added:
    
    expectedException.expect(ModelBuildingException.class);
                expectedException.expectMessage("Failed due to exists and 
missing properties are enabled for profile exists-missing-condition");
                builder.build( request );
    
    However, the expectedException is not been triggered. Whatever, I do to 
expectedException nothing seems to trigger the Exception. Do you know if I am 
missing anything?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to