apache / apache/maven-invoker-plugin

[MINVOKER-229] Add a property in invoker.properties to check the failed mojo

Open
#503 5 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
22
Forks
35
Avg merge
3d 4h
Merged PRs (30d)
6

Description

**[Romain Manni-Bucau](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=romain.manni-bucau)** opened **[MINVOKER-229](https://issues.apache.org/jira/browse/MINVOKER-229?redirect=false)** and commented

using invoker.buildResult = failure we can check a plugin failed but there is no property to also check which mojo failed.

Issue is you can pass a test where the build failed for another reason than the expected one.

---
No further details from [MINVOKER-229](https://issues.apache.org/jira/browse/MINVOKER-229?redirect=false)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating how invoker.properties is read and how invoker.buildResult evaluates a failed build. Determine how a property could identify the failed mojo and distinguish the expected failure from unrelated build errors; done means invoker tests can reject a failure caused by the wrong mojo.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.