Running with the default profile mvn clean package results with
testGetSubResourceWithCorrectCredentials(org.javaee7.jaxrs.security.declarative.MyResourceTest) Time elapsed: 0.415 sec <<< FAILURE!
java.lang.AssertionError: Basic authentication required: {realm="file"}
at org.junit.Assert.fail(Assert.java:88)
at org.javaee7.jaxrs.security.declarative.MyResourceTest.testGetSubResourceWithCorrectCredentials(MyResourceTest.java:70)
testGetWithCorrectCredentials(org.javaee7.jaxrs.security.declarative.MyResourceTest) Time elapsed: 0.054 sec <<< FAILURE!
java.lang.AssertionError: Basic authentication required: {realm="file"}
at org.junit.Assert.fail(Assert.java:88)
at org.javaee7.jaxrs.security.declarative.MyResourceTest.testGetWithCorrectCredentials(MyResourceTest.java:55)
Results :
Failed tests:
MyResourceTest.testGetSubResourceWithCorrectCredentials:70 Basic authentication required: {realm="file"}
MyResourceTest.testGetWithCorrectCredentials:55 Basic authentication required: {realm="file"}
If the test required some special setup which cannot be automated as a part of a build it should at least be documented in the module's README.
Running with the default profile
mvn clean packageresults withIf the test required some special setup which cannot be automated as a part of a build it should at least be documented in the module's README.