Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maven install phase prevented if there are failures #23

Merged
merged 1 commit into from
Sep 25, 2016

Conversation

iantmoore
Copy link
Member

Last release the running and reporting was split into two mojos with exceptions added to the MavenSession (session.getResult().addException(e) ) - this resulted in the maven install phase running when there are test failures. This MR fixes that. The runner mojo will stash the exception in the maven session if the goals include verify, install or deploy, the report mojo will then throw if an exception is found.

@iantmoore iantmoore merged commit c76a7c0 into Substeps:master Sep 25, 2016
@iantmoore iantmoore deleted the substeps-maven-test-fail-build branch September 25, 2016 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant